API (Real Time)
API (Real Time)
- Upload transcripts or use a conversation from AI Transcribe and receive the insights instantly.
- You can use this approach for real-time experiences like conversation routing and form pre-filling.
- For digital channels: Provide the chat messages directly.
- For voice channels: Use AI Transcribe or your own transcription service.
Salesforce plugin
Salesforce plugin
- Supports only Salesforce Chat.
- Inserts free-text summaries into conversation objects.
Salesforce Plugin
Learn how to use the Salesforce Plugin
- Provide transcripts
- Extract insights with AI Summary API
Before you Begin
Before you start integrating AI Summary, you need to:- Get your API Key Id and Secret
- Ensure your account and API key can access AI Summary. Reach out to your ASAPP team if you are unsure.
Step 1: Provide transcripts
How you provide transcripts depends on the conversation channel. For digital channels:- Use the conversation API to upload the messages directly.
- Use AI Transcribe Service to transcribe the audio, or
- Upload utterances via Conversation API if using your own transcription service.
- Use Conversation API
- Use AI Transcribe
To send transcripts via the Conversation API, you need to:This conversation represents a thread of messages between an end user and one or more agents. A successfully created conversation returns a status code of 200 and provides the Each time your end user or an agent sends a message, you need to add the messages to the conversation by creating a A successfully created message returns a status code of 200 and the id of the message.
- Create a
conversation. - Add
messagesto theconversation.
conversation, provide your IDs for the conversation and customer.id of the conversation.message on the conversation. This may be either the chat messages in digital channels or the audio transcript from your transcription service.You have the choice to add a single message for each turn of the conversation, or you can upload a batch of messages for a conversation.- Single message
- Batched messages
Step 2: Extract Insights
AI Summary offers three types of insights, each with its own API endpoint:- Free text summary
- Intent
- Structured Data