Skip to main content
Community site session details

Community site session details

Session Id : fgO9MWCZ0F2Vse4VmBBe2R
Power Automate - Using Flows
Answered

Creating Planner task from Forms

Like (0) ShareShare
ReportReport
Posted on 2 Mar 2021 12:12:50 by 2

When I'm creating the Planner task I want to use the data from Microsoft Forms.
When users-ID would be attached to the task I get an error.

this is because the data is sent like this

["firstname.lastname@company.com"] 

 

If i write firstname.lastname@company.com the task will be crated.

 

How can I change the data that Power Automate is using to be able to get it to work?

 

Thanks

 

HAKGEB

  • Verified answer
    DamoBird365 Profile Picture
    8,942 Microsoft Employee on 02 Mar 2021 at 13:20:37
    Re: Creating Planner task from Forms

    Hi @HAKGEB,

     

    You could use an expression like so:

    replace(replace(replace(string(variables('array')),'"',''),'[',''),']','')
     
    This will replace all instances of ", [ or ] with '' for the item string(variables('array'))
     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    Cheers,
    Damien


    P.S. take a look at my new blog here

  • HAKGEB Profile Picture
    2 on 02 Mar 2021 at 13:07:26
    Re: Creating Planner task from Forms

    Hi @ 

    Yes this works if you have one E-mail address.

    In this case I have a list in the Forms questionairy where you can choose from 1 to 4 users.

    And the data that will be sent is

    ["firstname.lastname@company.com","firstname.lastname@company.com"]

     

    is it possible to convert this string and replace some characters?
    firstname.lastname@company.com;firstname.lastname@company.com 

    Im still trying to find a solution and struggling...  🙂

     

    I will look at your new blog

     

    Thanks

    HAKGEB

  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on 02 Mar 2021 at 12:49:55
    Re: Creating Planner task from Forms

    Hi @HAKGEB 

     

    You should be able to use the dynamic content from get response details "Responder's Email".

     

    @{outputs('Get_response_details')?['body/responder']}

     

    DamoBird365_0-1614689382080.png

     

    DamoBird365_1-1614689478934.png

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    Cheers,
    Damien


    P.S. take a look at my new blog here

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 our 2025 Season 2 Super Users!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Featured topics

Restore a deleted flow
Loading complete