AACFlow

Apify

Run Apify actors and retrieve results

Usage Instructions

Integrate Apify into your workflow. Run any Apify actor with custom input and retrieve results. Supports both synchronous and asynchronous execution with automatic dataset fetching.

Tools

apify_run_actor_sync

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
actorIdstringYesActor ID or username/actor-name. Examples: "apify/web-scraper", "janedoe/my-actor", "moJRLRc85AitArpNN"
inputstringNoActor input as JSON string. Example: {"startUrls": [{"url": "https://example.com"\}\], "maxPages": 10}
memorynumberNoMemory in megabytes allocated for the actor run (128-32768). Example: 1024 for 1GB, 2048 for 2GB
timeoutnumberNoTimeout in seconds for the actor run. Example: 300 for 5 minutes, 3600 for 1 hour
buildstringNoActor build to run. Examples: "latest", "beta", "1.2.3", "build-tag-name"

Output

ParameterTypeDescription
successbooleanWhether the actor run succeeded
runIdstringAPIFY run ID
statusstringRun status (SUCCEEDED, FAILED, etc.)
itemsarrayDataset items (if completed)

apify_run_actor_async

Input

ParameterTypeRequiredDescription
apiKeystringYesNo description
actorIdstringYesActor ID or username/actor-name. Examples: "apify/web-scraper", "janedoe/my-actor", "moJRLRc85AitArpNN"
inputstringNoActor input as JSON string. Example: {"startUrls": [{"url": "https://example.com"\}\], "maxPages": 10}
waitForFinishnumberNoNo description
itemLimitnumberNoNo description
memorynumberNoMemory in megabytes allocated for the actor run (128-32768). Example: 1024 for 1GB, 2048 for 2GB
timeoutnumberNoTimeout in seconds for the actor run. Example: 300 for 5 minutes, 3600 for 1 hour
buildstringNoActor build to run. Examples: "latest", "beta", "1.2.3", "build-tag-name"

Output

ParameterTypeDescription
successbooleanWhether the actor run succeeded
runIdstringAPIFY run ID
statusstringRun status (SUCCEEDED, FAILED, etc.)
datasetIdstringDataset ID containing results
itemsarrayDataset items (if completed)

On this page

Start building today
Trusted by over 100,000 builders.
The SaaS platform to build AI agents and run your agentic workforce.
Get started