Client Overview
The client relied on HubSpot as the central system for inbound marketing and lead generation. Their team needed a way to verify user email addresses before treating form submissions as qualified leads.
The existing process allowed invalid, mistyped, or fake email addresses to enter the CRM, creating noise for marketing and sales teams.
The Challenge
The client needed a validation system that worked inside HubSpot without relying on a generic third-party plugin.
![]()
The system needed to:
- Capture form submissions
- Generate a secure validation token
- Send a validation email automatically
- Confirm the token through a custom page
- Update the contact record after validation
- Handle expired or invalid tokens
- Provide a smooth user experience
Standard HubSpot forms and workflows could not provide a complete token-based email validation system on their own.
Our Solution
We built a custom email validation system using HubSpot CMS, CRM properties, and workflows.

The experience worked like this:
- A user submits a form.
- A unique token is generated.
- HubSpot sends a validation email.
- The user clicks the validation link.
- A custom HubSpot CMS page verifies the token.
- The contact record is updated after successful validation.
Email Submission & Token Generation
When a user submitted the form, the system generated a random 6-character token and stored it in HubSpot.
The contact record included:
- Validation token
- Validation status
- Token timestamp
This created a secure validation trail inside the CRM.
Automated Email Dispatch
A HubSpot workflow triggered the validation email automatically.
The email included a personalized validation link containing the token. This allowed the user to confirm their email address through a dedicated validation page.
Custom Validation Landing Page
We built a custom HubSpot CMS page to validate the token.
The page checked:
- Whether the token matched
- Whether the token was still valid
- Whether the contact had already been validated
Based on the result, the user saw either a success message or an error message.
Token Verification Logic
If the token was valid, the system updated the contact’s email validation status.
If the token was invalid or expired, the system displayed a clear error and guided the user through the next step.
Resend Logic
The flow included resend handling, with validation emails available again after a defined delay.
This helped balance user convenience with security and system reliability.
Impact

The custom validation flow improved CRM data quality and reduced invalid leads entering HubSpot.
Business outcomes included:
- Cleaner contact data
- Reduced fake or mistyped email addresses
- Better trust in lead records
- Improved marketing automation accuracy
- A seamless user experience
- No dependency on third-party validation plugins
Final Thought
This project extended HubSpot beyond default form capabilities and created a more reliable lead capture process for long-term growth.