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 / Passing values from Po...
Copilot Studio
Unanswered

Passing values from Power Automate to Bot Variables

(0) ShareShare
ReportReport
Posted on by

Hi all,

 

I have some bot variables that I want to set to null at the start of a topic, then later on in the topic I will ask the customer if they want to populate that information. If they don't I want to pass the previously stored null value to a Power Automate cloud flow.  If they answer the question, then that value gets stored.

 

My problem is that I can't get power automate to set the null values to the bot variables, and so it will reroute back to the topic where bot variables are stored and ask for that information again.

 

Thanks.

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    Hi @Jondoesflow ,

     

    It's not available yet.

    You can vote on this idea here: Allow PVA to send 'NULL' values to Power Automate - Power Platform Community (microsoft.com)

  • JonDoesFlow Profile Picture
    on at

    Hi,

     

    It's not even the fact I want to send a null.

     

    It could be anything, I just want the ability the update a variable from a Power Automate flow (the value could be n/a or false) and then save that variable value to the bot variable, unless it gets updated by the user inside the conversational flow.

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    @Jondoesflow ,

     

    Got it!

     

    Unfortunately, there are many ideas from the Microsoft community that are not available yet. You can vote in all of them and we will keep you posted.

    -> Allow Flow response messages to overwrite their ow... - Power Platform Community (microsoft.com)

    -> Change the value of a variable without a question - Power Platform Community (microsoft.com)

  • JonDoesFlow Profile Picture
    on at

    Wow. Ok. Are there any work arounds?

  • sahana_23 Profile Picture
    46 on at
    1. Check the code for your bot variables to make sure that they are being properly set to null at the beginning of the topic. It's possible that there is an error in your code that is preventing the variables from being set correctly.

    2. Make sure that your Power Automate cloud flow is able to handle null values for the variables you're passing to it. If the flow is expecting a non-null value and it receives null, it may fail or generate an error.

    3. Consider using a different value to represent null in your bot variables, such as an empty string or a specific value like "NULL". This can help to differentiate between an intentionally empty value and a value that has not yet been set.

    4. If you're still having trouble, consider using a debugging tool or logging system to help identify where the problem is occurring. This can help you to isolate the issue and find a solution more quickly.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Copilot Studio

#1
Mohsin Ali Profile Picture

Mohsin Ali 481

#2
M Bilal Khan Profile Picture

M Bilal Khan 206

#3
11manish Profile Picture

11manish 201 Super User 2026 Season 2

Last 30 days Overall leaderboard