Sendblue provides 2 triggers for automating workflows based on events.
Triggers
Sendblue Message Received
Trigger when an inbound iMessage or SMS is received in Sendblue
Output
| Parameter | Type | Description |
|---|---|---|
account_email | string | Email of the Sendblue account |
content | string | Message text content |
media_url | string | CDN link to attached media, if any |
is_outbound | boolean | True for outbound messages, false for inbound |
status | string | Message status (e.g., RECEIVED, QUEUED, SENT, DELIVERED, ERROR) |
error_code | number | Error identifier, null if none |
error_message | string | Descriptive error text, null if none |
error_reason | string | Additional error context, null if none |
error_detail | string | Detailed error information, null if none |
message_handle | string | Sendblue message identifier (use to deduplicate) |
date_sent | string | ISO 8601 creation timestamp |
date_updated | string | ISO 8601 last-update timestamp |
from_number | string | E.164 sender phone number |
number | string | E.164 recipient/counterparty phone number |
to_number | string | E.164 destination phone number |
was_downgraded | boolean | True if the recipient lacks iMessage support |
plan | string | Account plan type |
message_type | string | Message category (e.g., message, group) |
group_id | string | Group identifier, empty for non-group messages |
participants | array | Participant phone numbers for group messages |
send_style | string | Expressive style if applied |
opted_out | boolean | True if the recipient has opted out |
sendblue_number | string | Sendblue phone number used |
service | string | Messaging service (iMessage or SMS) |
group_display_name | string | Group chat name, null for non-group messages |
sender_email | string | Email of the user who sent the message |
seat_id | string | Seat UUID, null if absent |
raw | string | Complete raw webhook payload from Sendblue as a JSON string |
Sendblue Message Status Updated
Trigger when an outbound message status changes (SENT, DELIVERED, ERROR) in Sendblue
Output
| Parameter | Type | Description |
|---|---|---|
account_email | string | Email of the Sendblue account |
content | string | Message text content |
media_url | string | CDN link to attached media, if any |
is_outbound | boolean | True for outbound messages, false for inbound |
status | string | Message status (e.g., RECEIVED, QUEUED, SENT, DELIVERED, ERROR) |
error_code | number | Error identifier, null if none |
error_message | string | Descriptive error text, null if none |
error_reason | string | Additional error context, null if none |
error_detail | string | Detailed error information, null if none |
message_handle | string | Sendblue message identifier (use to deduplicate) |
date_sent | string | ISO 8601 creation timestamp |
date_updated | string | ISO 8601 last-update timestamp |
from_number | string | E.164 sender phone number |
number | string | E.164 recipient/counterparty phone number |
to_number | string | E.164 destination phone number |
was_downgraded | boolean | True if the recipient lacks iMessage support |
plan | string | Account plan type |
message_type | string | Message category (e.g., message, group) |
group_id | string | Group identifier, empty for non-group messages |
participants | array | Participant phone numbers for group messages |
send_style | string | Expressive style if applied |
opted_out | boolean | True if the recipient has opted out |
sendblue_number | string | Sendblue phone number used |
service | string | Messaging service (iMessage or SMS) |
group_display_name | string | Group chat name, null for non-group messages |
sender_email | string | Email of the user who sent the message |
seat_id | string | Seat UUID, null if absent |
raw | string | Complete raw webhook payload from Sendblue as a JSON string |