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.

View solution in original post

Helpful resources

Announcements
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,517)