IFTTT
Getting started with IFTTT
We built the IFTTT modules to give you even more flexibility with your automations by letting you exchange data between a scenario on Make and an applet on IFTTT.
Currently, the following modules are available:
Trigger: Receive data from an applet
Action: Send data to an applet
The above modules also allow you to connect and control arbitrary IoT devices connected to IFTTT.
----
Receive data
Using the Receive data module, you can get data from an arbitrary trigger in the IFTTT applet. Follow the steps below to achieve this:
Create a new applet on IFTTT or go to an existing one that contains the trigger from which you'd like to send data to Make
Insert the action Webhook - Make a web request. The applet should look like: If Your trigger then Webhook - Make a web request
Create a new scenario on Make using IFTTT - Receive data as the first module
Click the 'Add' button to create a new webhook
Name your webhook and click Save
Copy the newly generated webhook URL and let the webhook wait to receive sample data
Go to IFTTT and in the settings of the Webhook - Make a web request action fill in the following values:
URL: Paste the webhook URL obtained from Make in the previous step
Method: POST
Content Type: application/json
Body: JSON with data you want to send to Make
Example JSON:
{
"Value1Label": "{{Value1}}",
"Value2Label": "{{Value2}}"
}
The JSON can contain an arbitrary amount of values. Value1Label is a label how the value will be presented in Make. {{Value1}} is an ingredient from the IFTTT trigger.
Turn your IFTTT applet on and run it once. This will send sample data to the Make webhook which had been listening for data
Once the webhook receives the sample data, click 'OK' to continue and use the data received from IFTTT in subsequent modules of your Make scenario.
Complete your scenario in Make and turn it on.
----
Send data
Follow the steps below to send data from Make to a trigger in an IFTTT applet and run any IFTTT action using the Send data module:
Create a new applet on the IFTTT Platform (https://platform.ifttt.com/)
Use Webhooks - Receive a web request as the trigger for your applet
Scroll below to enter an event name which you will need to enter when setting up the module on Make
Insert the action you want to control from Make. The applet should look like: If Webhooks - Receive a web request then Your action
Activate your applet.
Go to Make and insert the module IFTTT - Send data to your scenario that shall send data to IFTTT
Go to https://ifttt.com/maker_webhooks, click 'Documentation' on the upper-right corner and copy your key from the documentation page
Click 'Add' next to the Connectiondrop-down to create a new connection between Make and IFTTT. You will be requested to fill in the key obtained in the last step
Enter the event name that you had entered when creating the applet on IFTTT
Lastly, map the data in the fields Value1, Value2, and Value3. These values will be sent to IFTTT
Once your scenario setup on Make is complete, make sure you save it and turn it on to begin sending data to your newly created IFTTT applet. Now you can use this data in subsequent actions in your applet to achieve the intended integration!