Mailgun email verification with BillionVerify
Mailgun is a developer-focused email delivery API trusted by teams for transactional and marketing sends. Connecting BillionVerify before each send lets you eliminate invalid addresses and protect the sending reputation that your Mailgun domain depends on.
Why verify before the send
Mailgun tracks bounce and complaint rates per sending domain. A single batch of unverified contacts can push those metrics past Mailgun's thresholds, triggering automatic suspension. BillionVerify scrubs invalid, disposable, role-based, and catch-all addresses before they ever reach your Mailgun API call.
Ready-to-use n8n workflow
Import this workflow into n8n — it verifies every address with BillionVerify before Mailgun sends, so only deliverable contacts are emailed. Install the BillionVerify community node first, then add your API key. Adapted from this n8n template
{
"name": "Complete B2B sales pipeline: Apollo lead gen, Mailgun outreach & AI reply management + BillionVerify",
"nodes": [
{
"id": "27d3a434-861b-42ad-9afa-702185011fdb",
"name": "Limit",
"type": "n8n-nodes-base.limit",
"position": [
-4976,
-1888
],
"parameters": {},
"typeVersion": 1
},
{
"id": "bc817fb8-404f-4482-b41b-f0b538bc4ff1",
"name": "Merge",
"type": "n8n-nodes-base.merge",
"position": [
-3168,
-1904
],
"parameters": {},
"typeVersion": 3.1
},
{
"id": "6eb543e3-64c7-4298-bf1d-d726dcfdc718",
"name": "Time Zone",
"type": "n8n-nodes-base.code",
"position": [
-3040,
-1904
],
"parameters": {},
"typeVersion": 2
},
{
"id": "ea3d549c-b95f-4258-8a66-4d72fd1a43e7",
"name": "Sender Email",
"type": "n8n-nodes-base.code",
"position": [
-2896,
-1904
],
"parameters": {},
"typeVersion": 2
},
{
"id": "54ac11cc-f759-483d-8bf0-d2ccdff434d2",
"name": "Switch",
"type": "n8n-nodes-base.switch",
"position": [
-5024,
-960
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "eda2f699-87e3-47e4-8f9f-35a3e0f5fc19",
"name": "Loop Over Items",
"type": "n8n-nodes-base.splitInBatches",
"position": [
-4816,
-1232
],
"parameters": {},
"typeVersion": 3
},
{
"id": "e2714426-3da1-46ce-a6fa-66ef4aaca18b",
"name": "Wait",
"type": "n8n-nodes-base.wait",
"position": [
-4368,
-1168
],
"webhookId": "c4cf719a-d47f-4761-8a16-aff92b8e9a19",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "9df2eb32-4b8c-450b-9c78-2c2daa8350d4",
"name": "Loop Over Items1",
"type": "n8n-nodes-base.splitInBatches",
"position": [
-4816,
-736
],
"parameters": {},
"typeVersion": 3
},
{
"id": "154308b4-4316-4592-a483-14e4e4301ecf",
"name": "Wait1",
"type": "n8n-nodes-base.wait",
"position": [
-4368,
-672
],
"webhookId": "c4cf719a-d47f-4761-8a16-aff92b8e9a19",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "3e5e8520-853e-4f46-8b52-192336c52fdb",
"name": "Schedule Trigger1",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-5904,
-848
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "b98f7986-16a6-49e4-b301-cd86781c7a94",
"name": "If3",
"type": "n8n-nodes-base.if",
"position": [
-5344,
-1856
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "996e5962-a515-4052-b6d0-e703e2efefff",
"name": "Mailgun",
"type": "n8n-nodes-base.mailgun",
"onError": "continueRegularOutput",
"position": [
-4592,
-688
],
"parameters": {},
"typeVersion": 1
},
{
"id": "69d5fd6f-d628-4412-9d0c-cfdd4587e49f",
"name": "Mailgun1",
"type": "n8n-nodes-base.mailgun",
"onError": "continueRegularOutput",
"position": [
-4592,
-1200
],
"parameters": {},
"typeVersion": 1
},
{
"id": "c4699a8f-80da-40ba-bc94-eb10f44910c3",
"name": "General anlysis",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
-4400,
-2064
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "35873420-4131-4138-858e-463dee9925e2",
"name": "Limit1",
"type": "n8n-nodes-base.limit",
"position": [
-5248,
-960
],
"parameters": {},
"typeVersion": 1
},
{
"id": "2b768d85-ead6-42c2-ae25-ba1358265ef8",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-3872,
-2160
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "292d0b42-39d3-4a0a-9aab-33cd784863df",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-5920,
-1392
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "fd6d0b46-e334-4122-9458-65fc751fab3e",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-5920,
-2416
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "92fce186-0d0d-4c29-af5b-43436367e4f7",
"name": "No Operation, do nothing",
"type": "n8n-nodes-base.noOp",
"position": [
-4896,
-1680
],
"parameters": {},
"typeVersion": 1
},
{
"id": "1d94f67a-5481-40b1-a023-c72440f2eced",
"name": "Supabase2",
"type": "n8n-nodes-base.supabase",
"position": [
-5728,
-848
],
"parameters": {},
"typeVersion": 1
},
{
"id": "bc8a4879-e9fc-4076-831c-c64540334526",
"name": "If2",
"type": "n8n-nodes-base.if",
"position": [
-5456,
-848
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "95713afb-6b8e-40bd-a1f1-2204df391e20",
"name": "No Operation, do nothing2",
"type": "n8n-nodes-base.noOp",
"position": [
-5248,
-752
],
"parameters": {},
"typeVersion": 1
},
{
"id": "693a65b1-40ea-4eab-8f34-c38651d0ec1c",
"name": "Supabase3",
"type": "n8n-nodes-base.supabase",
"position": [
-4592,
-1408
],
"parameters": {},
"typeVersion": 1
},
{
"id": "62e2b07a-fcb7-4a10-a124-775a2fd7ae07",
"name": "Supabase4",
"type": "n8n-nodes-base.supabase",
"position": [
-4592,
-848
],
"parameters": {},
"typeVersion": 1
},
{
"id": "a07358ac-2062-411e-b581-aab3f66529ff",
"name": "Structured Output Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"disabled": true,
"position": [
-3648,
-2048
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "e3b55fe8-e670-421f-848c-ab4b85d8021a",
"name": "Code",
"type": "n8n-nodes-base.code",
"position": [
-3456,
-2320
],
"parameters": {},
"typeVersion": 2
},
{
"id": "f22a857d-0e66-4eb5-9471-ad37325c8885",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-4064,
-1408
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "298eadec-4cb4-43c8-83bb-69b4fde051e4",
"name": "Schedule Trigger3",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-5808,
-1856
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "cf82532f-5757-4802-8eee-57ff328fd187",
"name": "Supabase11",
"type": "n8n-nodes-base.supabase",
"position": [
-3888,
-784
],
"parameters": {},
"typeVersion": 1
},
{
"id": "79436ed4-c6e9-4743-9d77-ff909a68851f",
"name": "If1",
"type": "n8n-nodes-base.if",
"position": [
-3600,
-784
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "0b986d68-7396-4f1c-915c-bc1bd32d41bc",
"name": "Evualute when the mail was sent",
"type": "n8n-nodes-base.code",
"position": [
-3744,
-784
],
"parameters": {},
"typeVersion": 2
},
{
"id": "b423eb64-3947-4663-8a0c-edb47d457242",
"name": "Sort",
"type": "n8n-nodes-base.sort",
"position": [
-3408,
-880
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f405336d-2832-4d29-9a7d-7f2cade23dbd",
"name": "Sort1",
"type": "n8n-nodes-base.sort",
"position": [
-5152,
-1888
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e83b6aee-8f9e-4bf4-b4a2-b39de6223e02",
"name": "Sort2",
"type": "n8n-nodes-base.sort",
"position": [
-5584,
-848
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ab93c74b-1a5c-41ff-a618-a7699dbfef74",
"name": "Limit2",
"type": "n8n-nodes-base.limit",
"position": [
-3248,
-880
],
"parameters": {},
"typeVersion": 1
},
{
"id": "b2a7a07b-cce5-41af-95d2-9b192e7f399e",
"name": "Switch5",
"type": "n8n-nodes-base.switch",
"position": [
-3120,
-880
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "b9c899a3-f99c-44b0-ae45-9857da1d4ee5",
"name": "Loop Over Items7",
"type": "n8n-nodes-base.splitInBatches",
"position": [
-2896,
-1152
],
"parameters": {},
"typeVersion": 3
},
{
"id": "43a5a2ed-dd44-44f4-abf3-a0e9b85997fd",
"name": "Wait7",
"type": "n8n-nodes-base.wait",
"position": [
-2464,
-1104
],
"webhookId": "c4cf719a-d47f-4761-8a16-aff92b8e9a19",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "3f2722af-7d15-4bd5-a328-4d6a118617d2",
"name": "Loop Over Items10",
"type": "n8n-nodes-base.splitInBatches",
"position": [
-2896,
-656
],
"parameters": {},
"typeVersion": 3
},
{
"id": "dec76f0f-f222-42cb-8165-5e6584ad584e",
"name": "Wait10",
"type": "n8n-nodes-base.wait",
"position": [
-2464,
-592
],
"webhookId": "c4cf719a-d47f-4761-8a16-aff92b8e9a19",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "c1bd8891-cbd6-44f5-8594-f206fc2529af",
"name": "Mailgun6",
"type": "n8n-nodes-base.mailgun",
"onError": "continueRegularOutput",
"position": [
-2672,
-640
],
"parameters": {},
"typeVersion": 1
},
{
"id": "13f186e5-a58c-458f-b374-dcb35004ecdd",
"name": "Mailgun7",
"type": "n8n-nodes-base.mailgun",
"onError": "continueRegularOutput",
"position": [
-2672,
-1136
],
"parameters": {},
"typeVersion": 1
},
{
"id": "3cd89f07-ce84-41af-a4b8-04d262de3283",
"name": "Supabase12",
"type": "n8n-nodes-base.supabase",
"position": [
-2672,
-1344
],
"parameters": {},
"typeVersion": 1
},
{
"id": "98364fb0-f5d7-451f-83f9-57bc61c69f60",
"name": "Supabase14",
"type": "n8n-nodes-base.supabase",
"position": [
-2672,
-832
],
"parameters": {},
"typeVersion": 1
},
{
"id": "6224874f-8032-4cb3-8d1a-3176e6449a6b",
"name": "Schedule Trigger4",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-4016,
-784
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "b6c62bcc-6000-4539-95e0-5209bd8f7aa9",
"name": "No Operation, do nothing1",
"type": "n8n-nodes-base.noOp",
"position": [
-3360,
-688
],
"parameters": {},
"typeVersion": 1
},
{
"id": "53b4c414-5f98-40dc-82d8-eb3cd1e46eba",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-5216,
-304
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "2c143a9c-c11c-4a59-bc1a-ad331eaee0f0",
"name": "Supabase13",
"type": "n8n-nodes-base.supabase",
"position": [
-4960,
304
],
"parameters": {},
"typeVersion": 1
},
{
"id": "6c0384cf-9efa-4e67-a2c3-65cfc35e0b29",
"name": "If",
"type": "n8n-nodes-base.if",
"position": [
-4528,
304
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "c806c9fa-78ae-4048-9b71-e38d8d3e1cad",
"name": "Evualute when the mail was sent1",
"type": "n8n-nodes-base.code",
"position": [
-4752,
304
],
"parameters": {},
"typeVersion": 2
},
{
"id": "4895418b-4719-4caa-9a97-fd9f7740ca79",
"name": "Sort3",
"type": "n8n-nodes-base.sort",
"position": [
-4304,
192
],
"parameters": {},
"typeVersion": 1
},
{
"id": "462e9de3-04d2-4912-9591-6f960c8098e0",
"name": "Limit4",
"type": "n8n-nodes-base.limit",
"position": [
-4080,
192
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0b71716b-a831-40e5-bee5-5c17bc364805",
"name": "Switch6",
"type": "n8n-nodes-base.switch",
"position": [
-3872,
192
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "5e9516b4-c7de-4d76-8bee-e381aef2901c",
"name": "Loop Over Items8",
"type": "n8n-nodes-base.splitInBatches",
"position": [
-3648,
-80
],
"parameters": {},
"typeVersion": 3
},
{
"id": "1aac4984-b38c-4b13-b731-a2ca248d2692",
"name": "Wait8",
"type": "n8n-nodes-base.wait",
"position": [
-3200,
-16
],
"webhookId": "c4cf719a-d47f-4761-8a16-aff92b8e9a19",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "fa219c52-49e8-44a9-a7e4-92b82ef5aa21",
"name": "Loop Over Items11",
"type": "n8n-nodes-base.splitInBatches",
"position": [
-3648,
416
],
"parameters": {},
"typeVersion": 3
},
{
"id": "7bc06c36-3cbf-4f23-ae9b-6b04ddc32743",
"name": "Wait11",
"type": "n8n-nodes-base.wait",
"position": [
-3200,
480
],
"webhookId": "c4cf719a-d47f-4761-8a16-aff92b8e9a19",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "10464b78-de8d-465b-9a0b-6e7ea7131b4e",
"name": "Mailgun8",
"type": "n8n-nodes-base.mailgun",
"onError": "continueRegularOutput",
"position": [
-3424,
432
],
"parameters": {},
"typeVersion": 1
},
{
"id": "350ad0cc-1cf8-44d9-8f8d-34012e1e628f",
"name": "Mailgun9",
"type": "n8n-nodes-base.mailgun",
"onError": "continueRegularOutput",
"position": [
-3424,
-64
],
"parameters": {},
"typeVersion": 1
},
{
"id": "a645f4e2-2d3c-4f8c-89f0-e76cb1b0cf14",
"name": "Supabase15",
"type": "n8n-nodes-base.supabase",
"position": [
-3424,
-256
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f2370654-43d8-4439-9ebb-da9bc2ec7a42",
"name": "Supabase16",
"type": "n8n-nodes-base.supabase",
"position": [
-3424,
240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "982c24ce-1400-40ae-a11a-a70d6fbb5b85",
"name": "Schedule Trigger6",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-5184,
304
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "b4ba3e67-60ed-496a-a1c4-66baa9635aab",
"name": "No Operation, do nothing4",
"type": "n8n-nodes-base.noOp",
"position": [
-4304,
400
],
"parameters": {},
"typeVersion": 1
},
{
"id": "18e79c15-0748-409b-b647-370c9b7593b8",
"name": "research about company",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
-4752,
-2064
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "b24bc973-200a-49bd-97d1-58d2db879b33",
"name": "create email sequence",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-3840,
-2320
],
"parameters": {},
"typeVersion": 1.9
},
{
"id": "5543bf2a-9e91-47a1-b586-e4b66bcec89c",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-5632,
-1920
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "7177ce06-3c5e-43ba-b141-206d25bf669f",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-5392,
-1936
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f8cc5364-71b9-44a6-8eb8-605804dad620",
"name": "Get many rows",
"type": "n8n-nodes-base.supabase",
"position": [
-5552,
-1856
],
"parameters": {},
"typeVersion": 1
},
{
"id": "9adc90f6-2479-418c-b5cb-4eba356acede",
"name": "Sticky Note6",
"type": "n8n-nodes-base.stickyNote",
"position": [
-7280,
-2512
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d1570a31-9d06-47e4-9791-55280e7798d9",
"name": "Sticky Note7",
"type": "n8n-nodes-base.stickyNote",
"position": [
-4864,
-2384
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "61ae9ad6-f2de-4199-9965-bc7e2ace6d76",
"name": "Your leads table",
"type": "n8n-nodes-base.supabase",
"position": [
-2736,
-1904
],
"parameters": {},
"typeVersion": 1
},
{
"id": "03d21779-7f18-4cb1-ab04-fd6a695dd766",
"name": "Sticky Note8",
"type": "n8n-nodes-base.stickyNote",
"position": [
-6608,
-880
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "ebb6493c-e681-495f-98c1-690880159ccf",
"name": "Sticky Note9",
"type": "n8n-nodes-base.stickyNote",
"position": [
-5104,
-1024
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d21016ea-777e-4862-8baf-dd0f26eeedb1",
"name": "Create URL",
"type": "n8n-nodes-base.code",
"position": [
-5744,
-3200
],
"parameters": {},
"typeVersion": 2
},
{
"id": "3bffc950-5178-4af2-9853-5d95901f8de0",
"name": "Extract Info",
"type": "n8n-nodes-base.set",
"position": [
-5312,
-3200
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "f0f12623-7d98-47b5-b1f2-580103feee74",
"name": "Only Keep Verified Emails ",
"type": "n8n-nodes-base.filter",
"position": [
-5088,
-3200
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "85af7df6-72cb-4c37-9f1e-823792a1e594",
"name": "Download File1",
"type": "n8n-nodes-base.telegram",
"position": [
-6832,
-3376
],
"webhookId": "00c7755c-cd84-4aa4-89fe-c56f1f0cb50d",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "5677f6d9-749f-4178-898f-9a966e999d9e",
"name": "Transcribe1",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
-6608,
-3376
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "a5f48820-3b89-41dd-bc51-95df7b6bdd4d",
"name": "Text1",
"type": "n8n-nodes-base.set",
"position": [
-6704,
-3120
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "2dcf8460-8cec-4932-8e13-338ea0a24ab6",
"name": "Voice or Text1",
"type": "n8n-nodes-base.switch",
"position": [
-7056,
-3280
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "4821533b-1056-4729-a7ff-c8557f04804c",
"name": "OpenAI Chat Model1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-6384,
-3056
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "3d1d5934-c038-4125-8660-bfc19ec82fec",
"name": "Simple Memory",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
-6272,
-3056
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "1e43401d-840c-4b0b-8622-86b87eff0899",
"name": "Select already scraped mails",
"type": "n8n-nodes-base.postgres",
"position": [
-5552,
-3472
],
"parameters": {},
"typeVersion": 2.6
},
{
"id": "effac512-1d23-4f77-824b-684ab6d6ae67",
"name": "Keep only the new leads",
"type": "n8n-nodes-base.compareDatasets",
"position": [
-4848,
-3232
],
"parameters": {},
"typeVersion": 2.3
},
{
"id": "065abd0f-f89e-41e0-a0a3-b89de0c0c3f9",
"name": "Already scraped",
"type": "n8n-nodes-base.noOp",
"position": [
-4512,
-3328
],
"parameters": {},
"typeVersion": 1
},
{
"id": "29855d01-8dde-47db-940a-86e4ab15a978",
"name": "Create rows with new leads",
"type": "n8n-nodes-base.supabase",
"position": [
-4576,
-3120
],
"parameters": {},
"typeVersion": 1
},
{
"id": "59aa91ac-0b96-4482-bc6c-14b806ff757d",
"name": "Set Telegram message",
"type": "n8n-nodes-base.set",
"position": [
-4368,
-3120
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "7ddea704-eb2d-4e36-90bf-75513091ad1a",
"name": "Confirmation message",
"type": "n8n-nodes-base.telegram",
"position": [
-3952,
-3120
],
"webhookId": "20bb0a77-76bc-4d9a-bdb4-f5e53a80d299",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "e904c3b0-9b3c-4873-92e1-1347e8d3e758",
"name": "User message",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
-7264,
-3280
],
"webhookId": "75096a78-a466-4f4e-bc0d-f68e9e952231",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "2d00609e-95b8-4666-b6d4-35c778f5383d",
"name": "Generate query payload",
"type": "n8n-nodes-base.set",
"position": [
-5952,
-3168
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "c51252a6-2817-4855-8d32-56c7e2d91351",
"name": "Scraper agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-6352,
-3280
],
"parameters": {},
"typeVersion": 1.9
},
{
"id": "ed383907-566b-4fae-888a-de38bcdb3856",
"name": "Run an Actor",
"type": "@apify/n8n-nodes-apify.apify",
"position": [
-5536,
-3200
],
"parameters": {},
"typeVersion": 1
},
{
"id": "26d46432-be31-4792-8515-53040306add5",
"name": "Limit3",
"type": "n8n-nodes-base.limit",
"position": [
-4176,
-3120
],
"parameters": {},
"typeVersion": 1
},
{
"id": "59a8c411-abd0-4b83-8594-23376ccf23ce",
"name": "Structured Output Parser1",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
-6144,
-3056
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "6ee9e2d6-c430-4858-ad40-e9e5d8f729dc",
"name": "Sticky Note10",
"type": "n8n-nodes-base.stickyNote",
"position": [
-7296,
-3520
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "cf24f6b6-2398-4d75-b595-fce8d61d1d60",
"name": "Sticky Note11",
"type": "n8n-nodes-base.stickyNote",
"position": [
-6416,
-3520
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "89e277d9-7b51-4e01-8141-2611bbe044dd",
"name": "Sticky Note12",
"type": "n8n-nodes-base.stickyNote",
"position": [
-3696,
-3776
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "2d94af3c-a246-4459-ae17-c21947ea4c55",
"name": "Sticky Note13",
"type": "n8n-nodes-base.stickyNote",
"position": [
-5792,
-3280
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d3291018-9215-443b-8ad8-ab0816daaeae",
"name": "Sticky Note14",
"type": "n8n-nodes-base.stickyNote",
"position": [
-4608,
-2960
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "8cfa4530-62e7-4340-806c-01c248e092b6",
"name": "Sticky Note15",
"type": "n8n-nodes-base.stickyNote",
"position": [
-7296,
-3760
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "866fa84c-00ab-4745-aede-3ded4b880441",
"name": "Sticky Note16",
"type": "n8n-nodes-base.stickyNote",
"position": [
-7328,
-4176
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "653974ca-d528-496d-a958-c2d575352819",
"name": "Sticky Note17",
"type": "n8n-nodes-base.stickyNote",
"position": [
-7328,
-2624
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "74b58187-e74e-4b0b-ac24-94b39861a9b7",
"name": "Sticky Note18",
"type": "n8n-nodes-base.stickyNote",
"position": [
-4656,
-1296
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "eb8f62f4-8567-483f-b19c-d466302f5f32",
"name": "Gmail Trigger",
"type": "n8n-nodes-base.gmailTrigger",
"position": [
-7248,
1040
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "92e86738-14d5-4fdf-8f73-09ab97d2befb",
"name": "Sticky Note19",
"type": "n8n-nodes-base.stickyNote",
"position": [
-7344,
768
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f65fbc0b-42e9-47ec-8e9a-e845b3985782",
"name": "Get a message",
"type": "n8n-nodes-base.gmail",
"position": [
-5904,
1040
],
"webhookId": "[REDACTED_WEBHOOK_ID]",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "375296cc-124c-4163-855a-60929bed682a",
"name": "Execute a SQL query",
"type": "n8n-nodes-base.postgres",
"position": [
-6752,
1040
],
"parameters": {},
"typeVersion": 2.6
},
{
"id": "3d2f76ee-0922-405f-874c-6f64887e0352",
"name": "Set replied = Yes ",
"type": "n8n-nodes-base.postgres",
"position": [
-6352,
1040
],
"parameters": {},
"typeVersion": 2.6
},
{
"id": "a9ccdd68-100a-4e48-938b-7fdf860b5b69",
"name": "Only from email campaigns",
"type": "n8n-nodes-base.filter",
"position": [
-6560,
1040
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "aec108fb-5c14-4fa6-9d69-c8f86eb5e711",
"name": "extract email",
"type": "n8n-nodes-base.code",
"position": [
-6992,
1040
],
"parameters": {},
"typeVersion": 2
},
{
"id": "0f1ef5e9-bec2-40d7-8cb5-1f82d45a299c",
"name": "Get Email History",
"type": "n8n-nodes-base.gmailTool",
"position": [
-5152,
1328
],
"webhookId": "REPLACE_WITH_WEBHOOK_ID",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "841a0797-e933-4a34-a627-6da450fbe931",
"name": "Check Sent History",
"type": "n8n-nodes-base.gmailTool",
"position": [
-5296,
1328
],
"webhookId": "REPLACE_WITH_WEBHOOK_ID",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "5fcdfd0a-6f2c-4400-9f01-df19f6f2036b",
"name": "Email Response Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
-4944,
1296
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "4d3eab59-2bc6-4f20-89f8-99d0f4e38816",
"name": "Professional Email Response Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-5408,
1024
],
"parameters": {},
"typeVersion": 1.9
},
{
"id": "d1a2d49e-dfd7-4241-ba8c-543ebb928ce4",
"name": "Create Draft Response",
"type": "n8n-nodes-base.gmail",
"position": [
-4688,
1024
],
"webhookId": "REPLACE_WITH_WEBHOOK_ID",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "4985bfb6-4a23-404b-9072-70bf6b78fb04",
"name": "Anthropic Chat Model1",
"type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
"position": [
-5552,
1264
],
"parameters": {},
"typeVersion": 1.3
},
{
"parameters": {
"operation": "verify",
"email": "={{ $json.email || $json.Email }}",
"additionalOptions": {}
},
"type": "n8n-nodes-billionverify.billionVerify",
"typeVersion": 1,
"position": [
-6264,
1040
],
"name": "Verify Email (BillionVerify)",
"credentials": {
"billionVerifyApi": {
"id": "",
"name": "BillionVerify account"
}
}
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "loose"
},
"combinator": "and",
"conditions": [
{
"id": "is-deliverable",
"leftValue": "={{ $json.is_deliverable }}",
"rightValue": "",
"operator": {
"type": "boolean",
"operation": "true",
"singleValue": true
}
}
]
}
},
"type": "n8n-nodes-base.if",
"typeVersion": 2,
"position": [
-6084,
1040
],
"name": "IF deliverable"
},
{
"parameters": {
"operation": "verify",
"email": "={{ $json.email || $json.Email }}",
"additionalOptions": {}
},
"type": "n8n-nodes-billionverify.billionVerify",
"typeVersion": 1,
"position": [
-5048,
1024
],
"name": "Verify Email (BillionVerify) 2",
"credentials": {
"billionVerifyApi": {
"id": "",
"name": "BillionVerify account"
}
}
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "loose"
},
"combinator": "and",
"conditions": [
{
"id": "is-deliverable",
"leftValue": "={{ $json.is_deliverable }}",
"rightValue": "",
"operator": {
"type": "boolean",
"operation": "true",
"singleValue": true
}
}
]
}
},
"type": "n8n-nodes-base.if",
"typeVersion": 2,
"position": [
-4868,
1024
],
"name": "IF deliverable 2"
}
],
"connections": {
"If": {
"main": [
[
{
"node": "Sort3",
"type": "main",
"index": 0
}
],
[
{
"node": "No Operation, do nothing4",
"type": "main",
"index": 0
}
]
]
},
"If1": {
"main": [
[
{
"node": "Sort",
"type": "main",
"index": 0
}
],
[
{
"node": "No Operation, do nothing1",
"type": "main",
"index": 0
}
]
]
},
"If2": {
"main": [
[
{
"node": "Limit1",
"type": "main",
"index": 0
}
],
[
{
"node": "No Operation, do nothing2",
"type": "main",
"index": 0
}
]
]
},
"If3": {
"main": [
[
{
"node": "Sort1",
"type": "main",
"index": 0
}
],
[
{
"node": "No Operation, do nothing",
"type": "main",
"index": 0
}
]
]
},
"Code": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
},
"Sort": {
"main": [
[
{
"node": "Limit2",
"type": "main",
"index": 0
}
]
]
},
"Wait": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Limit": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 1
},
{
"node": "research about company",
"type": "main",
"index": 0
}
]
]
},
"Merge": {
"main": [
[
{
"node": "Time Zone",
"type": "main",
"index": 0
}
]
]
},
"Sort1": {
"main": [
[
{
"node": "Limit",
"type": "main",
"index": 0
}
]
]
},
"Sort2": {
"main": [
[
{
"node": "If2",
"type": "main",
"index": 0
}
]
]
},
"Sort3": {
"main": [
[
{
"node": "Limit4",
"type": "main",
"index": 0
}
]
]
},
"Text1": {
"main": [
[
{
"node": "Scraper agent",
"type": "main",
"index": 0
}
]
]
},
"Wait1": {
"main": [
[
{
"node": "Loop Over Items1",
"type": "main",
"index": 0
}
]
]
},
"Wait7": {
"main": [
[
{
"node": "Loop Over Items7",
"type": "main",
"index": 0
}
]
]
},
"Wait8": {
"main": [
[
{
"node": "Loop Over Items8",
"type": "main",
"index": 0
}
]
]
},
"Limit1": {
"main": [
[
{
"node": "Switch",
"type": "main",
"index": 0
}
]
]
},
"Limit2": {
"main": [
[
{
"node": "Switch5",
"type": "main",
"index": 0
}
]
]
},
"Limit3": {
"main": [
[
{
"node": "Confirmation message",
"type": "main",
"index": 0
}
]
]
},
"Limit4": {
"main": [
[
{
"node": "Switch6",
"type": "main",
"index": 0
}
]
]
},
"Switch": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
],
[
{
"node": "Loop Over Items1",
"type": "main",
"index": 0
}
]
]
},
"Wait10": {
"main": [
[
{
"node": "Loop Over Items10",
"type": "main",
"index": 0
}
]
]
},
"Wait11": {
"main": [
[
{
"node": "Loop Over Items11",
"type": "main",
"index": 0
}
]
]
},
"Mailgun": {
"main": [
[
{
"node": "Wait1",
"type": "main",
"index": 0
}
]
]
},
"Switch5": {
"main": [
[
{
"node": "Loop Over Items7",
"type": "main",
"index": 0
}
],
[
{
"node": "Loop Over Items10",
"type": "main",
"index": 0
}
]
]
},
"Switch6": {
"main": [
[
{
"node": "Loop Over Items8",
"type": "main",
"index": 0
}
],
[
{
"node": "Loop Over Items11",
"type": "main",
"index": 0
}
]
]
},
"Mailgun1": {
"main": [
[
{
"node": "Wait",
"type": "main",
"index": 0
}
]
]
},
"Mailgun6": {
"main": [
[
{
"node": "Wait10",
"type": "main",
"index": 0
}
]
]
},
"Mailgun7": {
"main": [
[
{
"node": "Wait7",
"type": "main",
"index": 0
}
]
]
},
"Mailgun8": {
"main": [
[
{
"node": "Wait11",
"type": "main",
"index": 0
}
]
]
},
"Mailgun9": {
"main": [
[
{
"node": "Wait8",
"type": "main",
"index": 0
}
]
]
},
"Supabase2": {
"main": [
[
{
"node": "Sort2",
"type": "main",
"index": 0
}
]
]
},
"Time Zone": {
"main": [
[
{
"node": "Sender Email",
"type": "main",
"index": 0
}
]
]
},
"Create URL": {
"main": [
[
{
"node": "Run an Actor",
"type": "main",
"index": 0
}
]
]
},
"Supabase11": {
"main": [
[
{
"node": "Evualute when the mail was sent",
"type": "main",
"index": 0
}
]
]
},
"Supabase13": {
"main": [
[
{
"node": "Evualute when the mail was sent1",
"type": "main",
"index": 0
}
]
]
},
"Transcribe1": {
"main": [
[
{
"node": "Scraper agent",
"type": "main",
"index": 0
}
]
]
},
"Extract Info": {
"main": [
[
{
"node": "Only Keep Verified Emails ",
"type": "main",
"index": 0
}
]
]
},
"Run an Actor": {
"main": [
[
{
"node": "Extract Info",
"type": "main",
"index": 0
}
]
]
},
"Sender Email": {
"main": [
[
{
"node": "Your leads table",
"type": "main",
"index": 0
}
]
]
},
"User message": {
"main": [
[
{
"node": "Voice or Text1",
"type": "main",
"index": 0
}
]
]
},
"Get a message": {
"main": [
[
{
"node": "Professional Email Response Agent",
"type": "main",
"index": 0
}
]
]
},
"Get many rows": {
"main": [
[
{
"node": "If3",
"type": "main",
"index": 0
}
]
]
},
"Gmail Trigger": {
"main": [
[
{
"node": "extract email",
"type": "main",
"index": 0
}
]
]
},
"Scraper agent": {
"main": [
[
{
"node": "Generate query payload",
"type": "main",
"index": 0
},
{
"node": "Select already scraped mails",
"type": "main",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "Scraper agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"extract email": {
"main": [
[
{
"node": "Execute a SQL query",
"type": "main",
"index": 0
}
]
]
},
"Download File1": {
"main": [
[
{
"node": "Transcribe1",
"type": "main",
"index": 0
}
]
]
},
"Voice or Text1": {
"main": [
[
{
"node": "Download File1",
"type": "main",
"index": 0
}
],
[
{
"node": "Text1",
"type": "main",
"index": 0
}
]
]
},
"General anlysis": {
"main": [
[
{
"node": "create email sequence",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items": {
"main": [
[
{
"node": "Supabase3",
"type": "main",
"index": 0
}
],
[
{
"node": "Mailgun1",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items1": {
"main": [
[
{
"node": "Supabase4",
"type": "main",
"index": 0
}
],
[
{
"node": "Mailgun",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items7": {
"main": [
[
{
"node": "Supabase12",
"type": "main",
"index": 0
}
],
[
{
"node": "Mailgun7",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items8": {
"main": [
[
{
"node": "Supabase15",
"type": "main",
"index": 0
}
],
[
{
"node": "Mailgun9",
"type": "main",
"index": 0
}
]
]
},
"Get Email History": {
"ai_tool": [
[
{
"node": "Professional Email Response Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Loop Over Items10": {
"main": [
[
{
"node": "Supabase14",
"type": "main",
"index": 0
}
],
[
{
"node": "Mailgun6",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items11": {
"main": [
[
{
"node": "Supabase16",
"type": "main",
"index": 0
}
],
[
{
"node": "Mailgun8",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "create email sequence",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Schedule Trigger1": {
"main": [
[
{
"node": "Supabase2",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger3": {
"main": [
[
{
"node": "Get many rows",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger4": {
"main": [
[
{
"node": "Supabase11",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger6": {
"main": [
[
{
"node": "Supabase13",
"type": "main",
"index": 0
}
]
]
},
"Check Sent History": {
"ai_tool": [
[
{
"node": "Professional Email Response Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"OpenAI Chat Model1": {
"ai_languageModel": [
[
{
"node": "Scraper agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Set replied = Yes ": {
"main": [
[
{
"node": "Verify Email (BillionVerify)",
"type": "main",
"index": 0
}
]
]
},
"Execute a SQL query": {
"main": [
[
{
"node": "Only from email campaigns",
"type": "main",
"index": 0
}
]
]
},
"Set Telegram message": {
"main": [
[
{
"node": "Limit3",
"type": "main",
"index": 0
}
]
]
},
"Anthropic Chat Model1": {
"ai_languageModel": [
[
{
"node": "Professional Email Response Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Email Response Parser": {
"ai_outputParser": [
[
{
"node": "Professional Email Response Agent",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"create email sequence": {
"main": [
[
{
"node": "Code",
"type": "main",
"index": 0
}
]
]
},
"Generate query payload": {
"main": [
[
{
"node": "Create URL",
"type": "main",
"index": 0
}
]
]
},
"research about company": {
"main": [
[
{
"node": "General anlysis",
"type": "main",
"index": 0
}
]
]
},
"Keep only the new leads": {
"main": [
[
{
"node": "Already scraped",
"type": "main",
"index": 0
}
],
[
{
"node": "Already scraped",
"type": "main",
"index": 0
}
],
[
{
"node": "Already scraped",
"type": "main",
"index": 0
}
],
[
{
"node": "Create rows with new leads",
"type": "main",
"index": 0
}
]
]
},
"Only from email campaigns": {
"main": [
[
{
"node": "Set replied = Yes ",
"type": "main",
"index": 0
}
]
]
},
"Structured Output Parser1": {
"ai_outputParser": [
[
{
"node": "Scraper agent",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Create rows with new leads": {
"main": [
[
{
"node": "Set Telegram message",
"type": "main",
"index": 0
}
]
]
},
"Only Keep Verified Emails ": {
"main": [
[
{
"node": "Keep only the new leads",
"type": "main",
"index": 1
}
]
]
},
"Select already scraped mails": {
"main": [
[
{
"node": "Keep only the new leads",
"type": "main",
"index": 0
}
]
]
},
"Evualute when the mail was sent": {
"main": [
[
{
"node": "If1",
"type": "main",
"index": 0
}
]
]
},
"Evualute when the mail was sent1": {
"main": [
[
{
"node": "If",
"type": "main",
"index": 0
}
]
]
},
"Professional Email Response Agent": {
"main": [
[
{
"node": "Verify Email (BillionVerify) 2",
"type": "main",
"index": 0
}
]
]
},
"Verify Email (BillionVerify)": {
"main": [
[
{
"node": "IF deliverable",
"type": "main",
"index": 0
}
]
]
},
"IF deliverable": {
"main": [
[
{
"node": "Get a message",
"type": "main",
"index": 0
}
],
[]
]
},
"Verify Email (BillionVerify) 2": {
"main": [
[
{
"node": "IF deliverable 2",
"type": "main",
"index": 0
}
]
]
},
"IF deliverable 2": {
"main": [
[
{
"node": "Create Draft Response",
"type": "main",
"index": 0
}
],
[]
]
}
},
"settings": {}
}Workflow templates with Mailgun
Ready-to-use workflows that verify emails before Mailgun sends.
How it works
- 1
Connect BillionVerify to your workflow using the n8n community node, an Integrately 1-click automation, or a direct REST API call.
- 2
Pass each email address to BillionVerify before it enters your Mailgun send queue.
- 3
Receive a verdict—deliverable, risky, undeliverable—along with flags for disposable, role-based, and catch-all addresses.
- 4
Filter out any address that isn't marked deliverable; route the clean list to your Mailgun API call.
- 5
Monitor your Mailgun domain dashboard and watch bounce and complaint rates stay consistently low.
When to use this
Pre-send list hygiene for transactional emails
Before firing order confirmations or password resets through Mailgun, verify each recipient address. Remove undeliverable contacts so every API call goes to a real inbox, keeping your bounce rate in the safe zone.
Bulk campaign cleaning
Upload a marketing list, run it through BillionVerify in bulk, then pass only deliverable addresses to your Mailgun send. This protects your domain reputation and improves open-rate accuracy by eliminating ghost addresses.
Real-time signup validation
Trigger a BillionVerify check the moment a user submits their email in your app. Only allow Mailgun to send the welcome email when the address is confirmed valid—stopping fake signups at the source.
FAQ
Will verifying emails before sending improve my Mailgun domain reputation?
Yes. Mailgun suspends domains that exceed bounce thresholds. Removing invalid and undeliverable addresses beforehand keeps your bounce rate well below those limits.
Can I verify addresses in real time as users sign up?
Absolutely. Use the BillionVerify REST API or n8n node to verify each address at signup, then only send the Mailgun welcome email when the result is deliverable.
What types of bad addresses does BillionVerify detect?
BillionVerify flags invalid syntax, non-existent mailboxes, disposable domains, role addresses like info@ or support@, and catch-all domains that accept any address regardless of validity.
How do I connect BillionVerify to my Mailgun workflows?
Use the BillionVerify n8n community node for no-code automation, Integrately for a 1-click setup, or call the REST API directly from your Mailgun-integrated application.
Verify emails in Mailgun
Create a free account, grab your API key, and stop bounces before they happen.
Get started free