Apify Results Query
SKILL.md
Available Context
@_platform-references/org-variables.md
Apify Results Query
Goal
Query and filter mapped results from completed Apify actor runs using natural language filters.
Required Capabilities
- Apify API: Results stored in
apify_results/apify_mapped_recordstables, queried viaapify-adminedge function
Inputs
run_id: Optional run ID (defaults to most recent completed run)filter_description: Natural language filter criteriacolumns: Optional column selectionlimit: Row limit (default 50)
Execution
- If no
run_idprovided, fetch the most recent completed run for the user's organization - Translate
filter_descriptioninto SQL-compatible filters onapify_mapped_records - Call
apify-adminwithaction: 'query_results', run ID, and filters - Present results as a table with GDPR flags highlighted
- Offer follow-up actions: "export to CSV", "push to CRM", "push to Instantly"
GDPR Handling
Results may contain personal email flags (is_personal_email). When present:
- Show a warning badge on flagged rows
- Suggest the user review before exporting or pushing to outbound tools
- Count and display total flagged records
Output Contract
Return a table with the mapped columns from the actor run, plus:
- GDPR Flag column (if personal emails detected)
- Total count and page info