How can I use the “connect to API” feature in Smart Assist to send a POST request with the transcripts of the entire conversation, including the bot-user and agent-user interactions, after the agent transfer is done?
I can create a static request like this but I would like this JSON to be dynamically created.
{
“conversation_id”: “1234567890”,
“transcripts”: [
{
“sender”: “bot”,
“recipient”: “user”,
“text”: “Hello, how can I help you today?”
},
{
“sender”: “user”,
“recipient”: “bot”,
“text”: “agent.”
},
{
“sender”: “agent”,
“recipient”: “user”,
“text”: "Hi, my name is xxxx, how can I help you today? "
}
]
}
Is there a way to achieve this?
Hi @phanindra.sagiraju ,
Thank you for reaching out to Kore.ai Community.
We are checking on this requirement with the concerned team and will revert back to you with an update.
Thank you,
Srujan Madderla
Kore.ai Community Team
Hi @phanindra.sagiraju,
Please find the below steps on how to hit the API after the agent-user conversation:
Note: The below process will work only if the CSAT is enabled.
- In the CSAT Rating dialog, add the created dialog task node at the end.
With these steps, you can configure your require flow in the instance bot and add it at the end of the CSAT Rating flow.
Kindly find the working sample below for your reference:
Please let us if you have any queries on the suggested solution.
@praveen.adari - can you please share sample of consuming conversation summary API to fetch summary and how this can be shared over email in PDF format?