Getting started overview

IFTTT (If This Then That) facilitates automation by allowing users to connect various web services and smart devices through conditional statements called Applets. An Applet consists of a 'trigger' (the 'If This' part) and an 'action' (the 'Then That' part). For instance, 'If I post a photo to Instagram, then save it to Dropbox' is an Applet combining Instagram as the trigger service and Dropbox as the action service.

This guide provides the necessary steps to sign up for an IFTTT account, understand how to connect services, and activate your first Applet. While IFTTT is primarily a no-code/low-code platform, it also offers Webhooks for more advanced integrations, allowing developers to extend its capabilities by interacting with external APIs directly.

The core process involves:

  1. Creating an IFTTT account.
  2. Connecting the services you wish to integrate.
  3. Activating an existing Applet or creating a new one.
  4. (Optional, for developers) Setting up a Webhooks Applet to interact with external APIs.

Create an account and get keys

To begin with IFTTT, you must create an account. IFTTT offers a free tier that allows up to 5 Applets, with paid plans available for increased Applet capacity and advanced features, as detailed on the IFTTT pricing page.

Account Creation

Follow these steps to set up your IFTTT account:

  1. Navigate to the IFTTT homepage.
  2. Click on the 'Sign Up' button.
  3. You can sign up using your Google account, Apple ID, or by providing an email address and creating a password.
  4. Once registered, you will be directed to your IFTTT dashboard.

Connecting Services

Before you can use an Applet, you need to connect the services it relies on. For example, if you want to create an Applet that interacts with Twitter and Google Drive, both services must be linked to your IFTTT account.

  1. From your IFTTT dashboard, click on 'Explore' or 'My Applets', then select 'Services'.
  2. Search for the service you wish to connect (e.g., 'Twitter', 'Google Drive').
  3. Click on the service icon and then click 'Connect'.
  4. You will be redirected to the service's authentication page (e.g., Twitter's authorization page or Google's OAuth flow) to grant IFTTT permission to access your account. This is a standard OAuth 2.0 process for authorizing third-party applications, as described by the OAuth 2.0 Authorization Framework.
  5. Follow the on-screen prompts to complete the authorization.
  6. Once authorized, the service will appear as 'Connected' in your IFTTT account.

Accessing Webhooks Keys (for advanced users)

For developers creating custom integrations, IFTTT's Webhooks service acts as a generic connector, allowing you to send or receive data from any web service that supports HTTP requests. To use Webhooks, you need your unique Webhooks key:

  1. Search for and connect the 'Webhooks' service in IFTTT.
  2. After connecting, click on the 'Settings' gear icon for the Webhooks service.
  3. Your unique Webhooks key will be displayed. This key is crucial for making authenticated requests to your IFTTT Webhooks endpoint.
  4. The base URL for making trigger requests to your Webhooks service will typically follow the format: https://maker.ifttt.com/trigger/{event_name}/with/key/{your_webhooks_key}.

Your first request

This section outlines how to activate a pre-built Applet and how to create a simple Applet using the Webhooks service as a trigger.

Activating a Pre-built Applet

The quickest way to get started is to activate an existing Applet:

  1. From your IFTTT dashboard, click on 'Explore'.
  2. Browse or search for an Applet that interests you (e.g., 'Tweet your Instagrams as native photos').
  3. Click on the Applet.
  4. If you haven't already, you will be prompted to connect the necessary services (e.g., Instagram and Twitter for the example above).
  5. Review the Applet's details and click 'Connect' or 'Turn on'.
  6. Configure any specific settings required by the Applet (e.g., which Instagram album to monitor).
  7. The Applet is now active and will run automatically when its trigger condition is met.

Creating a Webhooks Applet (Triggering an Action)

This example demonstrates how to create an Applet that uses a Webhooks trigger to send a notification to your phone. This illustrates how an external system can initiate an IFTTT workflow.

