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

save specific content of email body to excel file

Hi, I am trying to save specific information email body to excel file. When I convert body using Html to text format sample response is below. Need help to fetch "RITMXXXXXXX" from below.

 

Please click on the Ticket # below to review the requested item.Ticket #:
RITMXXXXXXX
[https://XXXX.service-now.com/nav_to.do?uri=sc_req_item.do%3Fsys_id=87e6867adb37dc90a710c3d239961951%...]
Short Description:

1 ACCEPTED SOLUTION

Accepted Solutions

@rushirohit 

Hey there. This will only work if the emails are all formatted the same way...swap out the bold part for your email body:

 

split(split(outputs('SampleData'),'#:')[1],'[http')[0]

 

Here's a video on the split function:

 

Keep us posted.

-Ed

 

If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

View solution in original post

1 REPLY 1

@rushirohit 

Hey there. This will only work if the emails are all formatted the same way...swap out the bold part for your email body:

 

split(split(outputs('SampleData'),'#:')[1],'[http')[0]

 

Here's a video on the split function:

 

Keep us posted.

-Ed

 

If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (4,179)