Skip to main content
Community site session details

Community site session details

Session Id : TrWNVmQdM5wiw4YgZTE2Jp
Copilot Studio - General
Unanswered

Initialize PVA variables from Directline API calls

Like (2) ShareShare
ReportReport
Posted on 24 May 2022 17:41:19 by 2

Hello,

I am working on a PVA bot integration that requires us to set variable values using the Direct Line API 3.0: 

 

https://docs.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-direct-line-3-0-api-reference?view=azure-bot-service-4.0 

 

In the documentation for setting variables it indicates query parameters can be used to set variable values from a custom canvas or a containing web page but I have not been able to get query parameters to work on any of the API endpoints (start conversation, generate token, or send activity).

 

https://docs.microsoft.com/en-us/power-virtual-agents/authoring-variables-bot#set-bot-variable-from-external-source 

 

Is it possible to set variables from one of the HTTP post endpoints or is this not supported? Thanks,

J

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 169 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 150

#3
sandeep_angara Profile Picture

sandeep_angara 75 Super User 2025 Season 2

Loading complete