Read email audiences
readSegmentsThe workspace's email segments and how many subscribers each had when last counted. The nightly RFM segments have a key; every segment has an id, and either one names it for previewSend and draftCampaign. Use this before proposing a campaign so the audience is real rather than assumed.
Only for a workspace with subscribed email contacts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | No | The workspace, as listWorkspaces gives it (its id or slug). Leave it out when this connection reaches one workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segments | Yes | Newest first |