SendGrid

Marketing integration · 51 node(s) including 1 trigger.

00Overview

Send email through SendGrid from your flows — one-off messages or dynamic templates — and manage the audience around them: contacts, lists, segments, custom fields, suppressions and unsubscribe groups, plus templates, sender verification and delivery statistics. A webhook trigger can start a flow the moment an email is delivered, opened, clicked, bounced or unsubscribed.

Every field below is exactly what you see in the Flomation editor. Fields marked ● live picker let you choose from a list pulled live from your account — no IDs to look up.

01Connecting SendGrid

  1. In SendGrid, open Settings → API Keys (app.sendgrid.com → Settings → API Keys) and choose Create API Key.
  2. Give the key a name and either Full Access or a restricted key covering the areas you want to automate (Mail Send, Marketing, Suppressions, Templates, Stats). Copy the key straight away — SendGrid only shows it once.
  3. In Flomation, add the key as an environment secret (e.g. sendgrid_api), then pick it in each node's API Key field.
  4. Leave Region on Global unless your account uses an EU data-residency subuser, in which case choose EU.
  5. To send email, make sure the From Email you use is a verified sender or on an authenticated domain (Settings → Sender Authentication) — SendGrid rejects mail from unverified addresses.
FieldTypeDetails
API KeysecretRequiredSendGrid API key (SendGrid → Settings → API Keys), e.g. ${secrets.sendgrid_api}
RegionstringGlobal unless your account uses an EU regional subuser — the EU host has no Marketing endpoints (contacts, lists, segments) — Global, EU (data residency)
i
Pick an Environment on your flow (Flow Settings → Environment) so the secret resolves. Secret fields never show the value — they reference ${secrets.your_secret}.

02Asm

SendGrid: Create Unsubscribe Group

marketing/sendgrid/asm_group_create · Action

Create an unsubscribe (ASM) group in SendGrid. Recipients who opt out of a group stop receiving email assigned to that group without unsubscribing from everything. Provide a name and a short description.

FieldTypeDetails
NamestringRequiredWeekly Digest — up to 30 characters, unique in your account
DescriptionstringWhat recipients see when choosing what to unsubscribe from — up to 100 characters; SendGrid requires one when creating a group
Default GroupbooleanTick to make this the default group for emails sent without an unsubscribe group
Additional Fields (JSON)objectAny other SendGrid field to include in the request body

Returns: id, result, tool_result, success, error

SendGrid: Delete Unsubscribe Group

marketing/sendgrid/asm_group_delete · Action

Delete an unsubscribe (ASM) group from SendGrid. Emails can no longer be assigned to the group once it is gone.

FieldTypeDetails
Unsubscribe GroupstringRequired · ● live pickerThe unsubscribe (ASM) group to delete

Returns: id, result, tool_result, success, error

SendGrid: Get Unsubscribe Group

marketing/sendgrid/asm_group_get · Action

Retrieve a single unsubscribe (ASM) group from SendGrid, including its name, description, and how many recipients have unsubscribed from it.

FieldTypeDetails
Unsubscribe GroupstringRequired · ● live pickerThe unsubscribe (ASM) group to retrieve

Returns: id, result, tool_result, success, error

SendGrid: List Unsubscribe Groups

marketing/sendgrid/asm_group_list · Action

Retrieve all unsubscribe (ASM) groups in your SendGrid account, including each group's name, description, and unsubscribe count.

Returns: results, count, tool_result, success, error

SendGrid: Update Unsubscribe Group

marketing/sendgrid/asm_group_update · Action

Update an unsubscribe (ASM) group's name, description, or default setting in SendGrid. Only the fields you provide are changed.

FieldTypeDetails
Unsubscribe GroupstringRequired · ● live pickerThe unsubscribe (ASM) group to update
NamestringNew group name — up to 30 characters, unique in your account
DescriptionstringNew description — what recipients see when choosing what to unsubscribe from, up to 100 characters
Default GroupbooleanTick to make this the default group for emails sent without an unsubscribe group
Additional Fields (JSON)objectAny other SendGrid field to include in the request body

