Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Retrieve fields from the form and send the document to each user entered in the field

(0) ShareShare
ReportReport
Posted on by 4

Hi,

I'm creating a power automate flow in which, starting from a document on Sharepoint, I have to send this document to Adobe Sign for signature, whose signatories are inserted in a form on Microsoft Forms. My flow is:

Emilia96_1-1717770976763.png

- variables is a matrix inizialized as empty list

- Compose is 

Emilia96_2-1717771084931.png

- ParseJson is :

Emilia96_3-1717771189642.png

- Append to array variable is:  (it doesn't work)

Emilia96_4-1717771238425.png

- Apply to each is:

Emilia96_5-1717771290502.png


The error is :

Emilia96_6-1717771395302.png


Can you help me to solve this problem?

There is only a single field into form like this in which user can digit 'email1@gmail.com,email2@gmail.com':

Emilia96_7-1717771462372.png


Thanks in advance,

Emilia

  • creativeopinion Profile Picture
    10,383 Super User 2025 Season 1 on at
    Re: Retrieve fields from the form and send the document to each user entered in the field

    @Emilia96 The Compose action indicates the output of the form is in a multi-choice selection (highlighted in pink below), and not a string (highlighted in green below).

    creativeopinion_0-1719084883087.png

    For that reason, you need to parse your response. Refer to this section of my YT Tutorial where I cover how to parse a multi-choice response. In the full tutorial, I’ll show you how to get your Microsoft Form responses into SharePoint. I’ll cover how to build a Microsoft form with conditional fields by using branching.

     

    You’ll learn how to format your multiple choice responses for a SharePoint multi-choice column as well as converting it to text. I’ll also show you how to take a text response and convert it to a number with a switch action and with an expression.

    After adding the response to SharePoint, we’ll send the user an email confirmation with all the details of their form submission.

    At the end of the video I’ll show you a few tips and tricks on working with a SharePoint list.

     

    IN THIS VIDEO:

     How to get a Microsoft Form Response into SharePoint

     How to get a Microsoft Form ID

     How to get a Microsoft Form response

     How to Build a Microsoft Form with Conditional Fields

     How to used Branching in Microsoft Forms

     How to format Microsoft Form multiple choice responses for a SharePoint multi-choice column

     How to parse a Microsoft Form multiple choice response as string of text

    How to convert a text response to a number

     How to use the Switch action

     How to create a custom email confirmation for a Microsoft Form submission

     How to Create a Custom View in a SharePoint list

     How to use the Compose Action

     How to write Power Automate Expressions

     

    Hope this helps!

    If I helped you solve your problem—please mark my post as a solution .
    Consider giving me a 👍 if you liked my response!

    👉 Level up your Power Automate skills by checking out my tutorials on YouTube
    👉 Tips and Tricks on TikTok and Instagram

     

     

  • Emilia96 Profile Picture
    4 on at
    Re: Retrieve fields from the form and send the document to each user entered in the field

    The input of split() function is :

    Emilia96_0-1718177786024.pngEmilia96_1-1718177841073.png

    After Compose action I have these step: 

    Emilia96_2-1718177888669.png

     

  • creativeopinion Profile Picture
    10,383 Super User 2025 Season 1 on at
    Re: Retrieve fields from the form and send the document to each user entered in the field

    @Emilia96 Can you provide additional insights on your flow. What is the output from the form that you are using the split() function on? What action do you have after the Compose action? 

  • Emilia96 Profile Picture
    4 on at
    Re: Retrieve fields from the form and send the document to each user entered in the field

    Hi @creativeopinion , @Inogic

    I have edited the flow following your answers, but I haven't solved my problem.

    The changed flow now looks like this:

    Emilia96_0-1718101032277.png

    split function is: 

    split(string(outputs('Recupera_dettagli_della_risposta')?['body/re53f402fb6ce4e7ca52bb31da77da093']),'$')
     
    apply to each is: 
    array(outputs('Componi'))
    Emilia96_1-1718101096994.png
    but in this last step, the problem is that it tries to take the array as a string and not every element of the array
    Emilia96_2-1718101202626.png

     

     

    Where am I wrong? Thanks in advance.

  • Inogic Profile Picture
    966 Super User 2025 Season 1 on at
    Re: Retrieve fields from the form and send the document to each user entered in the field

    Hi,

     

    In the step of appending a value to an array variable, the expression you have entered is not supposed to be used there. In the variable step, you should use a string value instead.

    For the expression in the variable, you need to follow as shown in the screenshot provided. The correct way to enter the expression would be:-

    Inogic_0-1718100632067.png

     

    Hope this helps.

     

    Thanks!

    Inogic Professional Services: Power Platform/Dynamics 365 CRM
    An expert technical extension for your techno-functional business needs
    Drop an email at crm@inogic.com
    Service: https://www.inogic.com/services/
    Tips and Tricks: https://www.inogic.com/blog/

     

  • creativeopinion Profile Picture
    10,383 Super User 2025 Season 1 on at
    Re: Retrieve fields from the form and send the document to each user entered in the field

    @Emilia96 You have a string entered here not an expression. Take a look at this section of my YT Tutorial: 

    7 Functions You Need to Know | ️Expression Essentials: Part 1

     

    In this section, I'll cover how to get dynamic content with an expression when the dynamic content you need isn't listed in the dynamic content menu.

     

    In the full tutorial I cover 7 functions you need to know when getting started with expressions.

    1️⃣ empty()

    2️⃣ coalesce()

    3️⃣ equals()

    4️⃣ if()

    5️⃣ concat()

    6️⃣ length()

    7️⃣ split()

     

    I cover how to use these functions in expressions and I’ll also cover common mistakes when it comes to writing expressions and show you a few tips and tricks along the way.

     

    As a beginner or even an intermediate flow builder—expressions can seem a bit complex at first, I’m going to try to simplify it for you. If you want to level up your flows by writing expressions—keep watching!

     

    IN THIS VIDEO:

     What is an Expression?

     What is a Function?

     What Does Wrapping a Function Mean?

     How Do I Insert an Expression?

     How to Use a Compose action

     How to Navigate the Expression Builder with Arrow Keys

     How to use the Expression Tooltip

     Common Mistakes When Writing Expressions

     How to differentiate a null from an empty string

     How to Get Dynamic Content When it’s Not Listed

     How to Use a Get Item Action to Verify Dynamic Content Output

     How to Convert Strings to Lower Case

     How to Troubleshoot the if() Function

     

    Hope this helps!

    If I helped you solve your problem—please mark my post as a solution .
    Consider giving me a 👍 if you liked my response!

    👉 Level up your Power Automate skills by checking out my tutorials on YouTube
    👉 Tips and Tricks on TikTok and Instagram

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow