Detect bulk phone status with ZelNum via webhook

Go to Workflow
0 views
Built by yaho yaho
Created on September 02, 2026

Description

Quick overview
This workflow receives a webhook containing at least 2,000 phone numbers, submits them to the ZelNum Detect API for bulk phone detection, polls the asynchronous task until completion or failure, and returns the ZelNum result download URL in the webhook response.

How it works
Receives a POST webhook request with a product slug, country code, and an array of phone numbers.
Validates the request payload and rejects it if phones is not an array or contains fewer than 2,000 numbers.
Sends the numbers to the ZelNum Detect API to start an asynchronous detection task.
Polls the ZelNum Tasks API every 5 seconds (up to 100 attempts) to check the task status.
If ZelNum reports the task as failed, the workflow stops with an error message from the API.
When the task completes, the workflow calls ZelNum to retrieve and return the result download URL as the webhook response.

Setup
Create a ZelNum account, generate an API key in the ZelNum Console, and add it to n8n as an HTTP Header Auth credential using header name X-API-Key.
Attach the same ZelNum Header Auth credential to all ZelNum HTTP requests in the workflow.
Copy the production webhook URL from n8n and configure your client to POST a JSON body with product, country, and a phones array containing at least 2,000 E.164-formatted numbers.
Learn more about ZelNum and read the API documentation.

Nodes Used (2)

Code
n8n-nodes-base.code
HTTP Request
n8n-nodes-base.httpRequest