What it is for
The SendGrid component lets you send transactional or dynamic-template emails, manage contacts and control the global unsubscribe list from flooows. It is used for order confirmations, automated notices, welcome emails or keeping marketing lists up to date.
SendGrid has no triggers in flooows: use it as an action inside flows started by other events, such as a new order or a form signup.
Set up the connection
Authentication type: API key or token · Custom credentials
- 1In SendGrid go to Settings > API Keys and create a new key with the permissions you need (for example mail send and contact management).
- 2Copy the key right away, since SendGrid will not show it again.
- 3In flooows add a SendGrid step, click "Connect" and paste the key into "API Key".
- 4If your account is hosted in the EU region, select it under "Data Residency" (when that option is shown).
- 5Save the connection.
| Connection field | Type | Required |
|---|---|---|
| API Key | Secret key | Yes |
| Data Residency | Fixed list | Yes |
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: fill in "To", "From (Email)" (a sender verified in SendGrid), "Subject", choose the "Content Type" (text or HTML) and map the "Content".
- Send Dynamic Template: enter your "Template Id" and pass a JSON in "Template Data" with the variables, mapping values from earlier steps.
- Create or Update Contact: map "Email", first and last name and pick the "Lists" to add them to.
- Check Global Unsubscribe Status lets you confirm someone has not unsubscribed before emailing them.
Tips
- •Verify your domain or sender in SendGrid to improve deliverability.
- •Dynamic templates keep design out of the flow: change the email in SendGrid without editing flooows.
- •Use "Attachments" to send files created in previous steps, such as a PDF.
Actions (8)
Operations available as flow steps. Expand each one to see its fields.
Send Email8 fields
| Field | Type | Required |
|---|---|---|
| To | List of values | Yes |
| From (Email) | Text | Yes |
| From (Name) | Text | No |
| Reply To | Text | No |
| Subject | Text | Yes |
| Content Type | List (from your account) | Yes |
| Content | Text | Yes |
| Attachments | List of values | No |
Send Dynamic Template7 fields
| Field | Type | Required |
|---|---|---|
| To | List of values | Yes |
| From (Name) | Text | No |
| From (Email) | Text | Yes |
| Template Id | Text | Yes |
| Template Data | JSON | Yes |
| Reply To | Text | No |
| Attachments | List of values | No |
Create or Update Contact5 fields
| Field | Type | Required |
|---|---|---|
| Text | Yes | |
| First Name | Text | No |
| Last Name | Text | No |
| Lists | Multi-select | No |
| Additional Fields | Key / value pairs | No |
Find List by Name1 fields
| Field | Type | Required |
|---|---|---|
| List Name | Text | Yes |
Add to Global Unsubscribe List1 fields
| Field | Type | Required |
|---|---|---|
| Emails | List of values | Yes |
Remove from Global Unsubscribe List1 fields
| Field | Type | Required |
|---|---|---|
| Text | Yes |
Check Global Unsubscribe Status1 fields
| Field | Type | Required |
|---|---|---|
| Text | Yes |
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
403 Forbidden when sending
The sender is not verified or the key lacks mail send permission; check both in SendGrid.
401 Unauthorized
The key is wrong or was deleted; create a new one and update the connection.
Template variables are empty
Make sure the names in "Template Data" match those in the template.
Region error
If your account is in the EU, choose the correct data residency in the connection.
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
