List Comments
twist.get_comments
ActionChat & messagingconnection required
Calls the Twist API with the connection's credentials.
Read a page of the comments on a thread.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Twist
- Secret shape
- {"access_token": "…"} — the token Twist's OAuth2 flow returns
- Config it needs
- workspace_id, channel_id
- Resolved by
- config.connection_id, else node.connection_id
Configuration
4 fields, 1 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 |
|---|---|---|---|---|---|
thread_id The thread to act on, as returned by twist.add_thread or twist.get_threads. | string | Yes | — | — | 32038 |
limit How many records to return; Twist defaults to 20 and allows at most 500. | number | No | 20 | 1–500 | — |
newer_than_ts Only return records posted after this Unix timestamp, in seconds. | number | No | — | ≥ 0 | — |
older_than_ts Only return records posted before this Unix timestamp, in seconds. | number | No | — | ≥ 0 | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"limit": 20,
"thread_id": "32038"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
items The records Twist returned, newest first. | array | — |
count How many records this page carried. | number | — |
thread_id The thread the comments were read from. | number | — |
{
"count": 0,
"items": [],
"thread_id": 0
}See List Comments run in a workflow.
In a technical demo we add the Twist connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.