Returns: id, result, tool_result, success, error

SendGrid: Add Group Suppressions

marketing/sendgrid/asm_suppression_add · Action

Add one or more email addresses to a SendGrid unsubscribe (ASM) group so they stop receiving email assigned to that group. Separate multiple addresses with commas.

FieldTypeDetails
Unsubscribe GroupstringRequired · ● live pickerThe unsubscribe (ASM) group to add the addresses to
EmailsstringRequiredrecipient@example.com — separate multiple addresses with commas
Additional Fields (JSON)objectAny other SendGrid field to include in the request body

Returns: id, result, tool_result, success, error

SendGrid: Delete Group Suppression

marketing/sendgrid/asm_suppression_delete · Action

Remove an email address from a SendGrid unsubscribe (ASM) group so it resumes receiving email assigned to that group.

FieldTypeDetails
Unsubscribe GroupstringRequired · ● live pickerThe unsubscribe (ASM) group to remove the address from
EmailstringRequiredrecipient@example.com — the address to remove from the group

Returns: id, result, tool_result, success, error

SendGrid: List Group Suppressions

marketing/sendgrid/asm_suppression_list · Action

Retrieve every email address suppressed in a SendGrid unsubscribe (ASM) group. Each result is an object with an email field, ready to loop over. Note: SendGrid applies new suppressions asynchronously, so a just-added address can take a few minutes to appear here.

FieldTypeDetails
Unsubscribe GroupstringRequired · ● live pickerThe unsubscribe (ASM) group whose suppressed addresses to list

Returns: results, count, tool_result, success, error

03Block

SendGrid: Delete Block

marketing/sendgrid/block_delete · Action

Remove addresses from your SendGrid block list so mail can be sent to them again. Provide a single Email, a comma-separated Emails list, or tick Delete All to clear the entire list.

FieldTypeDetails
EmailstringA single address to remove — leave blank to use Emails or Delete All
EmailsstringComma-separated addresses to remove in one go — cannot be combined with Delete All
Delete AllbooleanTick to clear the entire block list — cannot be combined with Emails

Returns: id, result, tool_result, success, error

SendGrid: Get Block

marketing/sendgrid/block_get · Action

Look up a single email address on your SendGrid block list. If the address is not blocked, the action reports that no block was found.

FieldTypeDetails
EmailstringRequiredThe address to look up, e.g. jane@example.com

Returns: id, result, tool_result, success, error

SendGrid: List Blocks

marketing/sendgrid/block_list · Action

Retrieve the addresses on your SendGrid block list — emails the receiving server refused, for example because of an IP block or content filtering. Optionally narrow the list to a date range.

FieldTypeDetails
Start TimedatetimeOnly blocks created on or after this time, e.g. 2026-07-01T00:00:00Z
End TimedatetimeOnly blocks created on or before this time, e.g. 2026-07-08T23:59:59Z
LimitstringMax results to return (default 100)
Return AllbooleanTick to fetch every result page instead of just the first

Returns: results, count, tool_result, success, error

04Bounce

SendGrid: Delete Bounce

marketing/sendgrid/bounce_delete · Action

Remove addresses from your SendGrid bounce list so mail can be sent to them again. Provide a single Email, a comma-separated Emails list, or tick Delete All to clear the entire list.

FieldTypeDetails
EmailstringA single address to remove — leave blank to use Emails or Delete All
EmailsstringComma-separated addresses to remove in one go — cannot be combined with Delete All
Delete AllbooleanTick to clear the entire bounce list — cannot be combined with Emails

Returns: id, result, tool_result, success, error

SendGrid: Get Bounce

marketing/sendgrid/bounce_get · Action

Look up a single email address on your SendGrid bounce list. If the address has not bounced, the action reports that no bounce was found.

FieldTypeDetails
EmailstringRequiredThe address to look up, e.g. jane@example.com

Returns: id, result, tool_result, success, error

SendGrid: List Bounces

marketing/sendgrid/bounce_list · Action

