Loading

Retrieve Conversation Entries for Enhanced Messaging Sessions

Julkaisupäivä: Nov 26, 2024
Kuvaus

Conversation entries will NOT be stored on conversationEntry object for Enhanced Messaging channels like Voice, Enhanced Facebook, Enhanced WhatsApp, Messaging for In-App and Web.


Ratkaisu

Use Connect REST API to fetch query conversation entries for Enhanced Messaging channels via workbench

Steps to fetch the conversation entries via connect REST API : 

Step 1 : Log in to the Workbench for the Org from which you wish to retrieve the conversation entries.

Step 2 : Navigate to SOQL Query under "queries" section within workbench to Get the conversationIdentifer by querying on Conversation Object using the ID of the Conversation.

 SELECT ConversationIdentifier FROM Conversation where ID = '0DW...'


Example ConversationIdentifier :

 2effc31e-2472-4952-9f3f-a7ff2d58c829 


Step 3 : Navigate to REST Explorer under "utilities section" within workbench
and add => /connect/conversation/conversationIdentifier/entries to the existing URI /services/data/v58.0

The new URI looks like 

 /services/data/v58.0/connect/conversation/conversationIdentifier/entries  


Now replace the ConversationIdentifier we captured in Step 2  in the below URI : 

/connect/conversation/"conversationIdentifier"/entries 

URI then looks like :  

 /services/data/v58.0/connect/conversation/2effc31e-2472-4952-9f3f-a7ff2d58c829/entries

You will now be able to see the Conversation Entries.


Note : This knowledge article is ONLY intended to help you with capturing conversation entries for enhanced messaging channels. Workbench is NOT a supported product of or supported by salesforce.com inc.

Knowledge-artikkelin numero

003600224

 
Ladataan
Salesforce Help | Article