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 :
Service | Customer Service, Contact Center, Fie...
Unanswered

Automatically link Contact and Case record to Conversation (Omnichannel)

(0) ShareShare
ReportReport
Posted on by 50

Hi, 

I have currently made a macro to create new case record from a chat conversation. However, neither the contact or case records are appearing as linked to the Conversation - Customer Summary form.

Is it possible to achieve this through a macro? What I want to happen is the following: 

1. Customer submits pre-survey

2. Agent opens chat and runs macro/agent script.

3. Agent script/macro creates and open a case record. Macro searches for existing customer or creates a new one.

4. Case and contact record is set as regarding and linked to the conversation automatically.

pastedimage1620813233781v1.png

I've initiated a rough outline for the macro, but would appreciate some input:

pastedimage1620813275461v2.png

Thanks!

BR, Joakim

  • Community Member Profile Picture
    on at

    Hi Joakim,

    From the document, Automatically identify customers has two ways--One of the ways is by setting up pre-chat questions, another is using the setContextProvider API method.

    Automatically identify customers using pre-chat responses and setContext API method | Microsoft Docs

    If you want to use macros, you can refer following link:

    Macros in the Customer Service workspace and Omnichannel Administration app | Microsoft Docs

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Travis South Profile Picture

Travis South 43

#2
11manish Profile Picture

11manish 33 Super User 2026 Season 2

#3
Ayesha Wajahat Profile Picture

Ayesha Wajahat 18

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans