CRM
HappyFox email validation integration
A receiver you host answers a HappyFox Help Desk webhook on ticket creation: it reads the new ticket through HappyFox’s API, checks its contact’s address with our API and tags the ticket when the address is bad. Every check it cannot make leaves the ticket as it is.
Read the full setup guideGet an API key
- Setup guide
- TypeScript with no dependencies
Fires on ticket creation
URL https://<your receiver>/?token=<your relay token>
Signature optional: the webhook key in HAPPYFOX_WEBHOOK_KEY
Or a Smart Rule with the action Trigger WebhookAt a glance.
- Status
- Setup guide. Not listed on a marketplace yet: you set it up yourself in a few steps, below and in the full guide.
- For
- Support teams on HappyFox Help Desk who want tickets from contacts whose address cannot receive mail tagged, so a Smart Rule or a view can route them before an agent replies.
- You need
- A HappyFox Help Desk account and an administrator, a public HTTPS address for the receiver (a Cloudflare Worker, a Next.js route or your own server), and an API key made for it, with a daily credit cap.
- Costs
- 1 credit = 1 validated address, as with any API request. Free: unknown results, API errors, malformed addresses, test addresses on sandbox.email-validation.org, addresses on reserved domains such as example.com and, in a bulk list, repeats of an address (charged once).
- Full guide
- Read the full setup guide
Typical uses.
Tag bad addresses on new tickets
A definite invalid answer adds the tag invalid email. Add disposable, catch_all or unknown to the statuses that tag, or name your own tag.
Route them with a Smart Rule
The tag is an ordinary HappyFox tag, so your Smart Rules and views can hold or route those tickets.
Check only some tickets
Point a Smart Rule’s Trigger Webhook action at the receiver instead, and only the tickets that match its conditions are checked.
Set it up. 4 steps.
The short version of the full setup guide, which stays the reference when a step does not match what you see.
Download the files
It is not in a HappyFox marketplace: download the zip from the guide. It holds the receiver, a Cloudflare Worker entry and the licence.
Deploy the receiver
For example
npx wrangler deploy worker.ts, with our key, a HappyFox API key and auth code (Apps, Goodies, API), an agent id and a relay token of your own as the Worker’s secrets.Add the webhook
In HappyFox, Apps, Goodies, Webhooks: install it, keep Webhook Status enabled and add the receiver’s address, with the relay token in it, firing on ticket creation.
Test it
Create a test ticket whose contact is
no_mailbox@sandbox.email-validation.org: it should get the tag, for free. If your help desk emails the contact when a ticket is created, test with an address of yours that receives mail instead. Not yet tried on a real HappyFox account. Never reply to it.
Good to know.
The receiver answers within 4 seconds. A check still running then finishes after the answer, and the tag still lands.
No key, a timeout, no credits or any other error from our API leaves the ticket as it is. An unknown answer never takes a tag away.
HappyFox lets you set only the webhook’s URL, so the receiver refuses every request without the relay token in it and reads nothing. With the webhook key set, the signature must match too.
The receiver logs no address and sends it only to our US host, or with
EV_REGION=euto our EU host.
Connect HappyFox.
Test it on our sandbox addresses for free, then on your own contacts.
Updated · Maintained by: Email Validation LLC