Enrich company leads with Firecrawl, OpenRouter AI, and Supabase
UnknownWhat this workflow does
This AI workflow has 13 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenRouter Chat Model, Supabase and Firecrawl (community).
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Validate and normalize URL (Code): runs custom JavaScript code
- Extract business signals with AI (AI Agent): runs an AI agent, with model: OpenRouter LLM; 2 tools (Search company data, Scrape company website); output parser: Parse into structured profile
- Return URL validation error (Respond to Webhook): sends the response back to the webhook caller
- Check for duplicate in Supabase (Supabase): get
- Skip if already enriched (If): checks a condition and branches into true / false
- Return enriched profile (Respond to Webhook): sends the response back to the webhook caller
- Prepare profile for insert (Code): runs custom JavaScript code
- Save enriched profile to Supabase (Supabase): uses Supabase
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 @mendable/n8n-nodes-firecrawl is verified or supports 3.0 (used in Scrape company website, Search company data).
Nodes used (9)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Firecrawl Tool
@mendable/n8n-nodes-firecrawl.firecrawlTool - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Supabase
n8n-nodes-base.supabase - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
What this does Uses Firecrawl to scrape any company website and extract structured business signals from it. The enriched profile is automatically saved to Supabase. A self-hosted, free alternative to paid enrichment APIs like Apollo or Clay, powered by…