Typeform embedded in HubSpot email only pulling default personalization tokens

Here’s my goal: Embed a Typeform form in a HubSpot email. When users select an option in the Typeform form, their names and email addresses are included in the Typeform responses.

What I’ve done so far: I created the form and added Hidden Fields. I went to Share > Embed in an email and paired my HubSpot personalization tokens with the Hidden Fields. I then copied the embed code into Typeform. (Thank you to Typeform for the amazing video and tutorial here!)

The issue: When I send the email to myself (it’s a live email, not a test), the default Email and Name values show up in the Typeform responses, instead of my name and email address. Any idea on how I can get the actual names and email addresses to populate?

Here’s the embed code:

<div class="mail-wrapper" style="" lang="und" dir="auto"> <table align="center" class="wrapper" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#FFFFFF;background-color:#FFFFFF;width:100%"> <tbody> <tr> <td> <!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="wrapper-outlook" role="presentation" style="width:640px;" width="640" bgcolor="#FFFFFF" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]--> <div style="margin:0px auto;max-width:640px"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:0;text-align:center"> <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" width="640px" ><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:640px;" width="640" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]--> <div class="" style="margin:0px auto;max-width:640px"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;text-align:center"> <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:640px;" ><![endif]--> <div class="mj-column-px-640 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top" width="100%"> <tbody> <tr> <td align="left" class="" style="font-size:0px;padding:10px 25px;word-break:break-word"> <div style="font-family:'Raleway',Helvetica,Arial;font-size:22px;font-weight:normal;line-height:32px;text-align:left;color:#000000">What LandingLens plan would you like to enroll in?</div> </td> </tr> <tr> <td align="left" class="" style="font-size:0px;padding:10px 25px;word-break:break-word"> <div style="font-family:Ubuntu,Helvetica,Arial,sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000"><a href="https://landingai.typeform.com/to/TKxaVHnS?typeform-medium=embed-email#email={{personalization_token('contact.email', 'email')}}&name={{personalization_token('contact.firstname', 'friend')}}&answers-01HT100CPCBPG9TBM9DMQY1AZS=01HT100CPCQJY61DP580MRP9FM" style="font-family:'Raleway',Helvetica,Arial;color:#000000;display:block;font-size:16px;line-height:18px;text-decoration:none;text-align:left;padding:10px 20px;border:1px solid #000000;border-radius:3px;background-color:rgba(0, 0, 0, 0.1)">Enroll me in the new Visionary plan</a></div> </td> </tr> <tr> <td align="left" class="" style="font-size:0px;padding:10px 25px;word-break:break-word"> <div style="font-family:Ubuntu,Helvetica,Arial,sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000"><a href="https://landingai.typeform.com/to/TKxaVHnS?typeform-medium=embed-email#email={{personalization_token('contact.email', 'email')}}&name={{personalization_token('contact.firstname', 'friend')}}&answers-01HT100CPCBPG9TBM9DMQY1AZS=01HT100CPC5Z0159H1XPP4B0H4" style="font-family:'Raleway',Helvetica,Arial;color:#000000;display:block;font-size:16px;line-height:18px;text-decoration:none;text-align:left;padding:10px 20px;border:1px solid #000000;border-radius:3px;background-color:rgba(0, 0, 0, 0.1)">Enroll me in the Free plan</a></div> </td> </tr> <tr> <td align="left" class="" style="font-size:0px;padding:10px 25px;word-break:break-word"> <div style="font-family:Ubuntu,Helvetica,Arial,sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000"><a href="https://landingai.typeform.com/to/TKxaVHnS?typeform-medium=embed-email#email={{personalization_token('contact.email', 'email')}}&name={{personalization_token('contact.firstname', 'friend')}}&answers-01HT100CPCBPG9TBM9DMQY1AZS=34d0a5f0-2471-4754-889b-7435b98ae7ac" style="font-family:'Raleway',Helvetica,Arial;color:#000000;display:block;font-size:16px;line-height:18px;text-decoration:none;text-align:left;padding:10px 20px;border:1px solid #000000;border-radius:3px;background-color:rgba(0, 0, 0, 0.1)">I'm not the decision maker in my organization</a></div> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]></td></tr></table><![endif]--> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]></td></tr></table></td></tr></table><![endif]--> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]></td></tr></table><![endif]--> </td> </tr> </tbody> </table> <style>#outlook a{padding:0}body{margin:0;padding:0;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}table,td{border-collapse:collapse;mso-table-lspace:0pt;mso-table-rspace:0pt}img{border:0;height:auto;line-height:100%;outline:none;text-decoration:none;-ms-interpolation-mode:bicubic}p{display:block;margin:13px 0}@media only screen and (min-width:480px){.mj-column-px-640{width:640px !important;max-width:640px}}.moz-text-html .mj-column-px-640{width:640px !important;max-width:640px}.mj-column-px-640{width:100% !important;max-width:640px}/*!sc*/data-styled.g1[id="sc-global-juhJZJ1"]{content:"sc-global-juhJZJ1,"}/*!sc*/</style><link href="https://font.typeform.com/dist/google/ubuntu/index.css" rel="stylesheet" type="text/css"><link href="https://font.typeform.com/dist/google/raleway/index.css" rel="stylesheet" type="text/css"></div>

And here’s what I see in Typeform (I’ve redacted a few things):

Hi @BiancaRagsdale,
Thanks for sharing the code and for reaching out to the Community!
I’d like to invite a couple of subject matter experts and some of our Community Members to this conversation: Hi @Jnix284, @Stephanie-OG, @CMedrano, @JGreco, @Ben_M, @ADR, @LDjelloul and @stefen do you have suggestions to help @BiancaRagsdale, please?
Also, if anybody else has anything to add and/or share, please feel free to join in the conversation :slightly_smiling_face:
Thank you very much and have a brilliant day!
Best,
Bérangère

Thanks for the tag @BérangèreL, I wish I could help more @BiancaRagsdale, unfortunately I can’t confirm for sure if it will work for this use case where Typeform is embedded in the email.

In other situations, you would pass the personalization tokens along from the contact record via URL parameters that you can then pull into the form.

I’m not sure if this would work for your use case or if a similar solution would be available.

Hopefully one of the others Bérangère tagged will have more insight!

Thank you @BérangèreL and @Jnix284 for the help and tips! I ended up adding a question to the form that asks the user for their email address. And when I sent the email, lo and behold, the names & email addresses did populate correctly for the Hidden Fields in the responses. So I must have done something differently in HubSpot when sending out the first email vs the “actual emails”.

Awesome @BiancaRagsdale I’m glad you got it working!

Hi @BiancaRagsdale, I hope that you are well!
Thank you so much for sharing the solution with the Community!
This will help many other Community Members!
Have a great day and weekend!
Best,
Bérangère