Scenario ideas
Weekly lead refresh
Schedule Make to call Margo for each client category and city every Monday.
Review score gating
Filter for 4+ star businesses before leads continue to your outreach tool.
Multi-client routing
Route batches to the correct client CRM or sheet based on client ID.
Duplicate prevention
Check your CRM before adding new leads so existing prospects are skipped.
Lead notifications
Post a Slack message when Margo finds leads matching a saved search.
Setup overview
Generate a new Idempotency-Key for each new logical search and keep it for retries of that same search. Keep automatic POST retries disabled until you have confirmed the governed handler is active: the compatibility handler does not honor idempotency. After an uncertain POST result, inspect the existing job before submitting again. GET polling must not create a new search.
- 1In Make, create a new scenario.
- 2Add an HTTP module with POST https://www.margoleads.io/api/v1/leads/generate.
- 3Store Authorization: Bearer YOUR_API_KEY in a secure connection. API access requires an eligible Business account with verified email and available quota.
- 4Set Content-Type: application/json and use source, category, country, state and maxResults. Start with the ten-record example below.
- 5Include the response status and headers. For HTTP 202 or QUEUED/RUNNING, wait and GET the returned pollUrl with the same Bearer credential. Accept only https://www.margoleads.io/api/v1/leads/jobs/ destinations; disable redirects.
- 6Stop after at most 60 polls. Honor Retry-After when present. Stop for review on 400, 401, 403, 409, 429, server errors, failed/cancelled jobs and unknown responses; never treat an HTTP 200 failed job as success.
- 7Read terminal.status and deliveredCount. Synchronous records are in leads; completed job records are in job.result.leads. PARTIAL and EMPTY are explicit outcomes. Use an Iterator on the delivered array only after checking limitations and constraintCoverage.
- 8Review identity and contact availability before a separate CRM or spreadsheet step. This example does not send outreach.
POST https://www.margoleads.io/api/v1/leads/generate
Authorization: Bearer <MARGO_API_KEY>
Content-Type: application/json
Idempotency-Key: make-london-dentists-20261016-run1
{"source":"google_maps","category":"dentist","country":"GB","state":"London","maxResults":10}Frequently asked questions
Does Margo have a native Make app?
Not yet. The current connection uses Make's HTTP module, which works well with Margo's REST API.
How many Margo API calls can I make in Make?
Rate limits depend on your Margo plan. The Business plan is designed for higher-volume automation.
How does Make handle asynchronous results?
Poll a pending job using its returned pollUrl until it reaches a terminal state. An Iterator processes the delivered leads array; it does not perform pagination or wait for a pending job.