web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Select specific column...
Power Automate
Unanswered

Select specific column in HTML table to add into "To" in Send an email action

(0) ShareShare
ReportReport
Posted on by 162

Hi.

 

I would like a little help to get column in HTML table action to use it as "To" in Send an email action. 

 

nitisak_0-1705488347081.png

 

another request can I adjust HTML table like fill with some color or border ?

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    on at
    Re: Select specific column in HTML table to add into "To" in Send an email action

    Hi @nitisak ,

     

    HTML table is actually string with HTML tags but not a table. You can use Select operator to select specific columns from an array and then use expression join(body('Select')['Email'], ';') to concatenate Email column values with semicolons so the result can be used in To field of Send Email action.

     

    For the second question, you can refer to below thread:

    Solved: Conditional color formatting html table column- Po... - Power Platform Community (microsoft.com)

     

    Best regards,

  • nitisak Profile Picture
    162 on at
    Re: Select specific column in HTML table to add into "To" in Send an email action

    Hi @v-jefferni 

     

    I have to use an output from Filter array or output from HTML ?

  • v-jefferni Profile Picture
    on at
    Re: Select specific column in HTML table to add into "To" in Send an email action

    Hi @nitisak ,

     

    Select requires a table as input, so, it should be from Filter array. You can use the table outputs from Select to 1. get email addresses and concatenate, 2. create HTML table and insert in email Body.

     

    Best regards,

  • nitisak Profile Picture
    162 on at
    Re: Select specific column in HTML table to add into "To" in Send an email action

    Hi @v-jefferni 

    Could you see as below I did not know that I did it correct. 

     

    nitisak_0-1705562944006.pngnitisak_1-1705562974901.png

     

  • Verified answer
    v-jefferni Profile Picture
    on at
    Re: Select specific column in HTML table to add into "To" in Send an email action

    Hi @nitisak ,

     

    Add another Select operator, use Email dynamic content directly in Text mode:

    vjefferni_0-1705563729762.png

     

    Best regards,

  • nitisak Profile Picture
    162 on at
    Re: Select specific column in HTML table to add into "To" in Send an email action

    Hi @v-jefferni 

     

    Sorry it's my mistake. I would like to send email to email one by one depend on value in excel file. 

     

    EX. if Accno 1234 that have 6 records in excel and email = test@gmail.com , Accno 55666767 have 6 records and email = test1@gmail.com I would like automate to gather Accno that and send to Email in same row of Accno. 

     

    Now I can gather but stuck on send email action.

     

     

     

    nitisak_0-1705566929882.png

     

  • v-jefferni Profile Picture
    on at
    Re: Select specific column in HTML table to add into "To" in Send an email action

    Hi @nitisak ,

     

    If Accno1234 that have 6 records in excel and email = test@gmail.com , how many emails would you like to send to test@gmail.com , 1 or 6? What if there are 6 records with Accno1234 but 3 to test@gmail.com and 3 to test1@gmail.com ?

     

    Best regards,

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard