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 / Specific body text fro...
Power Automate
Unanswered

Specific body text from emal onto sharepoint list

(0) ShareShare
ReportReport
Posted on by 2

Hi all

 

Sorry still very new to this, could do with some help :).

 

I have setup a flow currently which is working fine, it takes an email from a shared inbox an it adds that item to sharepoint list. 

There is some specific text in the email that i really need to have pull through and populate a field in sharepoint list.

 

The text is in the body & would be:

 

SPECIAL INSTRUCTIONS : then some text here.

 

There is text above and below but always seperated by a line break.

 

Can anyone help?

Thanks so much Craig

Categories:
I have the same question (0)
  • Geeks_D Profile Picture
    1,169 on at

    Hi , 

    A sample of the body of the email will be helpful to assist further 

  • grantjenkins Profile Picture
    11,063 Moderator on at

    Note sure if you already have this sorted. If not, then this is how I'd go about building the flow.

    grantjenkins_0-1703155628090.png

     

    The following expression is used in the Compose to extract out your special instructions. Note that I'm assuming you have "SPECIAL INSTRUCTIONS :" in front of the actual instructions as per your example.

    trim(first(split(last(split(outputs('Html_to_text')?['body'], 'SPECIAL INSTRUCTIONS :')), decodeUriComponent('%0A'))))

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

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard