Table of Contents

How to send an email through Sendinblue by Integromat

Alexander Gao Updated by Alexander Gao

Send an email through Sendinblue with Trigger automation block

Introduction

We've noticed that Sendinblue is also a practical platform for sending emails, in this article we will introduce how to send a transactional email to a recipient by using Landbot's trigger automation block, and insert the values (such as name, email, phone number, etc) gathered from Landbot to the Sendinblue template.

To do that, Integromat can help you to request such information, but we need to push a little bit further, to prepare Integromat to send Landbot such information, and once it's ready "tell" the bot to resume flow.

To do this in the article we will show you how to:

  • 1. Set up in Integromat the Webhook module to start the automation
  • 2. Prepare the Automation trigger in Landbot that will trigger the scenario with the information needed
  • 3. Send the datas to Integromat, the Webhook module
  • 4. Use the data collected from Integromat and put them to the Sendinblue module
  • 5. Send an email designed(email template) by complete a chat flow

Prepare Landbot:
  1. Firstly, we have to build a bot flow to collect information, like name, email, age, etc.

The information that we collect will be stored in variables, which we will send to Integromat.

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.

Create Integromat scenario
  1. After set a Trigger automation block, let's open Integromat:

  1. We need to do is press Create A New Scenario:

  1. Then search Webhook, then click on its icon:

  1. Let's press continue button to move on:

  1. Then it will display this page:

  1. What we should do now is click on Webhooks:

  1. Integromat will ask you to select the type of Webhook, chooseΒ Custom Webhook.

  1. After click on Custom Webhook, a small window appears:

  1. Click on Add button:

  1. Let's give this hook a name:

  1. Don't click on OK yet, as we still have to copy the API address:

Prepare Landbot request to Integromat
  1. Let's get back to Landbot and paste the URL in the Trigger automation block, in the Paste the Webhook URL field:

  1. Go to the Set data (variables) to be sent section. Now we are going to set the variables we want to send to Integromat.
For Integromat to receive our data, we can send it with a random number or a random word.
  1. And click on Test webhook trigger button:
  1. If you scroll down, you will see the response from Integromat:

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

In Integromat set HTTP module:
  1. Go back to Integromat, click on OK:

  1. Let's press the add button, to add the module of Sendinblue:

  1. Click on Send an Email:
  1. Click on the template bar, choose an email template:
If you don't have set templates within Sendinblue, or you don't want to use templates, you may have to set the email body and Subject, etc.

  1. Click on To, to send the email direction and the recipient's name:
  1. Then scroll down, set Reply to, to the email which is going to receive the replies:

  1. Click on the check box to show advanced settings:

  1. Scroll down to the Sender section, and set the name and email of sender:

  1. Now let's turn to Sendinblue, to set some params to the template, so let's go to templates:

  1. Then click on Edit the email content:

  1. Then we will have to change the default {{contacts.NAME}} to {{params.NAME}}, so we can use the datas from Landbot but not from Sendinblue's CRM:
Also if you have some other param to send, you can put them to the place you want and with the format {{params.XXXXXXX}}
  1. Then let's go back to Integromat, then keep scroll down, to the Params section.

  1. Here we are going to set the value of template's parameter, if you have more than 1 params set in the template, don't forget to add them all here:

  1. Now click on OK:

  1. Let's run the scenario now:

In Landbot complete the chat to send the email
  1. Let's go back to Landbot and go to Share > Share with a link > Open:

  1. Then complete the chat:

  1. Now let's move to the inbox to check if arrives the email:
  1. Then let's have a look if the parameter is there:

So as we can see, the email has arrived and the parameter is there, the operation is done!

How did we do?

Integromat trigger

How to extract data from an external source with Integromat and use it in Landbot

Contact