Skip to main content
Community site session details

Community site session details

Session Id : Ml5VEx2tidGmDE4ISqRrQo
Power Automate - General Discussion
Answered

Parsing an HTML Table from an email

Like (0) ShareShare
ReportReport
Posted on 15 Jun 2023 17:04:06 by 64

Hello, 

I am trying to take rows from a  table that I receive from an email and upload those rows into a Sharepoint list. I am using the split function shown below in  Compose, however when I run the flow, I receive the following error: 

Unable to process template language expressions in action 'Compose' inputs at line '0' and column '0': 'The template language function 'split' expects its first parameter to be of type string. The provided value is of type 'Object'. Please see https://aka.ms/logicexpressions#split for usage details.'.

 

Not sure what I need to do to fix this error. Any suggestions?

 

MCubedMama_2-1686848390593.png

 

 

MCubedMama_0-1686848318523.png

 

  • Verified answer
    v-bofeng-msft Profile Picture
    on 19 Jun 2023 at 05:42:45
    Re: Parsing an HTML Table from an email

    Hi @MCubedMama ,

     

    Please try:

     

    split(triggerOutputs()?['body/body'],'table')
     
     
    Best Regards,
    Bof
  • Srinivas Kadamati Profile Picture
    3,177 Super User 2025 Season 2 on 15 Jun 2023 at 17:42:29
    Re: Parsing an HTML Table from an email

    Hi @MCubedMama 

     

    Check below link for your reference

     

    https://www.enjoysharepoint.com/power-automate-parse-email-body/

     

    If you find this reply helpful, please consider giving it a LIKE AND

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION

     

    Thanks,

    Srini

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete