I created a basic bot in Copilot Studio and I published it on the demo web.
The URL is in the form of: https://copilotstudio.microsoft.com/environments/xxxx/bots/crb1f_xxxx/canvas?__version__=2
Is there a way to pass in a bot question as a parameter in the URL string instead of typing it on the demo web? Appending something like "?question=testing" to the URL.
I would like to be able to query the bot using links (so that I can embed them in some content), how would one go about doing this?
Thanks, I got this to work now.
Hi , @c3rberus
Thanks for your response and the link sharing to me! I'm also newer to PVA 😀
Sorry for that i may misunderstand your need. Do you mean you want to pass the global variable to the bot?
I test it in my side , if you want to pass the global variable to the bot, you need to use the embed copilot.
So this is my bot test:
And we need to publish it and then get the embed html code.
Then we can add the url parameter here:
Then we can make this file as xxx.html and open it to test:
If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance!
Best Regards,
Yueyun Zhang
Are you sure? It seems to be documented here..
Use variables to carry content across topics - Microsoft Copilot Studio | Microsoft Learn
Looks like there is a section for "Set global variables in an embedded copilot" however it is referring to Power Virtual Agent URLs..
https://web.powerva.microsoft.com/webchat/bots/12345?UserName=Renata
How does one do this using the new URLs.. below does not seem to work.
https://copilotstudio.microsoft.com/environments/xxxxx/bots/crb1f_xxxxx/canvas?__version__=2?UserName=Renata
Hi , @c3rberus
As searched , currently there seems has no feature and url parameter to pass the question in Copilot.
Best Regards,
Yueyun Zhang
Romain The Low-Code...
25
Pablo Roldan
25
stampcoin
10