Send Channel Message
twake.send_message
ActionChat & messagingconnection required
Calls the Twake API with the connection's credentials.
Post a message to a channel by opening a new thread on it, and return that thread so replies can be added to it.
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
5 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 |
|---|---|---|---|---|---|
channel_id The channel to post into; twake.list_channels returns the ids. | string | Yes | — | — | c0ffee00-1234-5678-9abc-def012345678 |
text The message text, in Twake's markdown-like format. | string | No | — | — | Deploy finished — release 2026.09 is live. |
blocks Twake message blocks for a rich message (buttons, inputs, embedded views). | array | No | — | array of object | — |
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 |
- At least one of text, blocks must be set.
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"channel_id": "c0ffee00-1234-5678-9abc-def012345678",
"company_id": "a1b2c3d4-1111-2222-3333-444455556666",
"text": "Deploy finished — release 2026.09 is live.",
"workspace_id": "99887766-aaaa-bbbb-cccc-ddddeeeeffff"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
id The thread id — pass it to twake.reply_to_thread. | string | — |
created_by Id of the user or application that opened the thread. | string | — |
created_at Creation time as a millisecond epoch timestamp. | number | — |
last_activity Time of the most recent message, as a millisecond epoch. | number | — |
answers How many replies the thread carries. | number | — |
participants Participants, each with a type of 'channel' or 'user'. | array | — |
{
"answers": 0,
"created_at": 0,
"created_by": "",
"id": "",
"last_activity": 0,
"participants": []
}See Send Channel Message 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.