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 / How to pass sharepoint...
Power Automate
Answered

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

(0) ShareShare
ReportReport
Posted on by 25

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

Categories:
  • ScottShearer Profile Picture
    25,331 Most Valuable Professional on at

    @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?

     

     

  • TGIF Profile Picture
    25 on at

    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

  • Verified answer
    ScottShearer Profile Picture
    25,331 Most Valuable Professional on at

    @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

     

     

  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    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,

  • TGIF Profile Picture
    25 on at

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

  • TGIF Profile Picture
    25 on at

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

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 229 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 223 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard