FlowmageDocs

Get message content

BetaReads data

Reads back the full content of one recently sent message.

Settings

SettingWhat it is
ConnectionRequiredThe Mailchimp Transactional connection the step signs in with.
Message idRequiredThe _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
KeyValue
connectiontexta connection id from `requires.connections` (provider `mailchimp-transactional`)
messageIdtext

Output

FieldType
contentSender, subject, headers, both bodies and the attachmentsobject
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
}