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 Apps / Cannot input Compose i...
Power Apps
Answered

Cannot input Compose into Send email v2

(2) ShareShare
ReportReport
Posted on by 15
Hi,
 
I'm working on a flow to read a SharePoint list and send an email containing rows that match the query. I used compose to create a table to insert into the email. When I try to insert the output from Compose into the body of the email it doesn't let me select it.  I can see it, but I can't click it.  Screenshots below:
 
 
 
Any help would be greatly appreciated!
Categories:
I have the same question (0)
  • Verified answer
    Kalathiya Profile Picture
    2,007 Super User 2026 Season 1 on at
    Hello @ktc2,
     
    Could you please try searching for 'Output' in the dynamic content selection, as Compose will return the output? or you can directly write in expression.
    Copy and past below expression:
    outputs('Compose')
     
     
     
     

    If you’re still facing an issue, could you please share more details about that Compose action that what you’re storing in it and a screenshot if possible?

    If this response resolves your issue, please mark it as the Verified Answer so it can help other community members as well.
    ---------------------------------------------------------------------------------

    📩 Need more help? Just mention @Kalathiya and I’ll be happy to assist.

    ✔️ If this answer helped you, please tick “Does this answer your question?” so it can be marked as the Verified Answer.

    💛 A Like always motivates me to keep contributing!

     

     
  • Verified answer
    Haque Profile Picture
    2,916 on at
    Hello @ktc2,
     
    I would suggest three things:
     
    1. Close the flow, log out, relogin and try again.
    2. Instead of trying to click the Compose output in the dynamic content panel, go to the Expression tab and type outputs('Compose').
    3. To ensure outputs('Compose') is working  pass this to Create HTML table and see it produces results.
     

    I am sure some clues I tried to give. If these clues help to resolve the issue brought you by here, please don't forget to check the box Does this answer your question? At the same time, I am pretty sure you have liked the response!
  • Suggested answer
    deepakmehta13a Profile Picture
    322 on at

    Here is how to send all SharePoint list rows in a single styled email:

     

    Flow Structure:

    Recurrence → Get Items → Table Style (Compose) → Create HTML Table → Send an Email (V2)

    Step 1 — Get Items

    Add a Get items action connected to your SharePoint list. This pulls all the rows you want to include in the email.

     

    Step 2 — Add Table Styling (Compose)

    Add a Compose action right after Get items and rename it to "Table Style". Paste the following CSS into the Inputs field:

     
    <style>
    table {
      border: 1px solid #1C6EA4;
      background-color: #EEEEEE;
      width: 100%;
      text-align: left;
      border-collapse: collapse;
    }
    table td, table th {
      border: 1px solid #AAAAAA;
      padding: 3px 2px;
      white-space: nowrap;
    }
    table tbody td {
      font-size: 13px;
    }
    table thead {
      background: orange;
      border-bottom: 2px solid #444444;
    }
    table thead th {
      font-size: 15px;
      font-weight: bold;
      color: #FFFFFF;
      border-left: 2px solid #D0E4F5;
    }
    table thead th:first-child {
      border-left: none;
    }
    </style>
    
     

    You can adjust the colors, fonts, borders, and spacing to match your preference.

     

    Step 3 — Create HTML Table

    Add a Create HTML table action. Configure it as follows:


    • From: Select value from the Get items output

    • Columns: Set to Custom

    • Map only the columns you need. For example:

      • Header: Title → Value: Title (from Get items)

      • Header: Amount → Value: Amount (from Get items  
     

    Step 4 — Send an Email (V2)

    Add the Send an email (V2) action. In the Body field:


    1. Click the </> button in the toolbar to switch to HTML mode

    2. Type your message text in HTML:

    3.  
    <p>Hi,</p>
    <p>Your department has some organizational documentation that is past due for review. Please review the following document(s).</p>
    
     

    1. After the text, click inside the Body field and switch to the Expression tab in the dynamic content panel

    2. Enter the following expression and hit OK:

    3.  
    concat(outputs('Table_Style'),body('Create_HTML_table'))
    
     

    This combines your CSS styling with the HTML table so the email renders a clean, professional-looking table.

    Result:

    The email will look like this — a formatted table with styled headers, borders, and alternating row colors, all sent in a single email.

     

     

    If this helps resolve your issue, please consider marking the response as Verified so it can help others facing a similar scenario. 
    If you found this helpful, you can also click “Yes” on “Was this reply helpful?” or give it a Like. 

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,027

#2
Valantis Profile Picture

Valantis 644

#3
11manish Profile Picture

11manish 626

Last 30 days Overall leaderboard