Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Adding respondent from form to Outlook invite

(0) ShareShare
ReportReport
Posted on 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

 

  • Amapola188 Profile Picture
    294 on at
    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 at
    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

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!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1