# How to set fallback value for a Custom Token?

**URL:** <https://community.hubspot.com/t/how-to-set-fallback-value-for-a-custom-token/142405>\
**Category:** Email Marketing Tool\
**Tags:** workflows, marketing-email\
**Created:** [November 11, 2025, 10:07am UTC](https://community.hubspot.com/t/how-to-set-fallback-value-for-a-custom-token/142405 "2025-11-11T10:07:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TouzLeft](https://avatars.discourse-cdn.com/v4/letter/t/73ab20/32.png) [@TouzLeft](https://community.hubspot.com/u/TouzLeft)\
**Post date:** [November 11, 2025, 10:07am UTC](https://community.hubspot.com/t/how-to-set-fallback-value-for-a-custom-token/142405/1 "2025-11-11T10:07:28Z")

</div>

Hi,

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?

Thanks,

Lefteris

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [November 11, 2025, 10:11am UTC](https://community.hubspot.com/t/how-to-set-fallback-value-for-a-custom-token/142405/2 "2025-11-11T10:11:40Z")

</div>

Hi @TouzLeft,

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!

---

<div class="post-metadata">

**Author:** ![TouzLeft](https://avatars.discourse-cdn.com/v4/letter/t/73ab20/32.png) [@TouzLeft](https://community.hubspot.com/u/TouzLeft)\
**Post date:** [November 11, 2025, 11:14am UTC](https://community.hubspot.com/t/how-to-set-fallback-value-for-a-custom-token/142405/3 "2025-11-11T11:14:57Z")

</div>

Thanks @karstenkoehler , tested and worked!
