CRM

ChrisChiha
Contributeur de premier rang

Workflow Custom Code - Email Address Validation

SOLVE

Hello,

 

I need to use the custom code action in my workflows to validate email addresses before triggering an email to the contact.

 

I was going through the knowledge articles on the Hubspot website, and saw that this is possible. 

https://www.hubspot.com/programmable-automation-use-cases 
=>
https://gist.github.com/jackcoldrick90/cfdceb271cf14be70e441c6ee79849ef/revisions

I tried to implement it on an existing contact in a certain static list, but when i add this custom code to my workflow, it is throwing an error: 
The custom code threw an error. This could be due to a syntax error in the code, an error being returned by an API, or some other issue with the code. Check the logs in the event details for more information.


Would appreciate some assistance on this as this is my first custom code attempt within my workflows.

 

Thanks

0 Upvotes
1 Accepted solution
A-Cardenas
Solution
Contributor | Platinum Partner
Contributor | Platinum Partner

Workflow Custom Code - Email Address Validation

SOLVE

Hi Chris! 

 

Since Kickbox is a paid service, I believe you would need to create an account and an API key with them in order to use the workflow javascript action that you linked above from git. 

 

Here is their pricing/API connection page with more information: https://kickbox.com/email-verification-api/

 

If this helps, please mark it as a solution. If not, please let me know what further questions you have!

 

Thank you!

 

Alicia

Alicia Cardenas
Technology & WebOps Lead
Stream Creative
Linkedin

View solution in original post

0 Upvotes
1 Reply 1
A-Cardenas
Solution
Contributor | Platinum Partner
Contributor | Platinum Partner

Workflow Custom Code - Email Address Validation

SOLVE

Hi Chris! 

 

Since Kickbox is a paid service, I believe you would need to create an account and an API key with them in order to use the workflow javascript action that you linked above from git. 

 

Here is their pricing/API connection page with more information: https://kickbox.com/email-verification-api/

 

If this helps, please mark it as a solution. If not, please let me know what further questions you have!

 

Thank you!

 

Alicia

Alicia Cardenas
Technology & WebOps Lead
Stream Creative
Linkedin
0 Upvotes