Skip to main content
Contributor I
October 12, 2023
Solved

Personalization Email button

  • October 12, 2023
  • 1 reply
  • 123 views

Hi,

 

We’re trying to create a button that when clicked an email will open with the To field populated by a personalization field.  Below is what we have... 

<div style="padding-top: 20px; padding-bottom: 40px; padding-left: 20px; background-color: #dddddd; border: none;"><a class="smallyellowbutton" href="mailto:{{ person|lookup:"OSR Email"|default:"" }}">CONTACT ME NOW</a></div>

 

but we are getting this result.  Any help would be appreciated.

<div style="padding-top: 20px; padding-bottom: 40px; padding-left: 20px; background-color: #dddddd; border: none;"><a class="smallyellowbutton" href="mailto:{{ person|lookup:"OSR Email"|default:"" }}"&gt;CONTACT ME NOW</div>

 

    This topic has been closed for replies.
    Best answer by Taylor Tarpley

    Hi there @gregb

     

    Welcome to the Community! Happy to help! 

     

    What a cool workflow you’re trying to create! As this requires custom coding I’m going to move this to our developer group to see if any of your peers have insights into this process! 

     

    As always, if you don’t have a developer available, I’d reach out to one of our Klaviyo partners to help get you started! 

     

    Hope this helps!

    -Taylor 

    1 reply

    Taylor Tarpley
    Community Manager
    Community Manager
    October 12, 2023

    Hi there @gregb

     

    Welcome to the Community! Happy to help! 

     

    What a cool workflow you’re trying to create! As this requires custom coding I’m going to move this to our developer group to see if any of your peers have insights into this process! 

     

    As always, if you don’t have a developer available, I’d reach out to one of our Klaviyo partners to help get you started! 

     

    Hope this helps!

    -Taylor