Margo

n8n integration

Margo + n8n: Build automated lead generation workflows

n8n gives technical sales teams control without vendor lock-in. Margo's REST API turns n8n into a lead generation machine that pulls, filters, enriches, and routes local business leads automatically.

Workflow ideas

Scheduled lead pulls

Call Margo every Monday morning for a target city and category, then append results to your CRM.

Review score filtering

Only pass leads with 4+ Google stars to your outreach tool.

Multi-city campaigns

Loop through cities, deduplicate results, and build a consolidated territory list.

AI enrichment pipeline

Margo to n8n to OpenAI to CRM: add a one-line company summary before routing the lead.

Real-time outreach trigger

When a new lead matches your ICP, add it to an outreach campaign without a human touchpoint.

Setup overview

  1. 1In n8n, add an HTTP Request node.
  2. 2Set method to POST and URL to https://www.margoleads.io/api/v1/leads/generate.
  3. 3Add your Margo API key in the Authorization header.
  4. 4Set body parameters: keyword, location, and limit.
  5. 5Connect the output to Google Sheets, HubSpot, Instantly, or your destination node.

Frequently asked questions

What API plan do I need for n8n?

The full REST API is available on the Business plan. Starter and Professional exports can still be used in file-based n8n workflows.

Can I run n8n self-hosted with Margo?

Yes. n8n self-hosted works the same as n8n Cloud with Margo's API.

Is there an n8n template?

A community template is planned. Until then, the HTTP Request node setup is straightforward and uses the documented API endpoint.

Start free

Get verified leads without the manual work.

Get your Margo API key