HubSpot Chatflows
Verify chatbot leads in HubSpot real time.
Verify chatbot and live chat leads in real time by connecting Clearout’s Email Verification API to HubSpot Chatflows. This ensures invalid, disposable, or risky emails are caught during the conversation, before they enter your HubSpot CRM.
You can also watch:
Integrate Clearout in HubSpot Chatflows
Follow these steps for a bot such as Qualify leads bot (the same pattern works for other bots)
Open your HubSpot chatflow:
Go to Conversations → Chatflows.
Click Create chatflow → Website and choose a bot (for example, Qualify leads bot).
Click Next to go to the Build section, where you can edit the action boxes
The steps given below are for the Qualify leads bot:
Once 'Qualify leads bot' is selected, click Next to reach the Build section to edit the Action Boxes.
Scroll down to the Action box named Get Email and click on the + icon below it to create a new action for email verification.

A new Action window will open. Scroll down to Run a code snippet, give an Action name and delete the existing code.

Please copy and paste this code.
Edit Row 11 by replacing 'REPLACE_WITH_YOUR_CLEAROUT_SERVER_APP_TOKEN' with Clearout's API Token and Save.

How To Generate a Clearout API Token?
To generate a Clearout API token, log in to Clearout, then navigate to Developer → API.
Give a name and description to the token and click Create
Copy the API token and paste it in Row 11 of the code

Go to the Get Email action box and edit the action name to Get_Email.
Note: The name should be exactly the same.

In the same Action box, scroll down to Save to HubSpot property. Choose Email from the dropdown. Uncheck the box that says Skip this action if property already exists and Save.

Your HubSpot chatbot with real-time email verification is READY! Give it a test run by hitting Preview.
Wasn't that quick and easy? The addition of a simple code snippet to your Chatflows can effectively block unwanted junk data from infiltrating your system. Let's make a conscious decision to work exclusively with fresh and valid data, ensuring we don't squander our precious time on irrelevant information.
Last updated
Was this helpful?

