Apify

Getting Started with Apify

The Apify modules allow you to monitor and run actors and tasks, or fetch dataset items in your Apify account.

Prerequisites

  • An Apify account

In order to use Apify with Integromat, it is necessary to have an Apify account. If you do not have one, you can create an Apify account at my.apify.com.

The module dialog fields that are displayed in bold (in the Integromat scenario, not in this documentation article) are mandatory!

Connecting Apify to Integromat

To connect your Apify account to Integromat you need to obtain the User ID and the API Token for triggers/webhooks or just API Token for actions and searches.

1. Log in to your Apify account.

2. Go to Account settings.

3. Open the Integrations tab.

nBdODuBmgO.gif

4. Click on the eye icon to show the API Token.

2019-07-23_16_58_23-Window.png

5. Go to Integromat and open the Create a connection dialog of the desired Apify module.

6. Insert the User ID and the API token into the respective fields and click the Continue button.

For Apify triggers both, User ID and API token are needed. For actions and searches, only the API token is needed.

The connection is now established and you can proceed with the setting up of the module.

Triggers

Watch Actor Runs

Triggers when a selected actor run is finished.

Webhook name Enter the desired name for the webhook. E.g. Finished Web Scraper Run.
Connection Establish a connection to your Apify account.
Actor Select the Actor you want to monitor for finished runs.

Watch Task Runs

Triggers when a selected task run is finished.

Webhook name Enter the desired name for the webhook. E.g. Finished Web Scraper Run.
Connection Establish a connection to your Apify account.
Actor Select the Actor you want to monitor for finished runs.

Actions

Run a Task

Runs a selected actor task.

Connection Establish a connection to your Apify account.
Task Select or map the task you want to run.
Run synchronously Integromat will wait until the task run is finished. Beware that the maximum timeout for the run is 120 seconds.
Input JSON overrides

Here you can enter a JSON object to override the task input configuration. Only the provided fields will be overridden, the rest will be left unchanged.

You can see the JSON task input configuration when you switch from Editor to Raw display of the input configuration.

YXi8vnSfn0.gif        

Run an Actor

Runs a selected actor.

Connection Establish a connection to your Apify account.
Actor Select or map the ID of the actor you want to run.
Run synchronously Integromat will wait until the task run is finished. Beware that the maximum timeout for the run is 120 seconds.
Input JSON 

Here you can enter a JSON object to override the actor default configuration. Only the provided fields will be overridden, the rest will be left unchanged.

You can see the JSON actor input configuration when you switch from Editor to Raw display of the input configuration.

PnMXYdYMRU.gif       

Build

Specify the actor build to run. It can be either a build tag or build number. By default, the run uses the build specified in the default run configuration for the actor (typically 'latest').

Timeout

Enter the timeout for the run in seconds. By default, the run uses a timeout specified in the default run configuration for the actor.

Memory

Select or enter memory limit for the run, in megabytes. By default, the run uses a memory limit specified in the default run configuration for the actor.

Searches

Get Dataset Items

Retrieves items from a dataset.

Connection Establish a connection to your Apify account.
Dataset ID Enter the ID of the dataset you want to retrieve items from.
Data transformation

Select a type of data transformation.

  • Clean - it returns only non-empty items and skips hidden fields (fields starting with the # character).
  • Simplified - it formats items to emulate simplified results provided by the Legacy Apify Crawler product.
Format Select the format of the dataset items.
Limit Set the maximum number of items Integromat will return during one execution cycle.
Offset Enter the number of items to skip.

For more detailed information about the rest of the module functions, please refer to the APIFY Docs.

Popular use cases from our blog

automated-data-collection-crm-illustration

How to Automate Data Collection - Part 5: CRM Systems

automated-data-collection-chatbot-marketing-illustration

How to Automate Data Collection - Part 4: Chatbot Marketing

automated-data-collection-paid-ads-illustration

How to Automate Data Collection - Part 3: Paid Ads

automated-data-collection-email-illustration

How to Automate Data Collection - Part 2: Email Marketing Segmentation

personalized-customer-experience-illustration-integromat

5 Automated Solutions to Personalize Customer Experience

data-collection-automation-forms-pt-1

How to Automate Data Collection - Part 1: Online Forms

Didn’t find what you were looking for?

Expert

Find an expert

We feature a network of 450+ certified partners across the globe who are ready to help

Find an expert

Automate any workflow in your business

Sign up for a free account today. No credit card required, no time limits on free plan.