Skip to main content

Apify Actions and Triggers in Workflows

Kyrios Apify actions and triggers connect Workflows with Apify so automations can run data collection jobs, respond when Apify jobs finish, and use returned data in later workflow steps.

What Apify Does in Workflows

Apify connects external scraping and data collection jobs to Kyrios Workflows.

Apify triggers start a Kyrios workflow after an Apify run finishes.

Apify actions let Kyrios send work to Apify or retrieve Apify results during a workflow.


Prerequisites

Before using Apify in Workflows, confirm that:

  • You have access to Automation β†’ Workflows

  • You have an Apify account

  • You have permission to connect integrations

  • Premium workflow usage may apply


Connect Apify from Settings

Use this method when you want to connect Apify before building a workflow.

  1. Go to Settings

  2. Select Integrations

  3. Find Apify

  4. Click Connect

  5. Authorize the Apify connection

Open a Workflow

Use this path to open the workflow where Apify will be used.

  1. Go to Automation

  2. Select Workflows

  3. Open an existing workflow or create a new workflow


Connect Apify from a Workflow Step

If Apify is not already connected, Kyrios displays Connect now when you select an Apify trigger or action.

  1. Add an Apify trigger or action

  2. Click Connect now

  3. Authorize Apify

  4. Return to the workflow step

  5. Continue configuring the trigger or action


Available Apify Triggers

Apify triggers start a workflow after activity finishes in Apify.

Trigger

What It Does

Finished Actor Run

Starts the workflow when an Apify actor run finishes

Finished Task Run

Starts the workflow when an Apify task run finishes


Add an Apify Trigger

Use an Apify trigger when Kyrios should wait for Apify activity to finish before the workflow starts.

  1. Click Add New Trigger

  2. Search for Apify

  3. Select Apify

  4. Choose Finished Actor Run or Finished Task Run

  5. Configure the required Apify fields

  6. Save the trigger

Test an Apify Trigger

Testing confirms that Kyrios can receive Apify trigger data.

  1. Configure the Apify trigger

  2. Click Find New Records

  3. Wait for Kyrios to fetch the sample data

  4. Review the trigger data response

  5. Click Save Trigger

Use the returned data for mapping values into later workflow steps.

Available Apify Actions

Apify actions let Kyrios send requests to Apify or retrieve Apify results.

Action

What It Does

Run A Task

Runs a predefined Apify task

Run An Actor

Starts an Apify actor

Scrape Single URL

Extracts data from one webpage

Fetch Dataset Items

Retrieves dataset results from Apify

Find Last Task Run

Finds the most recent task run

Find Last Actor Run

Finds the most recent actor run

Fetch Key-Value Store Record

Retrieves a record from Apify key-value storage

Set Key-Value Store Record

Saves a record to Apify key-value storage

Add an Apify Action

Use an Apify action when a Kyrios workflow should send work to Apify or retrieve Apify data.

  1. Click the + icon where the action should run

  2. Search for Apify

  3. Select the Apify action

  4. Configure the required fields

  5. Save the action

Use a Wait Step Before Fetching Results

Use a Wait step when a workflow starts an Apify actor or task and later needs the result.

This gives Apify time to finish before Kyrios runs actions such as:

  • Fetch Dataset Items

  • Find Last Task Run

  • Find Last Actor Run

Without a Wait step, the workflow may try to fetch results before Apify finishes processing.

Use Case: Local Business Lead Generation

Goal: Add scraped business leads into Kyrios and start outreach.

Workflow structure:

  1. Trigger: Finished Actor Run

  2. Action: Fetch Dataset Items

  3. Action: Create Contact

  4. Action: Send Email

Example:

An Apify actor collects local business leads. When the actor run finishes, Kyrios fetches the dataset, creates contacts, and sends an outreach email.

Use Case: Competitor Monitoring and Team Alerts

Goal: Notify the team when Apify returns monitored website data.

Workflow structure:

  1. Trigger: Finished Actor Run

  2. Action: Fetch Dataset Items

  3. Action: Internal Notification

Example:

An Apify actor monitors a competitor website. When the run finishes, Kyrios fetches the dataset and sends an internal notification to the team.

Common Issues and Fixes

Apify does not appear in the workflow builder

Connect Apify from Settings β†’ Integrations, then reload the workflow builder and search again.

Kyrios asks me to connect Apify inside the workflow

Click Connect now in the Apify step and authorize the integration before saving the trigger or action.

No data is returned from Apify

Confirm that the Apify run completed successfully.

Add a Wait step before fetching returned data, then test again with a small sample.

Trigger data is not available for mapping

Run the trigger test again and confirm Kyrios fetched a successful trigger data response.

The Apify action fails

Check Execution Logs for the failed step. Common causes include missing authorization, incorrect Apify configuration, or trying to fetch results before a run finishes.

FAQ

What is the difference between Apify triggers and Apify actions?

Apify triggers start a Kyrios workflow when an Apify actor or task finishes. Apify actions run inside a Kyrios workflow to start Apify work or retrieve Apify data.

Where do I connect Apify?

You can connect Apify from Settings β†’ Integrations or from an Apify trigger or action inside the workflow builder.

Should I use Finished Actor Run or Finished Task Run?

Use Finished Actor Run when the workflow should start after an Apify actor finishes. Use Finished Task Run when the workflow should start after a saved Apify task finishes.

How do I handle large Apify datasets?

Use Fetch Dataset Items after the Apify run finishes. Add a Wait step before fetching data when the same workflow starts the actor or task.

Are Apify workflow steps billed?

Apify usage may include charges from Apify. Kyrios premium workflow usage may also apply depending on your account setup.

What should I do if no Apify data is returned?

Confirm the Apify run completed, verify the selected action, add a Wait step if needed, and test with a small sample.

Did this answer your question?