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

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

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
11manish Profile Picture

11manish 36

#2
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 32

#3
Goloknath Profile Picture

Goloknath 28 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans