I have set up a custom token in an email content (via automated workflow) using the format {{ custom.key }}, but I haven't seen any resource indicating how to add a fallback value. Anyone having a solution in mind?
For regular tokens it is {{ personalization_token('object.propertyname', 'Fallback value') }} – for custom tokens, I would assume it's {{ personalization_token('custom.key', 'Fallback value') }}
I haven't tested this but would assume it works. Give it a try and let me know how it goes!
Best regards!
Karsten Köhler HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer
For regular tokens it is {{ personalization_token('object.propertyname', 'Fallback value') }} – for custom tokens, I would assume it's {{ personalization_token('custom.key', 'Fallback value') }}
I haven't tested this but would assume it works. Give it a try and let me know how it goes!
Best regards!
Karsten Köhler HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer