cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

How to Concatenate Emails from JSON Object

Hi,

 

I am using HTTTP request and after that Parse JSON and then an Apply to each to get each of the Email Address from the contacts.

How to get those Email Address in one variable to use further like To send emails in one go as a group ?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: How to Concatenate Emails from JSON Object

 

Hi @bondy_07 ,

 

As @AKRogers  suggested, you could refer to the following image to configure Flow.

 

43.PNG

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Highlighted
Helper V
Helper V

Re: How to Concatenate Emails from JSON Object

Hi there!
You can initialize an array variable outside the Apply to each container, and then append each email to that variable.
You can pass the whole array into a send email action as long as you have the addresses separated by semicolons.

Hope that helps!
Ashley

If you liked this reply, consider giving it a thumbs up! If I’ve answered your question, please mark it as a solution!
Highlighted
Community Support
Community Support

Re: How to Concatenate Emails from JSON Object

 

Hi @bondy_07 ,

 

As @AKRogers  suggested, you could refer to the following image to configure Flow.

 

43.PNG

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Frequent Visitor

Re: How to Concatenate Emails from JSON Object

Hi, @v-bacao-msft 

 

When I use your congigure Flow, there is an error:

BadRequest. The request failed. Error code: 'InvalidApprovalCreateRequestAssignedToNoValidUsers'. Error Message: 'Required field 'assignedTo' contained no valid users in the organization'.

 

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (8,573)