cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

How to pass sharepoint ID and other info from Email subject back to SharePoint

Hi

 

I am new to this forum. I am a new beginner to Flow.

 

I would like to pass text from subject to sharepoint.

 

The red text is the ID of the sharepoint item. The green text is an item to be updated in the sharepoint list for that ID.

2019-09-16 10_34_29-Run History _ Microsoft Flow.png

2 ACCEPTED SOLUTIONS

Accepted Solutions

@TGIF 

Take a look at the screen shots below.  The expressions that I used can be seen in the comments.

Let me know if you have additional questions.

UPDATE: You could/should use Get item vs Get Items as the final step in my Flow and provide the ID from the Compose action

 

ParseSubject1.jpgParseSubject2.jpg

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

 

Hi @TGIF ,

 

You could add a condition under the trigger, use start with to determine whether the subject starts with specific text and if so, execute the following action.

If the Compose 4 action has already obtained the item ID, you can configure Update item action directly below.

Also if you only need FT6293, you can remove the brackets using the replace() function.

 

Best Regards,

Community Support Team _ Barry
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

6 REPLIES 6
Super User III
Super User III

@TGIF 

Can you post a screen shot of your Flow in edit mode (not the results of a run) and expand the actions o that the configuration is visible?

Is your goal to update two SharePoint columns with the data that you have highlighted?

Are the emails structured the same way every time?

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Hi ScottShearer

 

Thank you for your reply.

 

I am working on the basis that the email subject will be structured in this manner.

"Your request was received. ID: 305 (FT6293)"

 

My goal is to get the ID from the subject. This ID is the ID column stored in my sharepoint list.

It should retrieve the item containing the ID number, and then update a column with the FT number in sharepoint. This FT number is also found in the subject.

 

From my screen shot, I have been trying to get the text from Subject field in outlook. Then collect the text from a specific position. This may not be the cleverest method...

 

I have not gone any further.

I also want to run this flow only if the subject starts with this specific text: "Your request was received."

 

Thank you & appreciate your help.

  

 

2019-09-16 16_28_42-Edit your flow _ Microsoft Flow2.png

@TGIF 

Take a look at the screen shots below.  The expressions that I used can be seen in the comments.

Let me know if you have additional questions.

UPDATE: You could/should use Get item vs Get Items as the final step in my Flow and provide the ID from the Compose action

 

ParseSubject1.jpgParseSubject2.jpg

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

 

Hi @TGIF ,

 

You could add a condition under the trigger, use start with to determine whether the subject starts with specific text and if so, execute the following action.

If the Compose 4 action has already obtained the item ID, you can configure Update item action directly below.

Also if you only need FT6293, you can remove the brackets using the replace() function.

 

Best Regards,

Community Support Team _ Barry
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

Hi Have used the Update item, thank you so much!

Hi @ScottShearer Thank you so much for working out the details. Works like magic 🙂

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (11,241)