Workflow blocks
Post Conversation Message
Send a business-authored message on a Sunshine Conversations conversation (messaging channels).
zendesk/post-conversation-message — Send a business-authored message on a Sunshine Conversations conversation (messaging channels).
Where it appears
The Post Conversation Message block lives in the Integrations group of the Workflow Builder. Connect the Zendesk integration before adding it.
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
conversationId | text (supports references) | Yes | — | Sunshine Conversations conversation ID to post the message to. Use a literal ID or <StepName.field> from a previous step. |
text | text (multi-line, supports references) | Yes | — | Business-authored message text delivered to the customer on the messaging channel. Use literal text or <StepName.field> to reference upstream content. |
Inputs and outputs
Inputs are the configurable fields above. The block produces these outputs:
Outputs
Reference an output downstream with <Post Conversation Message.field>.
| Name | Type | Description |
|---|---|---|
success | boolean | Success status |
message | json | Posted message object returned by the API |
error | string | Error message if failed |
Example
A minimal configuration for this block:
{
"type": "zendesk/post-conversation-message",
"config": {
"conversationId": "<PreviousStep.field>",
"text": "<PreviousStep.field>"
}
}Limits and failure modes
- Requires a connected Zendesk integration. Calls fail if that integration is disconnected or its authorization has expired.
- Required fields (
conversationId,text) must be set, or the block fails validation before it runs. - On failure the
erroroutput is populated; downstream blocks that reference other outputs may not receive values.