Retrieve the addresses on your SendGrid bounce list — emails that were rejected by the recipient's mail server. Optionally narrow the list to a date range.

FieldTypeDetails
Start TimedatetimeOnly bounces created on or after this time, e.g. 2026-07-01T00:00:00Z
End TimedatetimeOnly bounces created on or before this time, e.g. 2026-07-08T23:59:59Z
LimitstringMax results to return (default 100)
Return AllbooleanTick to fetch every result page instead of just the first

Returns: results, count, tool_result, success, error

05Contact

SendGrid: Count Contacts

marketing/sendgrid/contact_count · Action

Return the total number of marketing contacts in your SendGrid account, along with the billable contact count.

Returns: id, result, tool_result, success, error

SendGrid: Delete Contacts

marketing/sendgrid/contact_delete · Action

Delete marketing contacts from SendGrid, either by a list of contact IDs or every contact in the account. SendGrid deletes asynchronously and returns a job ID — poll "SendGrid: Get Import Status" with the job ID to see when it completes.

FieldTypeDetails
Contact IDsstringComma-separated SendGrid contact IDs to delete — leave blank when deleting all contacts
Delete All ContactsbooleanTick to delete EVERY contact in the account — leave Contact IDs blank when ticked

Returns: id, result, tool_result, success, error

SendGrid: Get Contact

marketing/sendgrid/contact_get · Action

Look up a single marketing contact by its SendGrid contact ID and return the full contact record. To find a contact by email address instead, use "SendGrid: Get Contact by Email".

FieldTypeDetails
Contact IDstringRequiredThe SendGrid contact ID to look up

Returns: id, result, tool_result, success, error

SendGrid: Get Contact by Email

marketing/sendgrid/contact_get_by_email · Action

Look up a single marketing contact by email address (primary or alternate) and return the full contact record. Note that a contact added moments ago may not be found yet — SendGrid applies contact changes asynchronously.

FieldTypeDetails
EmailstringRequiredjane@example.com — the address to look up

Returns: id, result, tool_result, success, error

SendGrid: Get Import Status

marketing/sendgrid/contact_import_status · Action

Check the progress of an asynchronous contact job — the job ID returned by "SendGrid: Create or Update Contact" or "SendGrid: Delete Contacts". The status is pending, completed, errored, or failed, with counts of what was processed and a link to any error details.

FieldTypeDetails
Job IDstringRequiredThe job ID returned by a contact create/update or delete

Returns: id, result, tool_result, success, error

SendGrid: List Recent Contacts

marketing/sendgrid/contact_list · Action

Retrieve a sample of up to 50 most recently updated marketing contacts. SendGrid does not offer a way to page through every contact here — use "SendGrid: Search Contacts" to find specific contacts, or "SendGrid: Count Contacts" for the account total.

Returns: results, count, tool_result, success, error

marketing/sendgrid/contact_search · Action

Search your marketing contacts with a SendGrid query (SGQL), e.g. email LIKE 'jane%' AND CONTAINS(list_ids, 'your-list-id'). SendGrid returns at most the first 50 matches; the count output reports the total number matched. Emails are stored lower-case, so compare against lower-case addresses.

FieldTypeDetails
Query (SGQL)textRequiredemail LIKE 'jane%' AND CONTAINS(list_ids, 'your-list-id')

Returns: results, count, tool_result, success, error

SendGrid: Create or Update Contact

marketing/sendgrid/contact_upsert · Action

Add a marketing contact to SendGrid, or update them if the email address already exists. SendGrid applies the change asynchronously and returns a job ID — the contact will not be visible immediately; poll "SendGrid: Get Import Status" with the job ID to see when it completes.

