---
schema_version: "1"
id: a721194bb372ee13103aa6ee7d85aa94b4e9f3da79787ab8e889230bafcc02b7
title: Parse Conversation Response Action
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/hc_actions_parse_conversation_response.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/hc_actions_parse_conversation_response.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0deb6ee6a397e21adcfe9cc0cce008edce8ebb1f356ee3cca34ad2337d079ea6
description: 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.
---
# 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.

## Supported REST HTTP Methods

**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.

## Inputs

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d329429e100">Input</th>

              <th class="featureTableHeader  " id="d329429e103">Type</th>

              <th class="featureTableHeader  " id="d329429e106">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d329429e100" data-title="Input">
                <span class="keyword parmname">promptResponse</span>
              </td>

              <td class="entry" headers="d329429e103" data-title="Type">String</td>

              <td class="entry" headers="d329429e106" data-title="Description">Required<p class="p">The raw JSON response generated by the Parse Conversation Inquiries prompt
                  template from a contact center conversation transcript.</p>
              </td>

            </tr>

          </tbody>

        </table>

## Outputs

| 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. |

## Example

**Sample Request**

{
        "inputs": \[
        {
        "promptResponse": "{"conversationSummary": "Customer called about a billing question and a schedule change request.", "resolved": false, "inquiries": \[{"subject": "Billing Question", "description": "Customer disputed a charge on their last invoice.", "resolved": true}, {"subject": "Schedule Change", "description": "Customer requested to reschedule an upcoming appointment.", "resolved": false}\]}"
        }
        \]
        }

**Sample Response**

\[
        {
        "conversationSummary": "Customer called about a billing question and a schedule change request.",
        "isConversationResolved": false,
        "parsedInquiries": \[
        {
        "subject": "Billing Question",
        "description": "Customer disputed a charge on their last invoice.",
        "resolved": true
        },
        {
        "subject": "Schedule Change",
        "description": "Customer requested to reschedule an upcoming appointment.",
        "resolved": false
        }
        \],
        "inquiryCount": 2
        }
        \]