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...
Suggested Answer

Passing context variables from contact center to copilot studio bot

(0) ShareShare
ReportReport
Posted on by 15
Created separate topic "Set context variables" (not invoked, as per documentation)
Copilot Studio Configuration:
Created separate topic "Set context variables" (not invoked, as per documentation)
Variable Global.Name, Global.Email, Global.Phone configured with:
Global scope (any topic can access)
External sources can set values ✅
Reference: "Get value from this node if empty"
 
The context variables work perfectly and appear in the agent summary when a human agent accepts the chat. The issue is specifically with the bot not receiving this context data at chat initialization.
 
I am using no authentication for both copilot studio agent and the omnichannel and it is still not working.

I even tried displaying the values before and after setting the context variables (you can see the before case below working properly), however after setting the context variable they are all null.
 
Kindly find below some screenshots for your reference.
 
Did anyone find any resolution or workaround for this issue?


The above are demo data.


Followed Microsoft's official documentation and as mentioned in this thread.


This message node is the one displayed directly after setting the context variables in the first screenshot
 
Any assistance on this as soon as possible is much appreciated
I have the same question (0)
  • Suggested answer
    Eugen Podkorytov Profile Picture
    233 on at
    Hi TI-09120726-0,
    Why do you set the variable to null?

     
    Do NOT set the variables to empty unless you want to clear them!
  • TI-09120726-0 Profile Picture
    15 on at
     
     
     
    I clicked on the 3 dots after selecting the global variable and selected “get value from this node if empty”

     
     
    Another note is that you can’t use a “set a variable” node without actually setting a value for the variable.

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 April Top 10 Community Leaders

These are the community rock stars!

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

#1
FSRon Profile Picture

FSRon 59

#2
James White Profile Picture

James White 21

#3
AT-28040446-0 Profile Picture

AT-28040446-0 20

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans