Get Message
mailjet.get_message
ActionEmailconnection required
Calls the Mailjet API with the connection's credentials.
Fetch the delivery record of one message by its Mailjet message id.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Username & password
- Providers
- Mailjet
- Secret shape
- {"username": "<public API key>", "password": "<private API key>"} (+ "sms_token" for the SMS API)
- Config it needs
- sender_email, sender_name, sms_from, contacts_list_id, base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
message_id Mailjet's numeric message id, as returned by a send in 'message_ids'. | string | Yes | — | — | 576460752303423999 |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"message_id": "576460752303423999"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ID Mailjet's numeric id for the message. | number | — |
Status Where the message got to, e.g. sent or bounce. | string | — |
ContactID Numeric id of the contact it was sent to. | number | — |
Subject Subject line the message was sent with. | string | — |
ArrivedAt When the message was delivered, ISO-8601. | string | — |
CampaignID Numeric id of the campaign it belongs to. | number | — |
MessageSize Size of the message in bytes. | number | — |
{
"ArrivedAt": "",
"CampaignID": 0,
"ContactID": 0,
"ID": 0,
"MessageSize": 0,
"Status": "",
"Subject": ""
}See Get Message run in a workflow.
In a technical demo we add the Mailjet connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.