Verify US contractor licenses in lead lists with Apify
UnknownWhat this workflow does
This workflow has 10 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Apify (community).
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Your leads (Code): runs custom JavaScript code
- Route by state (Code): runs custom JavaScript code
- Covered state? (If): checks a condition and branches into true / false
- Look up the licence (Apify): run actor and get dataset (actors)
- Not covered - keep the lead (Edit Fields (Set)): sets 1 field: verification_status
- Match licence to lead (Code): runs custom JavaScript code
- Licensed and active? (If): checks a condition and branches into true / false
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @apify/n8n-nodes-apify is verified or supports 3.0 (used in Look up the licence).
Nodes used (6)
- Manual Trigger
n8n-nodes-base.manualTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Apify
@apify/n8n-nodes-apify.apify - Edit Fields (Set)
n8n-nodes-base.set - No Operation, do nothing
n8n-nodes-base.noOp
From the author
Quick overview This workflow verifies contractor licenses for leads across 17 supported US states by routing each lead to the correct Apify license-lookup actor, matching returned license records back to the lead, and labeling each lead as verified, expired,…