Brevo

Send Brevo Transactional Email

Sends a transactional email to a customer through Brevo.

Unverified

What the model is told

Send an email to a customer. Ask for their email address if you do not have it and spell it back to confirm. Provide a clear subject and a plain text body. Returns a messageId on success. Tell the customer the email has been sent, not that it has arrived. Only send to the number or address the customer gave you in this conversation, and read it back to confirm it, together with the message wording, before calling this tool.

Request

POSThttps://api.brevo.com/v3/smtp/email

Headers

  • Content-Typeapplication/json
  • Acceptapplication/json
  • api-keyYOUR_BREVO_API_KEY

Body

{
  "sender": {
    "email": "YOUR_BREVO_SENDER_EMAIL"
  },
  "to": [
    {
      "email": "{{toEmail}}"
    }
  ],
  "subject": "{{subject}}",
  "htmlContent": "<html><body><p>{{message}}</p></body></html>",
  "textContent": "{{message}}"
}

Parameters

  • toEmail stringThe customer's email address.
  • subject stringThe email subject line.
  • message stringThe body of the email as plain text with no HTML or line breaks.

Engage payload

{
  "source": "VOICE_AI",
  "tool": {
    "id": "68ba0ace-d11f-4b39-b890-fcc241395a94",
    "type": "HTTP_REQUEST",
    "label": "Send Brevo Transactional Email",
    "name": "send_brevo_transactional_email",
    "customName": false,
    "description": "Send an email to a customer. Ask for their email address if you do not have it and spell it back to confirm. Provide a clear subject and a plain text body. Returns a messageId on success. Tell the customer the email has been sent, not that it has arrived. Only send to the number or address the customer gave you in this conversation, and read it back to confirm it, together with the message wording, before calling this tool.",
    "parameters": [
      {
        "name": "toEmail",
        "type": "string",
        "description": "The customer's email address."
      },
      {
        "name": "subject",
        "type": "string",
        "description": "The email subject line."
      },
      {
        "name": "message",
        "type": "string",
        "description": "The body of the email as plain text with no HTML or line breaks."
      }
    ],
    "config": {
      "endpoint": {
        "method": "POST",
        "url": "https://api.brevo.com/v3/smtp/email"
      },
      "headers": [
        {
          "name": "Content-Type",
          "value": "application/json"
        },
        {
          "name": "Accept",
          "value": "application/json"
        },
        {
          "name": "api-key",
          "value": "YOUR_BREVO_API_KEY"
        }
      ],
      "body": "{\n  \"sender\": {\n    \"email\": \"YOUR_BREVO_SENDER_EMAIL\"\n  },\n  \"to\": [\n    {\n      \"email\": \"{{toEmail}}\"\n    }\n  ],\n  \"subject\": \"{{subject}}\",\n  \"htmlContent\": \"<html><body><p>{{message}}</p></body></html>\",\n  \"textContent\": \"{{message}}\"\n}",
      "timeout": null
    }
  }
}

IDs are regenerated on every copy.