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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Microsoft flows with c...
Power Automate
Unanswered

Microsoft flows with check boxes in email

(0) ShareShare
ReportReport
Posted on by 18

Hello,

 

I have created a microsoft flow for when a new item is created in my sharepoint list an email gets send to to a particular email address. Everything works great, however when I include a checkbox value to the body of the email "an apply to each" field pops up - I continue to save the flow.

 

On the sharepoint list, when I create a new item and on the checkbox field I ticked 3 values and hit save.  I then receive 3 separate emails for the 3 checkboxes that I chosed.  Is there a way to combine all the checkbox value I chosed into 1 single email instead of the number of check boxes I tick?

 

Note: on the Sharepoint list all the checkboxes that I chosed is saved into one single column/cell.

 

Thank you!

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    on at

    Hi @knguyen,

     

    Could you please share a bit more about the Checkbox field of your SharePoint list?

    I suppose that Checkbox field that you mentioned is a Choice type in your SharePoint list and you enable Checkboxes (allow multiple selections) in Display choices using. Is it true?20.jpgThe issue is confirmed on my side, if you want to combine all checkbox value into a single email, please take a try with the following workaround:

    • Add “When an item is created” trigger.
    • Add Variables-> “Initialize variable” action, Name set to CombineValue, Type set to String, Value set to null.
    • Add a “Apply to each”, Input parameter set to EmailTag content which is the Checkbox field. Within “Apply to each”, add “Compose” action, Input set to following formula:

     

    concat(item()?['Value'],';',variables('CombineValue')) 

     

    Add “Set variable” action, Name choose CombineValue, Value set to output of “Compose” action.

     

    • Add a “Send an email” action, Body field set to variable CombineValue.

    Image reference:16.JPG

     

    17.JPG

     

    Note: EmailTag is a Choice type column of SharePoint list which enable Checkboxes (allow multiple selections) in Display choices using.

     

    The flow works successfully as below:18.JPG

     

    19.JPG

     

    Best regards,

    Kris

  • knguyen Profile Picture
    18 on at

    Hello @v-xida-msft

     

    Thank you so much for looking into tihs and helping out!

     

    Below is what I did below, and it did combined the checkboxes.  However, on my sharepoint list If I ticked on 3 check boxes and hit save.  I receive 3 emails, the first email contains an output of 1 checkbox, the second with 2 checkbox outputs and the 3rd email with 3 checkbox outputs (image below).

     

    In addition, If i have 2 or 3 values with checkboxes do I have to perform the same steps for each?

     

    sharepoint1.JPGsharepoint2.JPG

    sharepoint3.JPG

     

     

    Thank you again!

     

  • Verified answer
    v-xida-msft Profile Picture
    on at

    Hi @knguyen,

     

    Do you take a try with the solution that I provided on your side?

    According to the screenshot of your flow that you provided, I find that there are some different between your flow and mine. Within your flow, you add "Send an email" action within "Apply to each", it would send emails based on the number of loop. 

     

    Please take a try to add "Send an email" action outside "Apply to each" action:22.JPG

    Note: You can upload a pbix file to Onedrive or any web storage and share the link. Do mask sensitive data before uploading

     

    Best regards,

    Kris

  • knguyen Profile Picture
    18 on at

    @v-xida-msftthank you so much! that worked flawlessly! much appreciated.

     

    flow1.JPGflows2.JPG

     

     

  • GrischkePro Profile Picture
    287 on at

    Thanks, it worked for me, however, the order is back to front. Is there an easy way to turn it around to the original order?

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard