W0 is the most architecturally complex workflow in the system. It fires every weekday at 12:30pm IST and processes five search queries through a six-API waterfall, producing fully enriched prospects written to Supabase via W1.
Node 1 — Daily Schedule Trigger: Cron expression 30 7 * * 1-6. Fires at 12:30pm IST Monday through Saturday. Also triggerable manually via POST webhook at n8n.anrdigitalstudio.com/webhook/outreachiq-source.
Node 2 — Build Search Queries: Code node. Selects five queries at random from a library of thirty-six — two from the local business category and three from the digital business category. Local queries target dental practices, law firms, clinics, salons, real estate agents, accountants, coaches, and hospitality. Digital queries target bootstrapped SaaS founders, B2B agency owners, and D2C brand founders. Randomisation ensures category diversity across daily runs.
Node 3 — Split Queries: SplitInBatches node. Loop output — not done output — connects to Serper Search. Critical wiring for correct batch cycling.
Node 4 — Serper Search: HTTP Request node. POST to google.serper.dev/search. Returns up to ten organic results per query.
Node 5 — Parse Search Results: The most complex filtering layer in W0. Applies four filters:
www.linkedin.com, ca.linkedin.com, ae.linkedin.com, au.linkedin.com, uk.linkedin.com. Everything else is blocked by default. This is safer than a blocklist because any new non-target country is automatically blocked without requiring an explicit rule.billion, nasdaq, fortune 500, publicly traded, 10000 employees, multinational, conglomerate. Result is skipped before any processing begins.Node 6 — Split Prospects: SplitInBatches node. Loop output connects to routing.
Node 7 — Needs Apollo Fallback? IF node. Routes prospects needing company domain enrichment to Apollo. Routes prospects with known domains directly to BuiltWith.
Nodes 8–10 — Apollo Enrichment: Apollo Org Search finds company by name and returns primary domain, company size, and org ID. Apollo Top People finds the most senior decision maker using the org ID. Parse Apollo Data merges enriched data.