Announcements
I am sending the custom event from client webchat like below but i can't find a way to read the value in Copilot studio ? can you please suggest how to read ? I have a requirement to pass the data on behind screen with out user seeing.store.dispatch( {type: 'WEB_CHAT/SEND_EVENT',payload:{name: 'EVENT_GET_POSITION',value: { latitude: '12345', longitude: '09886', text:'I am new here' }}} );
Create a new topic with an "event received" trigger and populate a variable from System.Activity.Value.
For example:
kind: AdaptiveDialog beginDialog: kind: OnEventActivity id: main eventName: myEvent actions: - kind: SetVariable id: setVariable_ZaaEfM variable: Topic.myPayload value: =Text(System.Activity.Value)
Thank you for providing the solution. I did implement the way you suggested but i am getting the content Validation Error. Attached the screenshot for your reference.When I go the system properties in a topic, I don't find anything called Activity.value.
Main,
The Activity.Value doesn't show up in the drop down, but it is available as a System variable. you will want to use the parse variable node to get the value of it before trying to use it directly. Here is an example from a deployed bot receiving a custom event and parsing the data. The parse node will parse the JSON into a target variable that you can then use as normal.
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 704
Vish WR 249
Haque 244