Get message content
BetaReads data
Reads back the full content of one recently sent message.
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. Only recently sent mail can be read back, and a refused message has no stored content. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `mailchimp-transactional`) |
messageId | text |
Output
| Field | Type |
|---|---|
contentSender, subject, headers, both bodies and the attachments | object |
Sample output, and the expression for each field
- content
- html"<p>hi</p>"
- 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 content",
"type": "mandrill.getMessageContent",
"version": 1
}