web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / How can I use the bot ...
Copilot Studio
Answered

How can I use the bot variables within flow?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I'm just now starting with PVA and I was trying to integrate some flows and I'm trying to pass some variables from the bot, but I get error code 2001. I have no problem using the UserID variable, but I'm wanting to pull the textResult and searchText data from a users chat with the bot. Is there something I'm doing wrong? I've tried using string variables within Power Automate and that didn't work.

 

Is it possible to pull those variables out of PVA?

Categories:
I have the same question (0)
  • Verified answer
    Surendran Ravindran Profile Picture
    212 on at

    Hi @nvargas ,

    • Use question action and in that varibale will be to store the user input , define it with entity or custom response
    • Then pass this variable into the flow.
    • I used many times
    • UserId variables with come when it security is enabled with authentication

    Regards

    Surendran Ravindran

     

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 Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 813

#2
Vish WR Profile Picture

Vish WR 302

#3
Haque Profile Picture

Haque 268

Last 30 days Overall leaderboard