List Channels
twake.list_channels
ActionChat & messagingconnection required
Calls the Twake API with the connection's credentials.
Read the channels of a workspace, so a later step can post into one.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Twake
- Secret shape
- {"app_id": "…", "app_secret": "…"} — the application's API settings
- Config it needs
- base_url, company_id, workspace_id
- Resolved by
- config.connection_id, else node.connection_id
Configuration
4 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
limit How many records to return in one page. | number | No | 50 | ≥ 1 | — |
page_token Continuation token from a previous call's next_page_token; blank starts at the first page. | string | No | — | — | — |
company_id Twake company to act in; overrides the company set on the connection. | string | No | — | — | a1b2c3d4-1111-2222-3333-444455556666 |
workspace_id Twake workspace to act in; overrides the workspace set on the connection. | string | No | — | — | 99887766-aaaa-bbbb-cccc-ddddeeeeffff |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"company_id": "a1b2c3d4-1111-2222-3333-444455556666",
"limit": 50,
"workspace_id": "99887766-aaaa-bbbb-cccc-ddddeeeeffff"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
items The records this page carried. | array | — |
count How many records this page carried. | number | — |
next_page_token Token for the next page, empty when this was the last. | string | — |
company_id The company the channels were read from. | string | — |
workspace_id The workspace the channels were read from. | string | — |
{
"company_id": "",
"count": 0,
"items": [],
"next_page_token": "",
"workspace_id": ""
}See List Channels run in a workflow.
In a technical demo we add the Twake connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.