# Conditional and looping email content

**URL:** <https://community.hubspot.com/t/conditional-and-looping-email-content/28078>\
**Category:** HubSpot Ideas\
**Tags:** integrations\
**Created:** [November 17, 2020, 5:45am UTC](https://community.hubspot.com/t/conditional-and-looping-email-content/28078 "2020-11-17T05:45:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FelipeFelix](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/felipefelix/32/57767_2.png) [@FelipeFelix](https://community.hubspot.com/u/FelipeFelix)\
**Post date:** [November 17, 2020, 5:45am UTC](https://community.hubspot.com/t/conditional-and-looping-email-content/28078/1 "2020-11-17T05:45:59Z")

</div>

Hello!  
My company is trying to implement HubSpot transactional emails but we are having difficulty due to the lack of conditional and looping content functionality.

We need to send order receipts and others emails that can have one or more products (a “N” number of products) and this need to be sent through one email (because we can’t make a version of the email for every single possibility).

So HubSpot email template need to support looping and conditional content to be able to get information about each product and generate the content for the product (like description and image) as well as being able to hide content based on certain conditions. These emails will be sent through HubSpot single send API.

Best,

Felipe Felix
