What it is for
Mailjet in flooows lets you send transactional or marketing emails from your flows, using plain text, HTML or Mailjet templates. Typical uses are order confirmations, welcome emails, reminders or personalized notices with data from your CRM or store.
Mailjet has no triggers: it is used as an action inside flows started by other triggers, such as a new order or a submitted form.
Set up the connection
Authentication type: Username and password
- 1Sign in at app.mailjet.com.
- 2Go to Account settings > REST API > API Key Management, or straight to the API keys page.
- 3Copy your API Key and Secret Key; if the secret is hidden, create a new one with Generate Secret Key.
- 4In flooows, add a Mailjet step, click "Connect" and paste the API Key as username and the Secret Key as password.
- 5Save the connection.
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- Send Email: set From (Email), which must be a sender validated in Mailjet, and optionally From (Name).
- In Emails of recipients, map the recipient address from an earlier step.
- Fill Subject and Text part or HTML part, mixing static text with flow variables.
- To use a template, enter its Template Id and pass the data in Template variables.
Tips
- •Authenticate your domain with SPF and DKIM in Mailjet to improve deliverability.
- •Always include a text part alongside the HTML.
- •Use Custom API Call to manage contacts or lists with the same connection.
Actions (2)
Operations available as flow steps. Expand each one to see its fields.
Send Email8 fields
| Field | Type | Required |
|---|---|---|
| From (Email) | Text | Yes |
| From (Name) | Text | No |
| Emails of recipients | List of values | Yes |
| Subject | Text | Yes |
| Text part | Long text | No |
| HTML part | Long text | No |
| Template Id | Number | No |
| Template variables | Key / value pairs | No |
Custom API Call10 fields
| Field | Type | Required |
|---|---|---|
| url | Dynamic fields | Yes |
| Method | Fixed list | Yes |
| Headers | Key / value pairs | No |
| Query Parameters | Key / value pairs | No |
| Body Type | List (from your account) | No |
| Body | Dynamic fields | No |
| Response is Binary | Yes / No | No |
| Return Error as Output | Yes / No | No |
| Timeout | Number | No |
| Follow redirects | Yes / No | No |
Common errors
401 error
Make sure the API Key and Secret Key belong to the same account or sub-account.
Sender not authorized
Validate the From (Email) address or domain in Mailjet.
Template variables are not replaced
Check that names in Template variables match those in the template.
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps