Announcement

Collapse
No announcement yet.

Custom fields in email templates

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • pavel_s
    commented on 's reply
    Thanks a lot!

  • xurizaemon
    replied
    Hey Pavel

    EspoCRM uses Handlebars.js, so I expect you can use the if block helper:
    {{#if Lead.name}} Kia ora, {{Lead.name}} {{else}} Greetings, new friend! {{/if}} More details: https://handlebarsjs.com/builtin_helpers.html

    Leave a comment:


  • pavel_s
    replied
    I'm sorry(( my fault...
    We were trying to send email to Contact while adding {Lead.firstName}
    Next time I'll check for few times before create a topic.

    By the way
    is there any way to check if the Lead has firstName? because if don't he receives email with this {Lead.firstName}
    Thanks

    Leave a comment:


  • tanya
    replied
    Where? In compose view?
    What entity is parent for this email?

    Leave a comment:


  • pavel_s
    started a topic Custom fields in email templates

    Custom fields in email templates

    According to documentation
    It's possible to use placeholders in email template's body and subject e.g. {Account.name}, {Person.emailAddress}. They will be replaced with values of related records.
    But when template "is html" fields are shown like {Account.name}, {Person.emailAddress} - not the values of theese
    How can I fix it?
Working...
X