Write a reply with AI
draft_reply_with_aiUse the workspace's AI model to draft the next reply, answer only from the help articles, summarise the conversation as a note, or rework a text (shorter, friendlier, formal, fix spelling, translate). It returns text and sends nothing; it spends the workspace's AI budget.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | The text to rework, for the rewrite actions and translate. | |
| action | Yes | What to write. | |
| prompt | No | An instruction for a draft, e.g. "say refunds are on". | |
| language | No | For translate: the language. Default: the customer's language. | |
| conversationId | Yes | Conversation id from list_conversations. |