Skip to content

Commit 97e3585

Browse files
authored
feat: add ifttt docs (#1567)
Documentation for IFTTT and Apify integration.
1 parent 0381af2 commit 97e3585

File tree

8 files changed

+137
-0
lines changed

8 files changed

+137
-0
lines changed
59.2 KB
Loading
58.2 KB
Loading
51.1 KB
Loading
34 KB
Loading
29.8 KB
Loading
40.2 KB
Loading
36.8 KB
Loading
Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
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+
**Connect Apify Actors with IFTTT to automate workflows using Actor run events, data queries, and task actions.**
10+
11+
---
12+
13+
[IFTTT](https://ifttt.com) is a service that helps you create automated workflows called Applets. With the [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.
14+
15+
This guide shows you how to integrate Apify Actors with IFTTT to build automated workflows. You'll learn how to create IFTTT Applets that can be triggered by Apify events or that can execute Apify tasks.
16+
17+
An IFTTT Applet consists of three key parts:
18+
19+
- A _trigger_ that starts the workflow
20+
- Optional _queries_ that retrieve data
21+
- One or more _actions_ that execute when the Applet runs
22+
23+
The Apify integration lets you trigger workflows when an Actor or task run finishes, start Actor or task runs from other triggers, or retrieve data from datasets and key-value stores.
24+
25+
## Prerequisites
26+
27+
Before using the Apify integration with IFTTT, you need:
28+
29+
- An [Apify account](https://console.apify.com/)
30+
- An [IFTTT account](https://ifttt.com/)
31+
32+
## Connect Apify with IFTTT
33+
34+
To connect your Apify account to IFTTT:
35+
36+
1. Visit the [Apify service page](https://ifttt.com/apify) on IFTTT.
37+
2. Click the **Connect** button.
38+
3. When redirected to the Apify login page, sign in to your Apify account.
39+
40+
![Apify Connect Service](../images/ifttt-connect-service.png)
41+
42+
## Create an Applet with Apify
43+
44+
### Create an Applet
45+
46+
To create an Applet that starts when Apify event occurs:
47+
48+
1. Go to the [Explore](https://ifttt.com/explore) section on IFTTT.
49+
1. Click the **Create** button.
50+
1. In the **If this** section, click **Add**.
51+
1. Search for and select **Apify** in the service list.
52+
53+
![Apify Choose Service](../images/ifttt-choose-service.png)
54+
55+
1. Select a trigger from the available options:
56+
57+
- **Actor Run Finished**: Triggers when a selected Actor run completes
58+
- **Task Run Finished**: Triggers when a selected Actor task run completes
59+
60+
![Apify Choose Trigger](../images/ifttt-choose-trigger.png)
61+
62+
1. Configure the trigger by selecting the specific Actor or task.
63+
1. Click **Create trigger** to continue.
64+
65+
In case you didn't connect to the Apify account, you will be prompted to do so when you select a trigger.
66+
67+
### Set up an Apify Action
68+
69+
To use Apify as an action in your Applet:
70+
71+
1. In the **Then That** section of your Applet, click **Add**.
72+
1. Search for and select **Apify**.
73+
1. Choose an action:
74+
75+
- **Run Actor**: Starts an Actor run
76+
- **Run Task**: Starts an Actor Task run
77+
78+
![Apify Choose Action](../images/ifttt-choose-action.png)
79+
80+
1. Select the Actor or task you want to use from the dropdown menu.
81+
82+
:::note
83+
84+
IFTTT displays up to 50 recent items in a dropdown. If your Actor or task isn't visible, try using it at least once via API or in the Apify Console to make it appear in the list.
85+
86+
:::
87+
88+
![Apify Actor Customization](../images/ifttt-actor-config.png)
89+
90+
1. Configure the action parameters:
91+
92+
| Parameter | Description | Example Values |
93+
|-----------|-------------|----------------|
94+
| **Wait until run finishes** | Defines how the Actor should be executed. | `yes`, `no` |
95+
| **Input overrides** | JSON input that overrides the Actor's default input. | `{"key": "value"}` |
96+
| **Build** | Specifies the Actor build to run. Can be a build tag or build number. See [Builds](/platform/actors/running/runs-and-builds#builds) for more information. | `0.2.10`, `version-0` |
97+
| **Memory** | Memory limit for the run in megabytes. See [Memory](/platform/actors/running/usage-and-resources#memory) for more information. | `256` |
98+
99+
1. Click **Create action** to finish setting up the action.
100+
101+
![Apify Actor Customization](../images/ifttt-applet-overview.png)
102+
103+
1. Give your Applet a name and click **Finish** to save it.
104+
105+
## Monitor your Applet
106+
107+
To check if your Applet is working properly:
108+
109+
1. Go to your Applet's detail page.
110+
1. Clicke the **View activity** button to see the execution history.
111+
112+
![Apify Actor Customization](../images/ifttt-applet-inspect.png)
113+
114+
## Available triggers, actions, and queries
115+
116+
### Triggers
117+
118+
- **Actor Run Finished**: Activates when a selected Actor run completes
119+
- **Task Run Finished**: Activates when a selected Actor task run completes
120+
121+
### Actions
122+
123+
- **Run Actor**: Starts a specified Actor with customizable parameters
124+
- **Run Task**: Executes a specified Actor task
125+
126+
### Queries
127+
128+
- **Get Dataset Items**: Retrieves items from a [dataset](/platform/storage/dataset)
129+
- **Scrape Single URL**: Runs a scraper for a specified website and returns its content
130+
- **Get Key-Value Store Record**: Retrieves a value from a [key-value store](/platform/storage/key-value-store)
131+
132+
## Troubleshooting
133+
134+
- Ensure your JSON inputs in the "Input overrides" field are valid and properly formatted.
135+
- If an Applet fails to trigger, check your Apify API token permissions.
136+
137+
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)