Skip to content

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 Ibexa Connect 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:

  1. 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 Ibexa Connect

    • Insert the action Webhook - Make a web request. The applet should look like: If Your trigger then Webhook - Make a web request
  2. Create a new scenario on Ibexa Connect using IFTTT - Receive data as the first module

    61f2706f07006.png

    • Click the 'Add' button to create a new webhook

    61f2706fe6f54.png

    • Name your webhook and click Save

    • Copy the newly generated webhook URL and let the webhook wait to receive sample data

    61f27070e2c9a.png

  3. 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 Ibexa Connect in the previous step

    IFTTT1.png

    • Method: POST

    61f27072f1167.png

    • Content Type: application/json

    61f27073e59d8.png

    • Body: JSON with data you want to send to Ibexa Connect

    IFTTT2.png

Example JSON:

1
2
3
4
               {
    "Value1Label": "{{Value1}}",
    "Value2Label": "{{Value2}}"
}

The JSON can contain an arbitrary amount of values. Value1Label is a label how the value will be presented in Ibexa Connect. {{Value1}} is an ingredient from the IFTTT trigger.

  • Turn your IFTTT applet on and run it once. This will send sample data to the Ibexa Connect 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 Ibexa Connect scenario.

Complete your scenario in Ibexa Connect and turn it on.


Send data

Follow the steps below to send data from Ibexa Connect to a trigger in an IFTTT applet and run any IFTTT action using the Send data module:

  1. Create a new applet on the IFTTT Platform (https://platform.ifttt.com/)

    • Use Webhooks - Receive a web request as the trigger for your applet

    61f27074d2586.png

    • Scroll below to enter an event name which you will need to enter when setting up the module on Ibexa Connect

    61f27075b2986.png

    • Insert the action you want to control from Ibexa Connect. The applet should look like: If Webhooks - Receive a web request then Your action

    • Activate your applet.

  2. Go to Ibexa Connect and insert the module IFTTT - Send data to your scenario that shall send data to IFTTT

    61f27076776e5.png

    • Go to https://ifttt.com/maker_webhooks, click 'Documentation*'* on the upper-right corner and copy your key from the documentation page

      61f2707744304.png

    • Click 'Add' next to the Connectiondrop-down to create a new connection between Ibexa Connect and IFTTT. You will be requested to fill in the key obtained in the last step

    61f2707818c89.png

    • 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

    61f27079107c4.png

Once your scenario setup on Ibexa Connect 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!