Showing results for 
Search instead for 
Did you mean: 
Not applicable

Text manipulation

I am trying to extract some values from an email that contains JSON.  The issue I am facing is that someone has added text to the top and bottom of the email.  This therefore means that if I dont remove that text the JSON functions quite rightly error.  The body of the email is as folows:



You are receiving this email to notify you about new a signup activity.


Customer Data:


  "signup_type": "test",

  "status_id": "FCE892E2-4E07-4E09-A3B4-D26B7E36C607",

  "subscription_type": "mrr",

  "sfdc_account_id": "001500000145454KAA3"



To remove yourself from these emails, please talk to your manager.



How can I remove the text from the top and bottom so that I just have the JSON?


Community Support
Community Support

Hi @Anonymous,



I don't think there is a way to "Remove" the string from the Email body.

The Email Body received under Microsoft Flow would be in HTML format.

I originally thought that we could take use of the concat and the split function to work with the strings only, but the Body of the Email would contain the HTML tag, which makes it impossible for me to get it work.

You may take a look at the corresponding document for the functions used under Microsoft Flow, see if that could help:

Workflow Definition Language




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

You can use substring to extract text between two defined characters



Helpful resources

Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,831)