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
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.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

AI Builder AMA June 7th carousel (up on May 25th, take down June 8th) (1).png

'Ask Microsoft Anything' about AI Builder!

The AI Builder team invite you to ask questions and provide helpful answers at our next AMA.

Users online (1,584)