Skip to content

Commit fd5c366

Browse files
committed
feat: add ifttt docs
1 parent f007758 commit fd5c366

File tree

8 files changed

+123
-0
lines changed

8 files changed

+123
-0
lines changed
55.9 KB
Loading
58.7 KB
Loading
55.3 KB
Loading
47.5 KB
Loading
29.8 KB
Loading
58 KB
Loading
36.8 KB
Loading
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
---
2+
title: IFTTT integration
3+
description: Connect Apify Actors with IFTTT to automate workflows using actor run events, data queries, and task actions.
4+
sidebar_label: IFTTT
5+
sidebar_position: 6
6+
slug: /integrations/ifttt
7+
---
8+
9+
**Learn how to integrate your Apify Actors in IFTTT Applets.**
10+
11+
This guide explains how to use the Apify integration in IFTTT to build automations (Applets) triggered by actor or task runs and start new runs automatically.
12+
13+
An Applet is built from three key parts: a trigger that kicks off the workflow, optional queries that fetch the data, and one or more actions that execute when the Applet runs.
14+
15+
---
16+
17+
With [Apify integration for IFTTT](https://ifttt.com/apify), you can connect your Apify Actors to hundreds of services like Twitter, Gmail, Google Sheets, Slack, and more.
18+
19+
Your Applets can start Apify Actors or tasks, fetch items from a dataset and get records from key-value stores.
20+
21+
## Connect Apify with IFTTT
22+
23+
To use the Apify integration on IFTTT, you will need to:
24+
25+
- Have an [Apify account](https://console.apify.com/).
26+
- Have an [IFTTT account](https://ifttt.com/).
27+
28+
To connect to Apify service:
29+
30+
- visit [Apify service page](https://ifttt.com/apify)
31+
- click "Connect" button
32+
- you will be redirected to the Apify login page
33+
- login to your Apify console
34+
35+
![Apify Connect Service](../images/ifttt-connect-service.png)
36+
37+
### Step 1: Create an Applet with Apify service
38+
39+
To create an Applet, go to the [Explore](https://ifttt.com/explore) section and find the "Create" button.
40+
41+
In the create Applet form, you can choose whether you want to use Apify as the trigger or action.
42+
43+
Click on "Add" button in "If This" part of the applet and find Apify using the search box.
44+
45+
![Apify Choose Service](../images/ifttt-choose-service.png)
46+
47+
Then select which trigger you want to use.
48+
49+
![Apify Choose Trigger](../images/ifttt-choose-trigger.png)
50+
51+
In case you didn't connect to the Apify account, you will be prompted to do so when you select a trigger.
52+
53+
### Step 2: Set up your Apify action in an Applet
54+
55+
You are able to use any action to follow your Apify trigger. For example, you can use Gmail to send an email about a finished Actor run.
56+
57+
In this guide we'll show you how to use Apify as an action to start an Actor run.
58+
59+
After you select Apify as an action in the "Then That" part of the applet, you need to select the action you want to use. Let's use the "Run Actor" action for this example.
60+
61+
![Apify Choose Action](../images/ifttt-choose-action.png)
62+
63+
In the next step, you need to select the Actor you want to use. You can choose one by selecting it from the dropdown. You can choose between your recently used Actors and Actors from the store. IFTTT only displays up to 50 items in a dropdown at a time. If the actor or item you're looking for doesn't show up, it's not necessarily missing — it just might not be in the top 50 results yet.
64+
65+
>To make an Actor appear in the dropdown, try using it at least once via API or in the console.
66+
67+
We will use the Google Search Results Scraper Actor in this example.
68+
69+
![Apify Actor Customization](../images/ifttt-actor-config.png)
70+
71+
You can customize how the Actor runs by filling out the following parameters:
72+
73+
| Field | Description | Example Values |
74+
| ------------- | --------------------------------------------------------------------------- | ------------------------- |
75+
| `Wait until run finishes` | Defines how the actor should be executed. | `yes`, `no` |
76+
| `Input overrides` | JSON input that will override actor's default input. | `{"key": "value"}` |
77+
| `Build` | Specifies the Actor build to run. Can be build tag or build number. | `0.2.10`, `version-0` |
78+
| `Memory` | Memory limit for the run in megabytes. | `256mb` |
79+
80+
Once you're happy with the Actor customization, continue by pressing "Create action" button.
81+
82+
![Apify Actor Customization](../images/ifttt-applet-overview.png)
83+
84+
Once the applet is created, wait for you trigger to run and inspect the results by pressing the "View activity" button in the Applet overview page.
85+
86+
![Apify Actor Customization](../images/ifttt-applet-inspect.png)
87+
88+
## Triggers
89+
90+
### Actor Run Finished
91+
92+
> Triggers when a selected Actor run is finished.
93+
94+
### Task Run Finished
95+
96+
> Triggers when a selected Actor task run is finished.
97+
98+
## Actions
99+
100+
### Run Actor
101+
102+
> Runs a selected Actor.
103+
104+
### Run Task
105+
106+
> Runs a selected Actor task.
107+
108+
109+
## Queries
110+
111+
### Get Dataset Items
112+
113+
> Retrieves items from a [dataset](/platform/storage/dataset).
114+
115+
### Scrape Single URL
116+
117+
> Runs a scraper for the website and returns its content.
118+
119+
### Get Key-Value Store Record
120+
121+
> Retrieves value from a [Key-value store](/platform/storage/key-value-store).
122+
123+
If you have any questions or need help, feel free to reach out to us on our [developer community on Discord](https://discord.com/invite/jyEM2PRvMU).

0 commit comments

Comments
 (0)