In HubSpot Workflows → Custom Code actions, Secrets are limited to 1,000 characters, as documented here:
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.