FieldTypeDetails
EmailstringRequiredjane@example.com — identifies the contact; an existing contact with this address is updated
First NamestringJane
Last NamestringDoe
Alternate EmailsstringComma-separated additional addresses for this contact (up to 5)
Phone Number (E.164)string+441234567890 — stored as the contact's Phone Number ID, an additional SendGrid contact identifier
Address Line 1string1 High Street
Address Line 2stringSuite 4
CitystringLondon
State / Province / RegionstringGreater London
Postal CodestringSW1A 1AA
CountrystringUnited Kingdom
Custom Fields (JSON)object{"e1_T":"VIP"} — keyed by custom field ID (not name); use "SendGrid: List Custom Fields" to find the IDs
List IDsstringComma-separated marketing list IDs to add the contact to
Additional Fields (JSON)objectAny other SendGrid contact field, e.g. {"external_id":"crm-123"}

Returns: id, result, tool_result, success, error

06Custom

SendGrid: List Custom Fields

marketing/sendgrid/custom_field_list · Action

List the custom field definitions in your SendGrid Marketing account. Use each field's ID (for example e1_T) as the key when setting custom field values on a contact. Optionally include SendGrid's built-in reserved fields too.

FieldTypeDetails
Include Reserved FieldsbooleanTick to also return SendGrid's built-in reserved fields (first_name, email, ...) alongside your custom fields

Returns: results, count, tool_result, success, error

07Global

SendGrid: Add Global Unsubscribes

marketing/sendgrid/global_unsubscribe_add · Action

Add one or more email addresses to SendGrid's global unsubscribe list so they stop receiving all email from your account. Separate multiple addresses with commas.

FieldTypeDetails
EmailsstringRequiredrecipient@example.com — separate multiple addresses with commas
Additional Fields (JSON)objectAny other SendGrid field to include in the request body

Returns: id, result, tool_result, success, error

SendGrid: Check Global Unsubscribe

marketing/sendgrid/global_unsubscribe_check · Action

Check whether an email address is on SendGrid's global unsubscribe list. Returns a clear yes or no — an address that is not on the list is a normal result, not an error.

FieldTypeDetails
EmailstringRequiredrecipient@example.com — the address to check

Returns: id, result, tool_result, success, error

SendGrid: Delete Global Unsubscribe

marketing/sendgrid/global_unsubscribe_delete · Action

Remove an email address from SendGrid's global unsubscribe list so it can receive email from your account again.

FieldTypeDetails
EmailstringRequiredrecipient@example.com — the address to remove from the global unsubscribe list

Returns: id, result, tool_result, success, error

08Invalid

SendGrid: Delete Invalid Email

marketing/sendgrid/invalid_email_delete · Action

Remove addresses from your SendGrid invalid email list so delivery can be attempted again. Provide a single Email, a comma-separated Emails list, or tick Delete All to clear the entire list.

FieldTypeDetails
EmailstringA single address to remove — leave blank to use Emails or Delete All
EmailsstringComma-separated addresses to remove in one go — cannot be combined with Delete All
Delete AllbooleanTick to clear the entire invalid email list — cannot be combined with Emails

Returns: id, result, tool_result, success, error

SendGrid: Get Invalid Email

marketing/sendgrid/invalid_email_get · Action

Look up a single email address on your SendGrid invalid email list. If the address is not on the list, the action reports that no invalid email was found.

FieldTypeDetails
EmailstringRequiredThe address to look up, e.g. jane@example.com

Returns: id, result, tool_result, success, error

SendGrid: List Invalid Emails

marketing/sendgrid/invalid_email_list · Action

Retrieve the addresses on your SendGrid invalid email list — addresses that could not be delivered because they are malformed or the mailbox does not exist. Optionally narrow the list to a date range.

FieldTypeDetails
Start TimedatetimeOnly invalid email entries created on or after this time, e.g. 2026-07-01T00:00:00Z
End TimedatetimeOnly invalid email entries created on or before this time, e.g. 2026-07-08T23:59:59Z
LimitstringMax results to return (default 100)
Return AllbooleanTick to fetch every result page instead of just the first

Returns: results, count, tool_result, success, error

09List

SendGrid: Create Contact List

marketing/sendgrid/list_create · Action

Create a new contact list in SendGrid Marketing. Give the list a name (it must be unique in your account) — you can then add contacts to it with the contact actions.

FieldTypeDetails
NamestringRequiredThe list's name — must be unique in your account
Additional Fields (JSON)objectAny other SendGrid list field as JSON, e.g. {"key":"value"}

Returns: id, result, tool_result, success, error

SendGrid: Delete Contact List

marketing/sendgrid/list_delete · Action

Delete a contact list from SendGrid Marketing, optionally deleting its contacts too. The contacts survive unless you tick Also Delete Contacts; when they are deleted SendGrid processes the removal in the background and returns a job ID.

FieldTypeDetails
ListstringRequired · ● live pickerThe contact list to delete — see "SendGrid: List Contact Lists"
Also Delete ContactsbooleanTick to also delete the list's contacts from your account, not just the list itself

Returns: id, result, tool_result, success, error

SendGrid: Get Contact List

marketing/sendgrid/list_get · Action

Look up one contact list in SendGrid Marketing — its name and how many contacts it holds, optionally with a sample of up to 50 of its contacts.

FieldTypeDetails
ListstringRequired · ● live pickerThe contact list to fetch — see "SendGrid: List Contact Lists"
Include Contact SamplebooleanTick to also return a sample of up to 50 of the list's contacts

Returns: id, result, tool_result, success, error

SendGrid: List Contact Lists

marketing/sendgrid/list_get_all · Action

List the contact lists in your SendGrid Marketing account, with each list's name and contact count.

FieldTypeDetails
LimitstringMax results (default 100)
Return AllbooleanReturn every list (ignores Limit)

Returns: results, count, tool_result, success, error

SendGrid: Remove Contacts from List

marketing/sendgrid/list_remove_contacts · Action

Remove contacts from a SendGrid Marketing list without deleting them — they stay in your account and in any other lists. SendGrid processes the removal in the background and returns a job ID.

FieldTypeDetails
ListstringRequired · ● live pickerThe contact list to remove contacts from — see "SendGrid: List Contact Lists"
Contact IDsstringRequiredComma-separated contact IDs to remove from the list

Returns: id, result, tool_result, success, error

SendGrid: Update Contact List

marketing/sendgrid/list_update · Action

Rename a contact list in SendGrid Marketing. Choose the list and provide its new name.

FieldTypeDetails
ListstringRequired · ● live pickerThe contact list to rename — see "SendGrid: List Contact Lists"
New NamestringRequiredThe list's new name — must be unique in your account
Additional Fields (JSON)objectAny other SendGrid list field as JSON, e.g. {"key":"value"}

Returns: id, result, tool_result, success, error

10Mail

SendGrid: Send Email

marketing/sendgrid/mail_send · Action

Send an email through SendGrid. Provide a verified From address and one or more recipients, then either write the subject and content directly or send a dynamic template. SendGrid accepts the message for delivery and returns its message ID.

FieldTypeDetails
From EmailstringRequiredsender@yourdomain.com — must be a verified sender or an address on your authenticated domain
From NamestringJane at Acme
TostringRequiredrecipient@example.com — separate multiple addresses with commas
CcstringComma-separated — SendGrid rejects an address that appears more than once across To, Cc, and Bcc
BccstringComma-separated — SendGrid rejects an address that appears more than once across To, Cc, and Bcc
Reply TostringComma-separated addresses replies should go to
Use TemplatebooleanTick to send a dynamic template instead of writing the subject and content here
SubjectstringThe email subject line
Content TypestringHTML unless you choose plain text — choices: HTML, Plain Text
ContenttextThe email body — HTML or plain text to match the Content Type
Templatestring● live pickerThe dynamic template to send (d-...) — see "SendGrid: List Templates"
Template Data (JSON)object{"first_name":"Jane"} — values for the template's {{handlebars}}
Send AtdatetimeSchedule delivery up to 72 hours ahead, e.g. 2026-07-10T09:00:00Z
CategoriesstringComma-separated category names (up to 10) for filtering your email stats
Unsubscribe Groupstring● live pickerThe unsubscribe (ASM) group this email belongs to
Sandbox ModebooleanTick to validate the message without sending it (nothing is delivered or billed)
Attachments (JSON)object[{"content":"<base64>","filename":"report.pdf","type":"application/pdf","disposition":"attachment"}]
Custom Args (JSON)object{"order_id":"12345"} — passed through to event webhook events
Additional Fields (JSON)objectAny other SendGrid mail field, e.g. {"ip_pool_name":"marketing"}

Returns: id, result, tool_result, success, error

11Segment

SendGrid: Get Segment

marketing/sendgrid/segment_get · Action

Look up one segment in SendGrid Marketing — its query, contact count, and a sample of the contacts currently in it.

FieldTypeDetails
SegmentstringRequired · ● live pickerThe segment to fetch — see "SendGrid: List Segments"

Returns: id, result, tool_result, success, error

SendGrid: List Segments

marketing/sendgrid/segment_list · Action

List the segments in your SendGrid Marketing account — the dynamic groups of contacts defined by a query. Optionally only return segments attached to specific parent lists.

FieldTypeDetails
Parent ListsstringComma-separated list IDs — only return segments attached to these lists

Returns: results, count, tool_result, success, error

12Sender

SendGrid: List Verified Senders

marketing/sendgrid/sender_list · Action

Retrieve the verified single senders on your SendGrid account — the From addresses you can send from. A domain you have authenticated additionally allows any From address on that domain.

FieldTypeDetails
LimitstringMax results — leave blank for all senders

Returns: results, count, tool_result, success, error

13Spam

SendGrid: Delete Spam Report

marketing/sendgrid/spam_report_delete · Action

Remove addresses from your SendGrid spam report list so mail can be sent to them again. Provide a single Email, a comma-separated Emails list, or tick Delete All to clear the entire list.

FieldTypeDetails
EmailstringA single address to remove — leave blank to use Emails or Delete All
EmailsstringComma-separated addresses to remove in one go — cannot be combined with Delete All
Delete AllbooleanTick to clear the entire spam report list — cannot be combined with Emails

Returns: id, result, tool_result, success, error

SendGrid: Get Spam Report

marketing/sendgrid/spam_report_get · Action

Look up a single email address on your SendGrid spam report list. If the address has not reported your email as spam, the action reports that no spam report was found.

FieldTypeDetails
EmailstringRequiredThe address to look up, e.g. jane@example.com

Returns: id, result, tool_result, success, error

SendGrid: List Spam Reports

marketing/sendgrid/spam_report_list · Action

Retrieve the addresses on your SendGrid spam report list — recipients who marked your email as spam. Optionally narrow the list to a date range.

FieldTypeDetails
Start TimedatetimeOnly spam reports created on or after this time, e.g. 2026-07-01T00:00:00Z
End TimedatetimeOnly spam reports created on or before this time, e.g. 2026-07-08T23:59:59Z
LimitstringMax results to return (default 100)
Return AllbooleanTick to fetch every result page instead of just the first

Returns: results, count, tool_result, success, error

14Stats

SendGrid: Get Stats

marketing/sendgrid/stats_get · Action

Retrieve your SendGrid email statistics — requests, delivered, opens, clicks, bounces, and more — for a date range, optionally aggregated by day, week, or month. Dates use YYYY-MM-DD format.

FieldTypeDetails
Start DatestringRequired2026-01-31
End Datestring2026-01-31 — defaults to today
Aggregated BystringHow to bucket the statistics — by day unless you choose otherwise — choices: Day, Week, Month

Returns: results, count, tool_result, success, error

15Template

SendGrid: Create Template

marketing/sendgrid/template_create · Action

Create a new dynamic transactional template in SendGrid. A template starts with no content — add a subject and body with "SendGrid: Create Template Version", then send it with "SendGrid: Send Email".

FieldTypeDetails
NamestringRequiredA name for the template, e.g. Order Confirmation
Additional Fields (JSON)objectAny other SendGrid template field, e.g. {"generation":"legacy"}

Returns: id, result, tool_result, success, error

SendGrid: Delete Template

marketing/sendgrid/template_delete · Action

Permanently delete a transactional template from SendGrid, including all of its versions. This cannot be undone.

