Sales Email

DKhoo
Participant

Using Line Item Properties in Emails - Help!

Hi all,

 

I'm trying to create a workflow for where a deal is "Closed - Won" an email is triggered to be sent to the customer, which acts as a confirmation email.  

 

I want the email to show the line items that are part of the deal, along with some custom lin item properties that I have created (highlighted in green box below).

 

DKhoo_0-1629430460749.png

 

I tried creating a custom module to be used in the email template using this code:

{% email_each list="deal.line_items" item="line_item" %} 
 {{line_item}}
{% end_email_each %}

However when I try to save the email for automation, I get the following error message:

DKhoo_1-1629430577715.png

 

Can anyone tell me where I've gone wrong and how I can fix my problem?

 

Thanks in advance!

0 Upvotes
PamCotton
Community Manager
Community Manager

Using Line Item Properties in Emails - Help!

Hello @DKhoo ,  I would like to add some top experts to share their thoughts, @piersg @Chris-M any recommendations to @DKhoo matter?

 

Thank you

Pam

Você sabia que a Comunidade está disponível em outros idiomas?
Participe de conversas regionais, alterando suas configurações de idioma !


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !




0 Upvotes