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 / Split email subject an...
Power Automate
Unanswered

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

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard