FlowmageDocs

Get batch status

BetaReads data

Reads how far a background batch has got and how many calls failed.

Settings

SettingWhat it is
ConnectionRequiredThe Mailchimp connection the step signs in with.
Batch idFrom Start batch. The per-call results live in a compressed archive Mailchimp keeps at its own address; this node hands back that address, not its contents.
Fields to fetchMailchimp returns everything unless you name the fields you want.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `mailchimp`)
batchIdtext
fieldstext

Output

FieldType
batchobject
statusstring
totalOperationsOperationsnumber
finishedOperationsFinishednumber
erroredOperationsFailednumber
responseBodyUrlResults archive addressstring
isFinishedFinishedboolean
Sample output, and the expression for each field
  • batch
    • id"b1"
    • status"finished"
  • erroredOperations0
  • finishedOperations2
  • isFinishedtrue
  • responseBodyUrl"https://mailchimp-api-batch.s3.amazonaws.com/b1.tar.gz"
  • status"finished"
  • totalOperations2

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": {
    "batchId": "",
    "connection": "<connection id>",
    "fields": ""
  },
  "label": "Get batch status",
  "type": "mailchimp.getBatchStatus",
  "version": 1
}