cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jjohnson
Helper I
Helper I

Pull information from email subject

Hi all,

 

I have a flow that sends an email "Title" to a Sharepoint list if the condition is met. I have this part working fine. I would like to then extract a part of the title and update the same record with that data.

 

This is the title:

New Hire Notification - John Doe

 

I would like to extract "John Doe" from the title and update the list item column "New Employee Name" with John Doe.

 

I just don't know how to extract that name from the title. Can I do it with the SharePoint "Get Items filter query"? If so, what would the query look like? 

 

Thanks for any assistance.

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-alzhan-msft
Community Support
Community Support

Hi @jjohnson ,

 

Please refer to screenshot below to create the flow:

1.png

 

The expression in the Compose as below:

last(split(triggerBody()?['subject'],'New Hire Notification - '))

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-alzhan-msft
Community Support
Community Support

Hi @jjohnson ,

 

Please refer to screenshot below to create the flow:

1.png

 

The expression in the Compose as below:

last(split(triggerBody()?['subject'],'New Hire Notification - '))

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Alice,

Thank you so much. I will test this in my environment and let you know if it works. Thanks again.

This worked! Thanks so much.

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Users online (37,236)