Table of Contents

IFTTT trigger

Alexander Gao Updated by Alexander Gao

Trigger IFTTT with Trigger automation block

Prepare Landbot:
  1. Firstly, we have to make a little flow for collect information, like name, email, age, etc.

The information that we collect, will be stored in variables, that we will send to IFTTT. As in the example below, we are storing the name input in the variable @name, that we will use later

  1. Then let's set a Trigger automation block.

  1. Because IFTTT has their own rule, so we have to do something to adapt it. So after Question: Number block, let's create a Set variable block:

  1. Then copy Set Variable block 2 times more, and set value2 as email and value3 as age:

Create IFTTT trigger:
  1. After set a Trigger automation block, let's open IFTTT:

  1. We need to do is click on Create:

  1. Then press Add:

  1. Let's search for Webhooks and press it:

  1. It appears only one option, which is also what we need, let's click on it:

  1. Then this screen will display:
  2. Press Connect:
  1. Here comes this screen:
  2. Let's give it an Event Name:

  1. Done, now we click on Create trigger:

Set action

  1. After we create trigger, it displays this page:

  1. Let's click on button Add in Then That:

  1. In choose a service, we choose Google Sheets:

  1. Then we click on Add Row to Spreadsheet:

  1. Here comes this page:

  1. No doubts, we should click on Connect:

Complete action fields

  1. After we connect the trigger, we should set the content of our sheet:

  1. Now let's rename our spreadsheet:

  1. Then according our situation, we adjust how and what we send to spreadsheet:

  1. After we set the content, click on Create action:

  1. Now it displays this screen:

  1. Press Continue:

  1. Then let's review and finish it:

  1. After confirm everything, scroll down and click finish:

Where can I find the API key and documentation?

  1. When we finish our applet, we wonder how do we use the API key on Landbot Webhooks? Now let's continue with this page:

  1. Press the icon of Webhook:
  1. We will see there is a button of Documentation at upper right corner, click it:

Set Trigger automation block in Landbot
  1. Now we have found the API key and JSON body now let's set the URL:

  1. Then copy the URL:

  1. Let's open Landbot and open Trigger automation block and paste the URL to Trigger automation block:

  1. Turn back to Landbot and set the variables to be sent to IFTTT:

  1. And click on Test Webhook Trigger button:

  1. If you scroll down, you will see the response from IFTTT:

  1. As long as the status code is 200, means our request is successfully sent.

Review The Result
  1. Now let's have a look at our Google sheets, we have found the new tab with the name we set, open it, it contains the data we have sent, so the Trigger and action of IFTTT is done!

How did we do?

Add a song to a Spotify playlist with IFTTT