skills/sixtysecondsapp/use60/Apify Run Trigger

Apify Run Trigger

SKILL.md

Available Context

@_platform-references/org-variables.md

Apify Run Trigger

Goal

Translate natural language scraping instructions into Apify actor input configuration, preview the cost, and start the run on user confirmation.

Required Capabilities

  • Apify API: Actor run management via apify-admin edge function

Inputs

  • actor_id: Which actor to run
  • input_description: Natural language description of the job
  • urls: Optional list of target URLs
  • max_results: Optional result cap
  • memory_mb: Optional memory override

Execution

  1. Translate the user's natural language description into the actor's expected input JSON schema
  2. Preview the configuration and estimated cost to the user (simulation mode)
  3. On confirmation, call apify-admin with action: 'start_run', the actor ID, and constructed input
  4. Return the run ID and initial status
  5. Inform user they can check status later with "check my Apify run"

Confirmation Pattern

This skill uses the preview-then-confirm pattern:

  • First call with is_simulation: true shows the constructed input and cost estimate
  • User confirms with "yes", "go ahead", "confirm"
  • Second call with is_simulation: false triggers the actual run

Output Contract

Return:

  • Run ID, Actor, Status, Memory (MB), Estimated Cost
  • Link to monitor the run in the Apify console
Weekly Installs
0
First Seen
Jan 1, 1970