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 / When an Email is recei...
Power Automate
Answered

When an Email is received, paste email body to excel table

(0) ShareShare
ReportReport
Posted on by 108

Hi EVERYONE,

 

pls help

 

Everyday, I received this kind of data from email. 

rrrradfafwgvafv_0-1715265617651.png

 

when i receive the outlook email with subject name "Test", i would like to split the email body by "|", then store it in the below excel table (excel path: C:\Class\Test.xlsx)

 

rrrradfafwgvafv_2-1715265697130.png

 

and then trigger an excel vba program by pressing ctrl+p, (if this part is too difficult then skip it) 

pls help me with it, thanks

 

 

 

Categories:
  • Verified answer
    v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @rrrradfafwgvafv ,

    I can fulfill your first requirement.

    Please see the following test.

    My outlook Inbox:

    vyetonggumsft_5-1715306317014.png

    My Excel Table:

    vyetonggumsft_2-1715306088238.png

    My Flow Overall Preview:

    vyetonggumsft_0-1715305953029.png

    My Flow Configuration Paramters:

    vyetonggumsft_1-1715306056452.png

    split(outputs('Html_to_text')?['body'],decodeUriComponent('%0A'))

    vyetonggumsft_3-1715306209822.png

    skip(outputs('Compose'),1)
    split(items('Apply_to_each'),'|')[0]
    split(items('Apply_to_each'),'|')[1]
    split(items('Apply_to_each'),'|')[2]
    split(items('Apply_to_each'),'|')[3]

    I don't understand the second requirement yet. I need more learning to help you solve the problem.

    Please understand.

    Best Regards,

    Sunshine Gu

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard