Get batch status
BetaReads data
Reads how far a background batch has got and how many calls failed.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Mailchimp connection the step signs in with. |
| Batch id | From 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 fetch | Mailchimp returns everything unless you name the fields you want. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `mailchimp`) |
batchId | text |
fields | text |
Output
| Field | Type |
|---|---|
batch | object |
status | string |
totalOperationsOperations | number |
finishedOperationsFinished | number |
erroredOperationsFailed | number |
responseBodyUrlResults archive address | string |
isFinishedFinished | boolean |
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
}