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 output one row ...
Power Automate
Answered

How to output one row at a time and send an email (Create HTML Table)

(0) ShareShare
ReportReport
Posted on by 5

I would like to send an email that only shows one row from an excel table, but the output displays the entire list for each email.


Excel Data Table

Agent CodeDisplay NameEmailPasswordUnit NameLocation
1234Agent1Agent1@gmail.compass123abc UNITTH
5678Agent2Agent2@gmail.compass456def UNITPH
91011Agent3Agent3@gmail.compass789ghi UNITMY
1213Agent4Agent4@gmail.compass1011jkl UNITSG
1415Agent5Agent5@gmail.compass1213lmn UNITTH
1617Agent6Agent6@gmail.compass1415opq UNITCND
1819Agent7Agent7@gmail.compass1617rst UNITNY


Current Flow

Syntax404_0-1713620605382.png      Syntax404_2-1713620687430.png  

Syntax404_4-1713620734827.png

 

Desired Output (Per Email)

Agent CodeDisplay NameEmailPasswordUnit NameLocation
1234Agent1Agent1@gmail.compass123abc UNITTH

 

Categories:
  • Verified answer
    Matthy79 Profile Picture
    4,188 Super User 2024 Season 1 on at

    Hello @Syntax404 

     

    1.) Compose Table design should be outside the loop.

    2.) The item of apply to each holds the record you need so you don’t need “get a row”.

    3.) You don’t need a select action. “Create html table” can do the same in your case.

     

    So inside the loop there should only be “create html” and send mail. For the input of “create html table” you have to convert the object of apply to each to an array. There are a view possibilities to do so. I think I would use something like “json(concat(‘[‘, item(), ‘]’)).

  • Syntax404 Profile Picture
    5 on at

    Hi @Matthy79 
    1.) Added Compose - Table Design within the loop since the table format was not being created.
    2.) Removed Get a Row Action
    3.) Transferred the table headers to Create HTML table from Select - tbl Request

    Added the json(concat(‘[‘, item(), ‘]’)) in Create HTML Table

    Syntax404_1-1714089266935.png


    Final Workflow

    Syntax404_0-1714088683240.png

    Workflow was now able to send individual rows. Thanks so much for your help and response!

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