Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Answered

Passing a Multi Choice Question response to a flow

(0) ShareShare
ReportReport
Posted on by 28

Hi there!

 

I am writing a topic to handle escalations that take user input and pass them to a flow that sends the query via email to the relevant team member. The PVA asks for Name, contact email, related industry, and the query. For the industry, I am using a Multi choice "ask a question" to list industries my company is involved in:

BioGroBen_0-1678834348845.png

Ideally the variable 'industry' would be type 'string' rather than type 'choice' so I can pass the variable to my power automate flow.

I realize I can set a string variable under the conditional options generated as a result of this question, and then have another conditional to send the flow the variable that has been populated as a result of the user selecting an option:

BioGroBen_1-1678834601616.png

 

However this feels clunky and overly complex. Is there a simple way I can store the result of the user selection directly into a string variable so I don't have to mess around with multiple conditionals that essentially all do the same thing?  

 

it would be amazing if I could just use something like industry.toString()

 

Thanks in advance!

Ben 

 

Categories:
  • aparnaa Profile Picture
    95 on at
    Re: Passing a Multi Choice Question response to a flow

    @HenryJammes - I am looking to collect multiple stattionery request via adaptive card in power virtual agent and trying to send it to power automate flow for creating an entry in sharepoint list

    when i select Multiselect value, I am unable to save the adpative card.

     

    I am not sure if multiselect values are being considered as an array when i rtry sending to power automate

    how do i convert it to a string

     

    The above command is not not working for. I am getting message text is not recognized

     

    {
                "type": "Input.ChoiceSet",
                "choices": [
                    {
                        "title": "Pen",
                        "value": "Pen"
                    },
                    {
                        "title": "Paper",
                        "value": "Paper"
                    }
                ],
                "placeholder": "Select your Request(s)",
                "id": "varRequest",
                "label": "Stationery  Request(s)",
                "isRequired": true,
                "errorMessage": "Select your Request(s)",
                "isMultiSelect": true,
                "separator": true,
                "spacing": "Large"
            }
  • BioGroBen Profile Picture
    28 on at
    Re: Passing a Multi Choice Question response to a flow

    Hiya Henry,

     

    Fantastic solution! It actually seems like I can simply use the string() function:

    BioGroBen_0-1679258451392.png

     

    Here is the PVA passing the values:

     

    BioGroBen_1-1679258567512.png

     

    And the Conditions themselves:

    BioGroBen_2-1679258626499.png

     

     

    Using functions seem to be the best way of handling this, much more elegant than how I was previously passing the details. 

     

    Many thanks for your prompt reply and effective solution!

     

    Ben

     

     

  • Verified answer
    HenryJammes Profile Picture
    on at
    Re: Passing a Multi Choice Question response to a flow

    Hi @BioGroBen,

     

    Have you tried with a Power Fx formula when you pass the variable to your cloud flow?

    Text(Topic.industry)

     

    HenryJammes_0-1678888195839.png

    Henry

     

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 the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Copilot Studio - General

#1
Pablo Roldan Profile Picture

Pablo Roldan 33

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 25

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard