# Margo + Zapier Lead Generation Automation | Margo

> Connect Margo to Zapier and send local business leads to your CRM, sheet, or outreach tool.

Canonical: https://www.margoleads.io/integrations/zapier

## Margo + Zapier: Automate your lead generation workflow

Use Margo’s Business API from a Zapier HTTP action to research prospects, poll the search job, and map reviewed results into your chosen destination. Contact availability varies by source and record.

### What you can automate

#### CRM auto-fill

Map available, reviewed lead fields into your CRM action. Missing email, phone or review fields remain unknown; a search does not guarantee complete contact records.

#### Outreach tool trigger

After reviewing results, configure your own destination action. This guide does not send messages or enroll prospects into outreach automatically.

#### Slack notifications

Configure a Slack action after a completed search, using the actual delivered count rather than the requested count.

#### Google Sheets logging

Append leads to a master Google Sheet, sorted by review score, with email verification status flagged automatically.

#### Multi-step enrichment

Use Margo for discovery, pass leads to Clay or another enrichment tool, then push qualified records to your CRM.

### Setup overview

Use an eligible Margo Business account with a verified email, an API key and available quota. Check Zapier’s own HTTP-action and polling requirements. Start with a manual or scheduled Zapier trigger.

Add an HTTP POST action using the HTTPS host www.margoleads.io and path /api/v1/leads/generate. Set Authorization: Bearer <MARGO_API_KEY> and Content-Type: application/json. Keep the key in a private credential field. Use a bounded request such as {"source": "google_maps", "category": "dentist", "state": "London", "country": "GB", "maxResults": 10}.

Send one unique Idempotency-Key per logical search and reuse it for retries. Enable automatic POST retries only after confirming the governed handler is active; the compatibility handler does not honor idempotency and retrying can duplicate paid work.

Inspect the HTTP status and response body. For HTTP 202 or QUEUED/RUNNING, wait and GET the returned pollUrl with the same Bearer credential. Accept only the same Margo host and /api/v1/leads/jobs/ path. GET polling does not start a new search. Configure a finite limit, such as 60 polls and three transient retries, honoring Retry-After and using capped backoff.

Stop on authentication, quota or validation failures rather than creating replacement searches. FAILED, CANCELLED, unknown states and exhausted polling stop for review even when HTTP is 200. EMPTY produces no delivery. For PARTIAL, retain the shortfall and limitations; review the actual returned rows before continuing.

Map POST response leads, or GET response job.result.leads, into a separate destination action. Preserve source URLs and unknown contact fields. Test these branches with fixtures or staging first. A Catch Hook URL, if used in a different sender workflow, is generated by Zapier and receives requests from the sender; it is not a URL copied from Margo. See the tested n8n example and API docs for request and polling details.

### Does Margo have a native Zapier app?

This guide uses custom HTTP actions against Margo’s Business API, not a native Zapier connector or an automatic Margo webhook trigger. You configure the trigger, bounded polling and destination actions in Zapier.

### Which Margo fields are available in Zapier?

Business name, email, phone, website, address, LinkedIn, Facebook, Instagram, Google Maps URL, review score, raw review count where available, and verification status.

### Does this work on the Starter plan?

Zapier-style workflows can use exports on paid plans. Full API automation is available on Business.

[Automate with n8n](https://www.margoleads.io/integrations/n8n)

[Lead generation API](https://www.margoleads.io/lead-generation-api)

[Agency lead generation](https://www.margoleads.io/use-cases/agencies)
