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

Community site session details

Session Id : kINRd8swONyOhNcQT8a6sb
Power Automate - Building Flows
Answered

Adding respondent from form to Outlook invite

Like (0) ShareShare
ReportReport
Posted on 17 May 2024 01:12:15 by 294

I'm trying to follow Tom Riha's method to add form respondents to an Outlook invite but I can't get it to work.

https://tomriha.com/use-power-automate-to-forward-outlook-events-upon-registration/

 

Amapola188_0-1715908041608.png

Amapola188_1-1715908073202.png

 

{
 "attendees": [{"emailAddress":"{\"address\":\"xxx@xxx.com\"}"},{"emailAddress":{"address":"xxx@xxx.com"}}]
}

 

This is what it looks like for the body of the HTTP action and I seem to get double quotes before the curly brackets for the array - which aren't in the instructions for it. - Are those double quotes the problem? And if so, what can I do about them?

 

Thanks for any pointers. 

Christine

 

I have the same question (0)
  • Amapola188 Profile Picture
    294 on 17 May 2024 at 07:20:41
    Re: Adding respondent from form to Outlook invite

    Slightly different approach, but this worked and I'm posting the entire solution here. I'm deviating from the original, starting with a filter action because the existing attendees come through with an empty record which I want to take out.

     

    The From split expression is: 

    split(outputs('Get_event_(V3)')?['body/requiredAttendees'],';')
    and the filter is: @equals(empty(item()),false)

     

    Amapola188_1-1715930065048.png

     

    Amapola188_2-1715930197615.png

    From is Filter output

    emailAddress is {"address":"@{item()}"}

     

    Amapola188_3-1715930216121.png

    This is where I used Wearsky's suggestion:

    json(replace(replace(replace(string(body('Select')),'"{','{'),'}"','}'),'\"','"'))

     

    Amapola188_4-1715930236030.png

    {
    "emailAddress": {
    "address": "@{outputs('Get_response_details')?['body/responder']}"
    }
    }

     

    Amapola188_5-1715930254417.png

    {
    "attendees": @{variables('varAttendees')}
    }

     

    Thanks, @v-xiaochen-msft, works like a dream now!

  • Verified answer
    v-xiaochen-msft Profile Picture
    on 17 May 2024 at 06:53:11
    Re: Adding respondent from form to Outlook invite

    Hi @Amapola188 ,

     

    Please try this

    json(replace(replace(replace(string(variables('var')),'"{','{'),'}"','}'),'\"','"'))
    vxiaochenmsft_0-1715928746783.png
    vxiaochenmsft_1-1715928762993.png

     

    vxiaochenmsft_2-1715928782750.png

     

     

    Best Regards,

    Wearsky

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete