Homepage

Integrating Sendinblue Using API Call Notifications

Last edit: Jul 14, 2023

This guide will help you create a Sendinblue integration for platformOS using API Call Notifications.

Requirements

To follow this tutorial, you should be familiar with creating API Call Notifications. You also have to have access to Sendinblue.

Steps

Integrating Sendinblue using API Call Notifications is a two-step process:

Step 1: Create API Call Notification

Create an API Call Notification:

  • Go to sendinblue.com and sign in. Click your name on the top right and then select the "SMTP & API" link from the drop-down menu. On the next page, you can find your v3 API key.
  • Replace << YOUR API_KEY >> with your Sendinblue API Key.
  • Add the payload based on the attributes in your form.
app/api_calls/sendinblue_new_host.liquid

---
to: 'https://api.sendinblue.com/v3/contacts'
format: http
request_type: POST
request_headers: >
{
  "Content-Type": "application/json",
  "Api-key": "<< YOUR API_KEY >>",
  "Accept":"application/json"
}
---
{
  "email": "{{ form.email }}",
  "status": "subscribed",
  "attributes": {
    "FIRSTNAME": "{{ form.first_name }}",
    "LASTNAME": "{{ form.last_name }}"
  }
}

Step 2: Add API Call Notification to forms

Add the following to the front matter on your form:

api_call_notifications:
  - sendinblue_new_host

Congratulations! You have created a Sendinblue integration using API Call Notifications.

Questions?

We are always happy to help with any questions you may have.

contact us