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 capture specifi...
Power Automate
Unanswered

How to capture specific data in email body to excel

(2) ShareShare
ReportReport
Posted on by

Hi everyone,

 

I have created a flow to import Outlook data to Excel. However, i have trouble to get the details that i want in email body. The details as per image below. I want to get details of account_type; first_name; last_name; clinic_or_business; and so on..

flow.PNG

 

I use this function 

first(skip(split(first(split(body('Html_to_text'),'account_type')),'= '),1). is there any function that i can use it?
 
but what happen is it cannot capture the details that user input. as per picture below. 
 
FM1995_0-1721121679913.png

 

Im looking for the user details input to be capture in excel. 

 

Thank you.

Categories:
I have the same question (0)
  • sandeepstw Profile Picture
    on at

    Hi @FM1995 ,

     

    use trigger "When a new email arrives (V3)", select folder Inbox
    then action: "Html to text" and add input "Body from the trigger".

    compose actions "Compose_Account_Type"
    first(skip(split(first(split(outputs('Html_to_text'), 'account_type')), '= '), 1))

    compose "Compose_First_Name"
    first(skip(split(first(split(outputs('Html_to_text'), 'first_name')), '= '), 1))

    compose "Compose_Last_Name"
    first(skip(split(first(split(outputs('Html_to_text'), 'last_name')), '= '), 1))

    compose "Compose_Clinic_or_Business"
    first(skip(split(first(split(outputs('Html_to_text'), 'clinic_or_business')), '= '), 1))


    then add row in excel using action "Add a row into a table"

    and in columns use:

    Account Type- outputs('Compose_Account_Type')
    First Name- outputs('Compose_First_Name')
    Last Name- outputs('Compose_Last_Name')
    Clinic or Business- outputs('Compose_Clinic_or_Business')

     

    Mark as solution if it helps. 

     

    Thanks,

    Sandeep Mishra

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 259 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 177 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 136 Super User 2026 Season 2

Last 30 days Overall leaderboard