# Increasing Secrets Character Limit

**URL:** <https://community.hubspot.com/t/increasing-secrets-character-limit/144822>\
**Category:** HubSpot Ideas\
**Tags:** workflows\
**Created:** [January 12, 2026, 8:22pm UTC](https://community.hubspot.com/t/increasing-secrets-character-limit/144822 "2026-01-12T20:22:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Crisky](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/crisky/32/95963_2.png) [@Crisky](https://community.hubspot.com/u/Crisky)\
**Post date:** [January 12, 2026, 8:22pm UTC](https://community.hubspot.com/t/increasing-secrets-character-limit/144822/1 "2026-01-12T20:22:27Z")

</div>

In HubSpot Workflows → Custom Code actions, **Secrets are limited to 1,000 characters** , as documented here:

> **[Workflows | Custom Code Actions - HubSpot docs](https://developers.hubspot.com/docs/api-reference/legacy/automation/workflow-actions/custom-code-actions)**
>
> Instructions for using custom code actions in workflows

This limit is too low for many modern integrations.

**Why this is a problem**  
Many third-party APIs (SMS, telephony, workflow, security platforms) require:

- Long JWT tokens
- Signed tokens with embedded permissions
- Encrypted API credentials

These tokens often exceed 1,000 characters, making it impossible to store them securely in HubSpot Secrets.

**Impact**  
Because of this limit, users are forced to:

- Split tokens across multiple secrets
- Reconstruct tokens in code
- Or use insecure workarounds

**Request**  
Please consider increasing the Secret size limit to **at least 3,000 characters** for Workflow Custom Code actions.

This small change would significantly improve security, developer experience, and integration capabilities.
