Parse Conversation Response Action
Parses the JSON response from the Parse Conversation Inquiries prompt template from a contact center conversation transcript into a conversation summary, a resolution status, extracted inquiries, and an inquiry count.
This action is available in API version 68.0 and later.
URI: /services/data/vXX.X/actions/standard/parseConversationResponse
Where XX.X is the latest API version.
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is your OAuth access token.
| Input | Type | Description |
|---|---|---|
promptResponse | String | Required The raw JSON response generated by the Parse Conversation Inquiries prompt template from a contact center conversation transcript. |
| Output | Type | Description |
|---|---|---|
conversationSummary | String | An overall summary of the contact center conversation. |
inquiryCount | Integer | The number of inquiries extracted from the conversation. |
isConversationResolved | Boolean | Indicates whether the entire conversation was resolved (true) or not (false). |
parsedInquiries | List | The inquiries extracted from the conversation, each with a subject, description, and resolved flag. Loop over this collection to create a case for each inquiry. |
Sample Request
Sample Response