web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Create a phonecall record with "From" and "To" fields using NiCE CXone Embedded Agent Integration

(0) ShareShare
ReportReport
Posted on by 1

I am trying to create a new phonecall record/acitivity on MS Dynamics CRM using NICE CXOne Agent integration.
While the phonecall record is created sucessfully, the From and To address are not updated on MSD.
The Payload on NICE CXone has all the required data to do this job.  Below is the payload sent from NiCE CXone.

//Input to Create Phoncecall record
DYNAMIC createPhoneCall
DYNAMIC createDataArray
DYNAMIC item1
item1.field = "subject"
item1.value = "{subject}"
DYNAMIC item2
item2.field = "phonenumber"
item2.value = "{ANI}"
DYNAMIC item3
item3.field = "directioncode"
item3.value = "false" // incoming
DYNAMIC item4
item4.field = "scheduledend"
item4.value = "2026-01-21T23:55:00Z"
DYNAMIC phonecallactivityArray
DYNAMIC callfrom
callfrom.EntityType = "******@odata.bind"
callfrom.participationtypemask = 1
callfrom.value = "contacts(XXXXXXXXXXXXXXXX)"
phonecallactivityArray[1] = callfrom
createPhoneCall.contact_activity_parties = phonecallactivityArray
DYNAMIC callto
callto.EntityType = "******@odata.bind"
callto.participationtypemask = 2
callto.value = "systemusers(XXXXXXXXXXXXXXXXXXXXXXXXX)"
phonecallactivityArray[2] = callto
createPhoneCall.entity = "phonecall"
ASSIGN createDataArray[1] = item1
ASSIGN createDataArray[2] = item2
ASSIGN createDataArray[3] = item3
ASSIGN createDataArray[4] = item4
CreatePhoneCall.data = createDataArray
createPhoneCall.screenPop = "true"
createPhoneCall.pinnedRecord = "true"
createPhoneCall.relatesTo = "true"
DYNAMIC createPhoneCallPayload
createPhoneCallPayload.workflowInput = createPhoneCall
ASSIGN createPhoneCallJson = "{createPhoneCallPayload.asjson()}" 
 

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    303,269 Super User 2026 Season 1 on at
    Moved the question from the Dynamics 365 General to the Dynamics 365 CRM forum.
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 168 Super User 2026 Season 1

#2
NeerajPawar Profile Picture

NeerajPawar 65

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 51 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans