List contact events
Reads the custom events written onto one contact.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Mailchimp connection the step signs in with. |
| Audience id | Picked from the list Mailchimp offers. |
| E-mail address | text |
| Fields to fetch | Mailchimp returns everything unless you name the fields you want. |
| Events per call | 1 to 1,000. |
| Skip this many | number |
| Fetch every page | Walks Mailchimp's pages, and refuses past 5,000 rows rather than answering a short list. |
| Cursor | Paste a previous run's Next cursor to read the page after it. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `mailchimp`) |
audienceId | texta value from the vendor's own list |
email | text |
fields | text |
limit | number, by default 100 |
offset | number, by default 0 |
returnAll | true/false, by default false |
cursor | text |
Output
| Field | Type |
|---|---|
events | array |
eventCountEvents in this answer | number |
hasMoreMore events are waiting behind this page | boolean |
totalItemsEvents in total | number |
nextCursorCursor for the next page | string |
Sample output, and the expression for each field
- eventCount0
- events[]
- hasMorefalse
- totalItems0
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": {
"audienceId": "",
"connection": "<connection id>",
"cursor": "",
"email": "",
"fields": "",
"limit": 100,
"offset": 0,
"returnAll": false
},
"label": "List contact events",
"type": "mailchimp.listMemberEvents",
"version": 2
}Older versions
A flow that already has this version keeps running it. A new step always gets the newest.
Version 1
| Setting | What it is |
|---|---|
| ConnectionRequired | The Mailchimp connection the step signs in with. |
| Audience id | Picked from the list Mailchimp offers. |
| E-mail address | text |
| Fields to fetch | Mailchimp returns everything unless you name the fields you want. |
| Events per call | 1 to 1,000. |
| Skip this many | number |
| Fetch every page | Walks Mailchimp's pages, and refuses past 5,000 rows rather than answering a short list. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `mailchimp`) |
audienceId | texta value from the vendor's own list |
email | text |
fields | text |
limit | number, by default 100 |
offset | number, by default 0 |
returnAll | true/false, by default false |