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 / Import Mail Data to Ex...
Power Automate
Answered

Import Mail Data to Excel with Power Automate

(1) ShareShare
ReportReport
Posted on by 12

Hello to the Community,

 

I'm new into power automate and tried to import Mails to a table in an excel sheet

(just like this one: https://www.youtube.com/watch?v=OrCs36S3w3w)

 

I did it just like in the video, and it reacts, when i receive an email.

But i got troubles (for months) with the expressions to export the datas i need

The expressions are:

  • "Cookie Type" field:
    first(skip(split(first(split(body('Html_to_text'),'Quantity')),': '),1))
  • "Quantity" field:
    first(skip(split(first(split(body('Html_to_text'),'Delivery Method')),'Quantity: '),1))
  • "Delivery Method" field:
    first(skip(split(body('Html_to_text'),'Delivery Method: '),1))

Every time i get the message
"The input parameters of the action "Add_row_to_table" contain an invalid reference to "html_to_text". Make a correction to include a valid reference to "html_to_text" for the input parameters of the "Add_row_to_table" action."

 

i read many threads in other forums and tried different things, but nothing helped.

Would be great if someone could help me to solve this and learn, what the problem is❤️

Categories:
I have the same question (0)
  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @Minejumper  Correct your Split() expression. it should be like this-

    split(outputs('Html_to_text')?['body'],'Quantity')

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • Verified answer
    Minejumper Profile Picture
    12 on at

    Thank you, but this wasn't helpful for my problem.

    But i got the (very dumb) solution....
    I use Power Automate in german, so i have to write

    first(skip(split(first(split(body('html_zu_text'),'Quantity')),':'),1))
     
    I'm sorry, but thank you a lot!
  • paul0021 Profile Picture
    12 on at
    I would like to import the beginning of text in an email to Excel. The message contains: Good morning. My name is Paweł. How are you. I would like to import the first two sentences.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 541

#2
Valantis Profile Picture

Valantis 479

#3
Vish WR Profile Picture

Vish WR 470

Last 30 days Overall leaderboard