Marketing Integrations

antonia_kraft
投稿者 | Platinum Partner
投稿者 | Platinum Partner

Zoom webinar confirmation email with calendar invite and custom object

解決

Hello, 

 

i am looking for a way to include a calendar invite in my confirmation email. Luckily we have found this post: https://community.hubspot.com/t5/Marketing-Integrations/Zoom-webinar-confirmation-email-with-calenda... and it works. 

Since we are storing all relevant webinar data on a custom object (webinar), the token that stores the log-in link is not on the contact object but on the webinar object. We will send out the confirmation email in a custom object webinar workflow, not a contact workflow. 

I tried creating the token the following way: 
{{ webinar.zoom_link }} 

This does not work. I remembered from another project that custom objects are a bit different and need their internal IDs in tokens so i took the internal ID from the properties overview page and the token looked like this: 
{{ 298675.zoom_link }} 

When i tried to test the email and see if the token is being displayed correctly, i got the following error: "unable to compose email, template may be missing. " (Screenshot). 

 

My question: has anyone ever seen this error? 
How can we access the log-in link token when its stored on a custom object? 

 

Grateful for any ideas 🙂 
Tagging @karstenkoehler as he got the solution for the original problem and @ChrisoKlepke since he is a HubSpot genius. 

 

 

 

1件の承認済みベストアンサー
ChrisoKlepke
解決策
キーアドバイザー | Elite Partner
キーアドバイザー | Elite Partner

Zoom webinar confirmation email with calendar invite and custom object

解決

Hey @antonia_kraft

 

thank you for tagging me on this and always great to hear from you 😊 Maybe I'm able to help out a little here, but I'll admit that I haven't read all the details in the original post. 

 

But the right syntax you're looking for the token is the following:

{{ personalization_token('p12345678_customObject.property', 'defaultValue') }}

So in your case, I guess it might look something like this:

{{ personalization_token('p298675_webinars.zoom_link', '') }}

If I'm not mistaken, it should be the plural name of your Custom Object, so webinars in your case. 

 

Please let me know how it goes and if it doesn't work, I'm happy to assist you further.

 

If you found this post helpful, consider helping others in the community to find answers faster by marking this as a solution. I'd really appreciate it.

 

Cheers, 

Chriso

元の投稿で解決策を見る

4件の返信
ChrisoKlepke
解決策
キーアドバイザー | Elite Partner
キーアドバイザー | Elite Partner

Zoom webinar confirmation email with calendar invite and custom object

解決

Hey @antonia_kraft

 

thank you for tagging me on this and always great to hear from you 😊 Maybe I'm able to help out a little here, but I'll admit that I haven't read all the details in the original post. 

 

But the right syntax you're looking for the token is the following:

{{ personalization_token('p12345678_customObject.property', 'defaultValue') }}

So in your case, I guess it might look something like this:

{{ personalization_token('p298675_webinars.zoom_link', '') }}

If I'm not mistaken, it should be the plural name of your Custom Object, so webinars in your case. 

 

Please let me know how it goes and if it doesn't work, I'm happy to assist you further.

 

If you found this post helpful, consider helping others in the community to find answers faster by marking this as a solution. I'd really appreciate it.

 

Cheers, 

Chriso

antonia_kraft
投稿者 | Platinum Partner
投稿者 | Platinum Partner

Zoom webinar confirmation email with calendar invite and custom object

解決

Hello @ChrisoKlepke , 

 

thank you for taking the time to look into it. 

To give you more background, the original code working to get a calendar invite including a log-in link looks sth like this: 

https://calendar.google.com/calendar/render?action=TEMPLATE&dates=20260326T141500Z%2F202403267144500Z&details=123&location=%7B%7B%contact.zoom_link%20%7D%7D&text=Awesome%20webinar 

So we dont need the brackets nor the personalisation description here. As soon as i change the "contact" to my custom object, the code does not work any longer and the email keeps giving me errors. I find its a strange behaviour not letting me access the custom objects properties value.. also i tested with various versions of singular, plural etc - nothing seems to be working. 

 

Glad for any ideas how to proceed here! 🙂 

 

0 いいね!
karstenkoehler
殿堂入り | Solutions Partner
殿堂入り | Solutions Partner

Zoom webinar confirmation email with calendar invite and custom object

解決

@antonia_kraft personalization tokens for associated objects typically only work when those automated emails are sent from a workflow based on that object, e.g. a deal token only works for automated emails sent from deal workflows. If you're sending an email from a contact-based workflow and expecting custom object tokens to populate but this is not working, then that might be why.

Karsten Köhler
HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer

Beratungstermin mit Karsten vereinbaren

 

Did my post help answer your query? Help the community by marking it as a solution.

0 いいね!
antonia_kraft
投稿者 | Platinum Partner
投稿者 | Platinum Partner

Zoom webinar confirmation email with calendar invite and custom object

解決

Hey @karstenkoehler

 

thank you for your thought. The error also appears if you want to send the mail in a custom object workflow - it is not being sent at all. 
Something seems to be wrong with the calendarcode that prevents the email from being able to be processed in order to get send...

0 いいね!