Publish
rabbitmq.publish
ActionChat & messagingconnection required
Calls the RabbitMQ management API POST /api/exchanges/{vhost}/{exchange}/publish.
Publish a message to a RabbitMQ exchange (or a queue via the default exchange).
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Username & password
- Providers
- RabbitMQ
- Secret shape
- the password, or {"password": "…"}
- Config it needs
- base_url, vhost, username
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 fields, 2 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 |
|---|---|---|---|---|---|
routing_key Routing key (queue name for the default exchange). Supports {{ }}. | string | Yes | — | — | — |
payload Message body. | string | Yes | — | — | — |
exchange Exchange (blank = default exchange). | string | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
routed | boolean | — |
{
"ok": false,
"routed": false
}Related RabbitMQ nodes
See Publish run in a workflow.
In a technical demo we add the RabbitMQ connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.