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

Community site session details

Session Id : 0OuB2SLnNeAmWr9XlsvO5a
Copilot Studio - Topic Creation & Management
Unanswered

Passing values from Power Automate to Bot Variables

Like (0) ShareShare
ReportReport
Posted on 16 Feb 2022 15:42:25 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.

Categories:
  • sahana_23 Profile Picture
    46 on 04 Mar 2023 at 16:40:28
    Re: Passing values from Power Automate to Bot Variables
    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.

  • JonDoesFlow Profile Picture
    on 16 Feb 2022 at 17:42:57
    Re: Passing values from Power Automate to Bot Variables

    Wow. Ok. Are there any work arounds?

  • CU22081450-0 Profile Picture
    Most Valuable Professional on 16 Feb 2022 at 16:24:42
    Re: Passing values from Power Automate to Bot Variables

    @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 16 Feb 2022 at 15:54:35
    Re: Passing values from Power Automate to Bot Variables

    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 16 Feb 2022 at 15:45:42
    Re: Passing values from Power Automate to Bot Variables

    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)

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 468 Super User 2025 Season 2

#2
stampcoin Profile Picture

stampcoin 52 Super User 2025 Season 2

#3
trice602 Profile Picture

trice602 46 Super User 2025 Season 2

Featured topics

Loading complete