How to create dynamic content in email body?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ecarlesi
    Junior Member
    • May 2022
    • 1

    How to create dynamic content in email body?

    Hi All, I'm new to EspoCRM, I search to find a clean solution but I can't solve, so I write here

    I need to send an email from Espo using a custom template thatI already create but, in the email body, I need to place a link that I receive from an API endpoint before load the email template.

    Thanks for your help

    Best Regards

    Emiliano
  • rabii
    Active Community Member
    • Jun 2016
    • 1250

    #2
    You can use formula to send the email which would allow you to pass in the link as a variable into the template. Or even you can create a template within the formula which would allow you pass in any variables and just send you email.
    Rabii
    Web Dev

    Comment

    • murray99
      Member
      • Jan 2017
      • 57

      #3
      If the email is going to a contact, save the link into a custom field on the contact (e.g.myLink) and embed {Contact.myLink} in the email.

      Comment

      Working...