// email marketing and newsletters
Via APIDrip email verification with pingutil
Drip workflows start on store signups, popups and checkout, and fake or mistyped emails get the full abandoned-cart and welcome treatment. A subscriber.created webhook sends each new subscriber to your endpoint, pingutil checks the mailbox, and the Drip API applies a tag your workflows can branch on or unsubscribes the address from all mailings.
Where it connects: Drip webhook (subscriber.created event) plus the API v2 apply tag and unsubscribe_all endpoints
What goes wrong without it
- Our popup discount pulls in throwaway emails, and Drip keeps sending them abandoned-cart reminders that bounce.
- Shoppers mistype their email at checkout and we lose them for every follow-up.
- We pay for active subscribers, and nobody can tell which ones are real.
What you can do with Drip and pingutil
Tag before workflows branch
Apply a pingutil-invalid or pingutil-risky tag, then use a decision step in your welcome workflow to exit tagged subscribers.
Stop discount farming
Unsubscribe disposable and nonexistent addresses from all mailings so they never get the next coupon.
Recover typo signups
Tag subscribers where pingutil returns did_you_mean and show the corrected address on the order confirmation page or send it to support.
Set it up
- 1
Get your Drip API token and account ID, and create a pingutil API key.
- 2
Deploy the endpoint below with a secret in the path.
- 3
Create the webhook with POST https://api.getdrip.com/v2/{account_id}/webhooks, sending post_url and events ["subscriber.created"], or add it under Settings in Drip.
- 4
Create a test subscriber and confirm the tag appears on the profile.
- 5
Add a short delay and a tag decision to the start of your welcome workflow.
import express from 'express';
const app = express();
app.use(express.json());
const DRIP = 'https://api.getdrip.com/v2/' + process.env.DRIP_ACCOUNT_ID;
const DRIP_HEADERS = {
authorization: 'Basic ' + Buffer.from(process.env.DRIP_API_TOKEN + ':').toString('base64'),
'content-type': 'application/json',
'user-agent': 'pingutil-drip-hook',
};
async function verify(email) {
try {
const res = await fetch('https://pingutil.com/v1/verify', {
method: 'POST',
headers: { authorization: 'Bearer ' + process.env.PINGUTIL_KEY, 'content-type': 'application/json' },
body: JSON.stringify({ email }),
signal: AbortSignal.timeout(30000),
});
return res.ok ? await res.json() : null;
} catch {
return null; // fail open
}
}
async function handle(subscriber) {
const v = await verify(subscriber.email);
if (!v) return;
if (v.status === 'invalid') {
await fetch(DRIP + '/subscribers/' + encodeURIComponent(subscriber.id) + '/unsubscribe_all', { method: 'POST', headers: DRIP_HEADERS });
}
const tag = 'pingutil-' + v.status; // pingutil-valid, -invalid, -risky, -unknown
const tags = [{ email: subscriber.email, tag }];
if (v.did_you_mean) tags.push({ email: subscriber.email, tag: 'pingutil-typo' });
await fetch(DRIP + '/tags', { method: 'POST', headers: DRIP_HEADERS, body: JSON.stringify({ tags }) });
}
app.post('/hooks/drip/' + process.env.HOOK_SECRET, (req, res) => {
res.sendStatus(200);
if (req.body?.event === 'subscriber.created') handle(req.body.data.subscriber).catch(console.error);
});
app.listen(3000);What to do with each result
| pingutil result | Action in Drip |
|---|---|
| status: "invalid" | POST unsubscribe_all for the subscriber and apply pingutil-invalid. |
| reason: "disposable_domain" | Comes back invalid; unsubscribed before the next discount email. |
| status: "risky" or "unknown" | Apply pingutil-risky or pingutil-unknown; let workflows send transactional-style messages but skip promotions. |
| did_you_mean is set | Apply pingutil-typo for a support follow-up with the corrected address. |
Limits to plan for
- Drip re-sends rate-limited webhooks for up to 3 days and temporarily disables a webhook that keeps erroring, so the endpoint answers 200 first and verifies afterwards.
- pingutil checks up to 300 addresses per account per day (3,000 a month); a big sale with many popup signups may need Enterprise limits. Those are Free plan limits.
- Catch-all and unresponsive mail servers come back risky or unknown. Do not unsubscribe on those results.
Drip documentation
- developer.drip.com/#webhooks
- developer.drip.com/#apply-a-tag-to-a-subscriber
- developer.drip.com/#unsubscribe-from-all-mailings
Drip is a trademark of its owner. This integration uses Drip's documented extension points; it is not an official Drip app.
Common questions
- Does Drip send the email in the subscriber.created payload?
- Yes. The event carries the subscriber object under data.subscriber, which includes the id and email.
- Can I verify before the subscriber reaches Drip?
- If you collect emails in your own checkout or form code, call pingutil there first and only create the Drip subscriber when the result is not invalid.
Stop bad addresses in Drip today
Sign in with your email, create an API key and paste it into the step above. Test on a few real addresses first: the live demo shows exactly what your Drip setup will receive.