web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Extract Multiple ID's ...
Power Automate
Unanswered

Extract Multiple ID's out of Email Body

(0) ShareShare
ReportReport
Posted on by 301

Hi,

 

Im trying to remove all irrelevant data and extract multiple IDs out of an email body to use the IDs to change a sharepoint list.

 

The emails recieved will contain multiple instances of CrateID:RZCS9999 (and various others i.e CrateID:RZCS9998)

 

currently however the filter array creates the following from the emails

 

[
  "RZCS9809 ",
  "RZCS9999 ",
  "RZCS9998 "
]
 
I cannot get rid of the spaces at the end of the ID's and i can't figure out how to use each individual?
 
(The following is my composes)

 

RemoveEmptyLines =

replace(outputs('HTMLInsideCompose'),outputs('EmptyLines'),'')

 

TrimCompose

substring(outputs('RemoveEmptyLines'),0,sub(length(outputs('RemoveEmptyLines')),1))
 
AllOnANewLine
split(outputs('RemoveEmptyLines'),'CrateID:')
 
And the Filter Array is supposed to seperate

1.png2.png

 

 

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard