{ "name": "Automated US Healthcare NPI Doctor & Clinic Lead Enricher (CMS API) — Daily B2B Data & Compliance Pipeline", "nodes": [ { "parameters": { "content": "## Automated US Healthcare NPI Doctor & Clinic Lead Enricher (CMS API) Pipeline (Daily B2B M2M Workflow)\n\n**Overview:**\nB2B healthcare lead extractor and enricher for US doctors, dentists, clinics, and hospitals using the official CMS NPPES NPI Registry API v2.1. Extracts NPI-1 and NPI-2 records, practice addresses, phone numbers, primary taxonomy, state licenses, and AI-ready lead dossiers.\n\n**Powered by Apify Actor:** [b2b-quant-apis/us-healthcare-npi-provider-lead-enricher](https://apify.com/b2b-quant-apis/us-healthcare-npi-provider-lead-enricher)\n\n### Quick Setup (2 Minutes):\n1. Create a free Apify account and copy your personal token from **Settings -> Integrations**.\n2. Open the **Apify Engine: us-healthcare-npi-provider-lead-enricher** HTTP Request node and configure a **Header Auth** credential with:\n - **Name:** `Authorization`\n - **Value:** `Bearer `\n3. Customize the JSON input payload in the HTTP Request node and set your destination Webhook/Slack URL.\n4. Toggle the workflow **Active** to run automatically every morning at 07:00 AM!", "height": 380, "width": 520, "color": 4 }, "id": "7730a56f-e0ef-5661-9880-95ca7803ba05", "name": "Setup Instructions & Architecture", "type": "n8n-nodes-base.stickyNote", "typeVersion": 1, "position": [ 180, 80 ] }, { "parameters": { "rule": { "interval": [ { "field": "cronExpression", "expression": "0 7 * * *" } ] } }, "id": "8061ed86-6c34-55d9-a313-133d4e3fdc43", "name": "Daily 07:00 AM Schedule Trigger", "type": "n8n-nodes-base.scheduleTrigger", "typeVersion": 1.2, "position": [ 220, 520 ] }, { "parameters": { "method": "POST", "url": "https://api.apify.com/v2/acts/b2b-quant-apis~us-healthcare-npi-provider-lead-enricher/run-sync-get-dataset-items", "authentication": "genericCredentialType", "genericAuthType": "httpHeaderAuth", "sendBody": true, "specifyBody": "json", "jsonBody": "{\n \"taxonomies\": [\n \"Cardiology\",\n \"Dermatology\"\n ],\n \"state\": \"NY\",\n \"max_results\": 10\n}", "options": { "timeout": 300000 } }, "id": "59e10221-b201-52ab-96ff-f921c4e43ce1", "name": "Apify Engine: us-healthcare-npi-provider-lead-enricher", "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.2, "position": [ 500, 520 ] }, { "parameters": { "conditions": { "options": { "caseSensitive": true, "leftValue": "", "typeValidation": "strict" }, "conditions": [ { "id": "a0656592-a576-5100-b378-60265c93ba40", "leftValue": "={{ Object.keys($json).length }}", "rightValue": 0, "operator": { "type": "number", "operation": "gt" } } ], "combinator": "and" } }, "id": "ef502382-a9d2-55ba-9338-aa5fa117e790", "name": "Validate Structured Dataset Output", "type": "n8n-nodes-base.filter", "typeVersion": 2, "position": [ 780, 520 ] }, { "parameters": { "method": "POST", "url": "https://api.example.com/v1/b2b-compliance-webhook-receiver", "sendBody": true, "specifyBody": "json", "jsonBody": "={{ JSON.stringify({ actor: 'us-healthcare-npi-provider-lead-enricher', timestamp: $now, record: $json }) }}", "options": { "timeout": 30000 } }, "id": "616c9730-87fc-5545-9ccb-8aacae92dacf", "name": "Dispatch to Enterprise CRM / Slack Webhook", "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.2, "position": [ 1060, 520 ] } ], "connections": { "Daily 07:00 AM Schedule Trigger": { "main": [ [ { "node": "Apify Engine: us-healthcare-npi-provider-lead-enricher", "type": "main", "index": 0 } ] ] }, "Apify Engine: us-healthcare-npi-provider-lead-enricher": { "main": [ [ { "node": "Validate Structured Dataset Output", "type": "main", "index": 0 } ] ] }, "Validate Structured Dataset Output": { "main": [ [ { "node": "Dispatch to Enterprise CRM / Slack Webhook", "type": "main", "index": 0 } ] ] } }, "pinData": {}, "meta": { "templateCredsSetupCompleted": false, "apifyStoreActor": "b2b-quant-apis/us-healthcare-npi-provider-lead-enricher", "estimatedPpeUsdPerEvent": 0.02 }, "settings": { "executionOrder": "v1" }, "staticData": null }