FlowmageDocs

List groups

BetaReads dataVersion 2

Shows the contact groups you can send a message to.

Settings

SettingWhat it is
ConnectionRequiredThe MessageBird connection the step signs in with.
Groups per call1 to 200 — MessageBird's own maximum for groups.
SkipHow many groups to skip. Ignored when Fetch every page is on.
Fetch every pageWalks the offset from the start, and refuses past 5,000 groups rather than answering a short list.
CursorPaste a previous run's Next cursor to read the page after it.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `messagebird`)
limitnumber, by default 20
offsetnumber, by default 0
returnAlltrue/false, by default false
cursortext

Output

FieldType
groupsarray
groupCountGroups in this answernumber
hasMoreMore groups are waiting behind this pageboolean
totalCountGroups MessageBird has in totalnumber
nextCursorCursor for the next pagestring
Sample output, and the expression for each field
  • groupCount0
  • groups[]
  • hasMorefalse
  • totalCount0

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>",
    "cursor": "",
    "limit": 20,
    "offset": 0,
    "returnAll": false
  },
  "label": "List groups",
  "type": "messagebird.listGroups",
  "version": 2
}

Older versions

A flow that already has this version keeps running it. A new step always gets the newest.

Version 1
SettingWhat it is
ConnectionRequiredThe MessageBird connection the step signs in with.
Groups per call1 to 200 — MessageBird's own maximum for groups.
SkipHow many groups to skip. Ignored when Fetch every page is on.
Fetch every pageWalks the offset from the start, and refuses past 5,000 groups rather than answering a short list.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `messagebird`)
limitnumber, by default 20
offsetnumber, by default 0
returnAlltrue/false, by default false