Home / All Integrations / Sendinblue

free

Connect Sendinblue to your chatbot

Send emails with Sendinblue


Send transactional emails directly from your chatbot with Sendinblue!

Description

This App allows you to easily send transactional emails from your chatbot by connecting with your Sendinblue account. It is a thin wrapper around Sendinblue's sendTransacEmail API.

To get started, you will need a Sendinblue account and an API key, which can be found in your account settings, under SMTP/API.

Usage

All the available parameters are documented in Sendinblue's API docs for the Send Transactional Emails REST endpoint. Here is a basic example to send a simple HTML email:

do App(
  "sendinblue",
  method="sendTransactionalEmail",
  sender={"name": "Cool Chatbot", "email": "chatbot@mydomain.com"},
  to=[{"email": "someone@gmail.com"}],
  subject="CSML Chatbot",
  htmlContent="<!DOCTYPE html><html><body><h1>Hi there!</h1><p>This is a demo email.</p></body></html>",
  textContent="Hi there!\nThis is a demo email.",
)

Alternatively, you can also send an email from one of your existing templates:

do App(
  "sendinblue",
  method="sendTransactionalEmail",
  to=[{"email": "someone@gmail.com"}],
  templateId=1234
)
Discover similar integrations:
Amazon SES
SMTP

Join the Community
on Slack Slack

Come and learn all about CSML with other chatbot enthusiasts on the CSML Community Slack! 🤗