cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
bondy_07
Level: Powered On

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
Community Support Team
Community Support Team

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
AKRogers
Level 8

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!
Community Support Team
Community Support Team

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

bondy_07
Level: Powered On

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

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!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,015)