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

Notifications

Announcements

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

I have the same question (0)
  • 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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 41 Super User 2025 Season 2

#2
TAHER Mehdi Profile Picture

TAHER Mehdi 14

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 10 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans