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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Passing a Multi Choice...
Copilot Studio
Unanswered

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 265 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 240 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard