Get message
BetaReads data
Looks up one sent message and answers its delivery state and events.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Mailchimp Transactional connection the step signs in with. |
| Message idRequired | The _id a send, a search or a webhook answered with. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `mailchimp-transactional`) |
messageId | text |
Output
| Field | Type |
|---|---|
messageThe whole message record | object |
stateDelivery state | string |
emailRecipient | string |
subject | string |
opensTimes opened | number |
clicksTimes clicked | number |
smtpEventsWhat the receiving server said | array |
bounceDescriptionWhy it bounced | string |
Sample output, and the expression for each field
- bounceDescription""
- clicks1
- email"jane@example.com"
- message
- _id"msg-1"
- state"sent"
- opens2
- smtpEvents[]
- state"sent"
- subject"Your order"
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"connection": "<connection id>",
"messageId": "<message id>"
},
"label": "Get message",
"type": "mandrill.getMessage",
"version": 1
}