FieldTypeDetails
TemplatestringRequired · ● live pickerThe template to delete — see "SendGrid: List Templates"

Returns: id, result, tool_result, success, error

SendGrid: Get Template

marketing/sendgrid/template_get · Action

Look up a single transactional template in SendGrid, including every version of the template.

FieldTypeDetails
TemplatestringRequired · ● live pickerThe template to retrieve — see "SendGrid: List Templates"

Returns: id, result, tool_result, success, error

SendGrid: List Templates

marketing/sendgrid/template_list · Action

Retrieve the transactional templates on your SendGrid account. Shows dynamic (handlebars) templates unless you also ask for legacy ones; tick Return All to fetch every page.

FieldTypeDetails
GenerationsstringDynamic unless you also need your legacy templates — choices: Dynamic, Legacy, Legacy and Dynamic
LimitstringMax results (default 100, up to 200 per page)
Return AllbooleanTick to fetch every page of templates

Returns: results, count, tool_result, success, error

SendGrid: Update Template

marketing/sendgrid/template_update · Action

Rename a transactional template in SendGrid. The template's versions and content are unchanged.

FieldTypeDetails
TemplatestringRequired · ● live pickerThe template to rename — see "SendGrid: List Templates"
NamestringRequiredThe new name for the template
Additional Fields (JSON)objectAny other SendGrid template field to update

Returns: id, result, tool_result, success, error

SendGrid: Activate Template Version

marketing/sendgrid/template_version_activate · Action

Make a specific version of a SendGrid transactional template the active one — the version that is used whenever the template is sent.

FieldTypeDetails
TemplatestringRequired · ● live pickerThe template the version belongs to — see "SendGrid: List Templates"
Version IDstringRequiredThe version to activate — see "SendGrid: Get Template" for the template's versions

Returns: id, result, tool_result, success, error

SendGrid: Create Template Version

marketing/sendgrid/template_version_create · Action

Add a new version to a SendGrid transactional template. Provide the subject and HTML content, and tick Active to make this the version that is sent.

FieldTypeDetails
TemplatestringRequired · ● live pickerThe template to add a version to — see "SendGrid: List Templates"
NamestringRequiredA name for this version, e.g. July redesign
SubjectstringThe email subject line — {{handlebars}} are substituted at send time
HTML ContenttextThe HTML body of the email — {{handlebars}} are substituted at send time
Plain Text ContenttextThe plain-text body — leave blank to have SendGrid generate it from the HTML
Generate Plain TextbooleanTick to have SendGrid regenerate the plain-text body from the HTML content
ActivebooleanTick to make this the active version — the one used when the template is sent
Additional Fields (JSON)objectAny other SendGrid version field, e.g. {"test_data":"{\"first_name\":\"Jane\"}"}

Returns: id, result, tool_result, success, error

16Triggers

i
The SendGrid trigger registers its webhook with SendGrid automatically when the flow is saved — there is nothing to paste into the SendGrid dashboard. Pick the events you care about (or leave the list empty for all of them), and Flomation enables signed-event verification so every delivery is checked to be genuinely from SendGrid.

SendGrid Webhook Trigger

trigger/sendgrid_webhook · Trigger

Triggers a flow when SendGrid reports an email event — delivered, bounced, opened, clicked, marked as spam, unsubscribed, and more. The event webhook is registered with SendGrid automatically and signed-event verification is enabled.

FieldTypeDetails
Eventsmulti_selectEvents to fire on (leave empty for all). Recommended: Delivered, Bounced, Opened, Link Clicked, Marked as Spam, Unsubscribed — choices: Processed (accepted by SendGrid), Delivered, Deferred (temporarily rejected), Bounced, Blocked, Dropped (not sent), Opened, Link Clicked, Marked as Spam, Unsubscribed, Group Unsubscribed, Group Resubscribed

Returns: content, event, email, timestamp, sg_message_id, sg_event_id, sg_machine_open, type, reason, status, response, attempt, category, url, useragent, ip, tls, body

17Notes & Limitations

Behaviours and constraints worth knowing before you build with these nodes.