Step 1: Create the 'If This' (Webhooks Trigger)

  1. Go to 'Create' from your IFTTT dashboard.
  2. Click 'Add' next to 'If This'.
  3. Search for 'Webhooks' and select it.
  4. Choose 'Receive a web request'.
  5. Enter an 'Event Name' (e.g., my_first_event). This name will be used in your API call.
  6. Click 'Create trigger'.

Step 2: Create the 'Then That' (Notification Action)

  1. Click 'Add' next to 'Then That'.
  2. Search for 'Notifications' and select it.
  3. Choose 'Send a notification from the IFTTT app'.
  4. Customize the message. You can use ingredients from the Webhooks trigger, such as {{Value1}}, {{Value2}}, {{Value3}}, which correspond to data sent in your Webhooks request payload. For this example, let's use: My first IFTTT webhook event received! Value 1: {{Value1}}.
  5. Click 'Create action'.

Step 3: Finish and Test the Applet

  1. Review your Applet and click 'Finish'.
  2. To test, you will need to make an HTTP POST request to your Webhooks endpoint. You can use tools like curl, Postman, or a simple script.
  3. Retrieve your Webhooks key from the Webhooks service settings as described in the 'Accessing Webhooks Keys' section.
  4. Construct your request. For example, using curl from your terminal:

curl -X POST -H "Content-Type: application/json" -d '{"value1":"Hello from apispine!","value2":"Test Data","value3":"More Info"}' https://maker.ifttt.com/trigger/my_first_event/with/key/YOUR_WEBHOOKS_KEY

Replace YOUR_WEBHOOKS_KEY with your actual key and my_first_event with your chosen event name. If successful, you should receive a notification on your device via the IFTTT app.

Common next steps

After successfully activating your first Applet or triggering a Webhooks event, consider these common next steps to expand your IFTTT usage:

  • Explore more services: IFTTT connects to hundreds of services, from smart home devices like Philips Hue and Google Home to productivity tools like Notion and Salesforce. Explore the IFTTT Services page to discover new integration possibilities.
  • Create custom Applets: Don't limit yourself to existing Applets. Use the 'Create' feature to build unique automations tailored to your specific needs, combining different triggers and actions across your connected services.
  • Utilize query parameters for Webhooks: When using Webhooks triggers, you can pass up to three values (value1, value2, value3) in the request body. These values can be used as 'ingredients' in your action, enabling dynamic content in notifications, spreadsheets, or other outputs.
  • Consider IFTTT Pro: If you find yourself needing more than 5 active Applets, or desire advanced features like multi-step Applets, conditional logic, or faster Applet execution, review the IFTTT Pro plans.
  • Integrate with other platforms: For complex workflows, IFTTT can serve as a component within a larger automation strategy, potentially alongside other integration platforms as a service (iPaaS) solutions or custom code.

Troubleshooting the first call

If your first IFTTT Webhooks call doesn't work as expected, consider these common troubleshooting steps:

Step What to do Where to check
Verify Webhooks Key Ensure the Webhooks key in your curl command or script exactly matches the key shown in your IFTTT Webhooks service settings. Keys are case-sensitive. IFTTT Webhooks Service Settings
Check Event Name Confirm the event_name in your URL (e.g., my_first_event) precisely matches the event name configured in your Webhooks trigger. Your IFTTT Applet's Webhooks trigger configuration
Applet Status Ensure the Applet you created is turned 'On' in your IFTTT dashboard. An off Applet will not respond to triggers. 'My Applets' section in IFTTT
Request Format Verify your HTTP request uses the correct method (POST) and that the JSON payload is well-formed (e.g., curly braces, double quotes for keys and string values). The Content-Type: application/json header is also critical. Your curl command or API client configuration
Internet Connectivity Ensure your device has a stable internet connection if you are making the request locally. Your local network connection
IFTTT Activity Feed Check your IFTTT 'Activity' feed for logs related to your Applet. This often provides specific error messages or indicates if the trigger was received successfully. IFTTT Activity Feed
Service Disconnection If your Applet involves other services (e.g., Notifications), ensure those services are still connected and authorized within IFTTT. 'My Services' section in IFTTT