FlowmageDocs

Get message

BetaReads data

Reads one sent message and the delivery status of every recipient.

Settings

SettingWhat it is
ConnectionRequiredThe MessageBird connection the step signs in with.
Message idRequiredThe id Send SMS answered with.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `messagebird`)
messageIdtextits `{{ }}` must give a string

Output

FieldType
messageobject
statusStatus of the send as a wholestring
recipientsOne row per number, with its statusarray
deliveryErrorsRecipients the network reported a problem forarray
Sample output, and the expression for each field
  • deliveryErrors
    • [0]
      • description"The sender is not registered for this country."
      • recipient31698765432
      • statusErrorCode104
  • message
    • id"msg-1"
    • status"sent"
  • recipients
    • [0]
      • recipient31612345678
      • status"delivered"
  • status"sent"

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": "messagebird.getMessage",
  "version": 1
}