Social integration: CXG Conversation Object Reference
CXG Conversation related objects
The CXG Conversation feature uses the following objects in the CXG managed package:
Object name | Object description |
MessagingChannel__c | The message channel object. It represents the configuration of a message channel. |
MessagingEndUser__c | The message end user object. It represents an end user of a message channel. |
MessagingSession__c | The message session object. It represents a session on a message channel. |
Conversation__c | The session object. It represents a session. |
ConversationEntry__c | The session entry object. It represents an entry in a session. |
Messaging Channel
Object API name: CXG__MessagingChannel__c
Object description: This object represents the configuration of a message channel.
Field name | Description |
External Id | For internal use by CXG. The rule is to concatenate the channel type and the channel app_id. |
Name | The channel name. Used to record the name of the WeChat Official Account Platform. |
Developer Name | For internal use by CXG. Same as |
Master Label | The message channel type. Supports types such as WeChat and WeCom. |
Message Type | The channel type. Includes |
Messaging Channel Name | The message channel type. Supports types such as WeChat and WeCom. |
Messaging Platform Key | The ID of the third-party channel, such as the |
Messaging End User
Object API name: CXG__MessagingEndUser__c
Object description: This object represents an end user of a message channel.
Field name | Description |
Account | Lookup(Account). This field can be populated manually or by custom logic as needed. |
Contact | Lookup(Contact). This field can be populated manually or by custom logic as needed. |
External Id | For internal use by CXG. The rule is to concatenate the channel type and the Official Account Open ID. |
Lead | Lookup(Lead). This field can be populated manually or by custom logic as needed. |
Message Type | The message type. Includes |
Messaging Channel | Lookup(CXGMessagingChannel__c). This field corresponds to the channel ID of the Messaging End User. |
Messaging End User Name | The default value is |
Messaging Platform Key | In the CXG Conversation scenario, this is the |
Union Id | If the channel type for this Messaging End User is |
Corp Name | Reserved field. |
Avatar | Reserved field. |
Messaging Session
Object API name: CXG__MessagingSession__c
Object description: This object represents a session on a message channel.
Field name | Description |
Case | Lookup(Case). The case associated with the session. |
Channel Key | The |
Channel Name | The name of the channel to which the session belongs. |
Channel Type | The type of channel to which the session belongs. Includes |
Chat Type | Reserved field. |
Conversation | Lookup(CXGConversation__c). The Conversation associated with this Messaging Session. |
Accept Time | The time when the agent accepted the session. |
Start Time | The start time of the Messaging Session. |
End Time | The end time of the Messaging Session. |
Ended By Type | The type of entity that ended the session. Includes |
External Id | For internal use by CXG. |
Messaging Channel | Lookup(CXGMessagingChannel__c). The Messaging Channel to which this session belongs. |
Messaging End User | Lookup(CXGMessagingEndUserc), the messaging end user in the session |
Status | The session status. Includes |
Target User | The CRM User ID of the user who accepted the session. |
Agent Type | Reserved field. The default value is |
Conversation
Object API name: CXG__Conversation__c
Object description: This object represents a conversation.
Field name | Description |
Conversation Channel | Lookup(CXGMessagingChannel__c). Corresponds to the source channel of the Conversation. |
End Time | The session end time. Same as the End Time of the Messaging Session. |
Start Time | The session start time. Same as the Start Time of the Messaging Session. |
External Id | For internal use by CXG. |
ConversationEntry
Object API name: CXG__ConversationEntry__c
Object description: This object represents an entry in a conversation.
Field name | Description |
Actor Id | Records the ID of the message creator. This is typically |
Actor Name | Records the name of the message creator. This is typically |
Actor Type | Records the type of the message creator. Includes |
Conversation Identifier | Lookup(CXGMessagingSession__c). Identifies the Messaging Session to which this ConversationEntry belongs. |
Entry Time | The time when the message was created. |
Entry Type | The message type. Includes |
External Id | For internal use by CXG. |
Message | The message content. |
Seq | For internal use by CXG. The message sequence, which increments based on the message creation time. |