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 a Multi Choice...
Copilot Studio
Answered

Passing a Multi Choice Question response to a flow

(0) ShareShare
ReportReport
Posted on by 30

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:
I have the same question (0)
  • Verified answer
    HenryJammes Profile Picture
    Microsoft Employee on at

    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

     

  • BioGroBen Profile Picture
    30 on at

    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

     

     

  • aparnaa Profile Picture
    95 on at

    @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"
            }

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 676

#2
Vish WR Profile Picture

Vish WR 268

#3
Haque Profile Picture

Haque 267

Last 30 days Overall leaderboard