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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Split email subject an...
Power Automate
Answered

Split email subject and put into excel table?

(0) ShareShare
ReportReport
Posted on by 8

How can I get specific text from an email subject to put into excel table?

 

For example, e-mail subject would be:

XXXL Order 555 to 10001 - Please Review

XXXL Order 9555 to 10025 - Please Review

 

i want to put into a table like below for every email that comes through like this

 

OrderLocation
55555510001
955510025
Categories:
I have the same question (0)
  • Verified answer
    tom_riha Profile Picture
    10,185 Most Valuable Professional on at

    Hello @Bobby_John ,

    you can use the split(...) expression on the subject and split it by ' ' (space).

    split(<email subject>, ' ')

    then you can extract the specific parts using and index

    split(<email subject>, ' ')[0] = XXXL
    split(<email subject>, ' ')[1] = Order
    split(<email subject>, ' ')[2] = 555
    split(<email subject>, ' ')[3] = to
    split(<email subject>, ' ')[4] = 10001
    etc.
    
  • Pocoloco Profile Picture
    12 on at

    @tom_riha 

    Is that possible to show the flow please :-)? 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 112 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 52

#3
Ellis Karim Profile Picture

Ellis Karim 51 Super User 2026 Season 1

Last 30 days Overall leaderboard