Docs for Salesforce Live Chat Customer Field

image
I have passed the customFields data to the raise ticket node. this is the data looks like:

[
        {
            "label": "Source",
            "value": data.variables.origin,
            "transcriptFields": [
                "Source__c"
            ],
            "displayToAgent": true
        },
        {
            "label": "Chat Transcript URL",
            "value": data.variables.chatTranscriptUrl,
            "transcriptFields": [
                "Chat_Transcript_URL__c"
            ],
            "displayToAgent": true
        },
        {
            "label": "Contact Name",
            "value": data.variables.contactId,
            "transcriptFields": [
                "ContactId"
            ],
            "displayToAgent": true
        },
        {
            "label": "CaseId",
            "value": data.variables.caseId,
            "transcriptFields": [
                "CaseId"
            ],
            "displayToAgent": true
        },
        {
            "label": "Phone Number",
            "value": data.variable.phone,
            "transcriptFields": [
                "Phone_Number__c"
            ],
            "displayToAgent": true
        }
    ]

However, the data is not sent to the salesforce. Can someone guide me?

Hey Hasan,
Can you also add entityMaps for each value and check.
You can refer to https://docs.yellow.ai/docs/platform_concepts/appConfiguration/salesforcelivechat where the sample for custom fields are provided.

Thanks for responding. will try based on the docs. However how do we know the entityName ?