Quick overview
This workflow runs manually to start a Google Maps Lead Finder Agent API job for a single Google Maps keyword, polls until the job completes, then fetches up to 100 lead results and appends them as new rows in a Google Sheets worksheet.
How it works
- Runs when you click Test workflow.
- Sets the search keyword, API base URL, and polling interval.
- Calls the GMaps Lead Finder API to check account/credit status and then creates a leads scraping job for the keyword.
- Waits and repeatedly polls the GMaps Lead Finder job status until it returns completed, partial, or failed.
- When the job finishes, requests the job results (limit 100) from the GMaps Lead Finder API.
- Splits the returned results into individual lead items and appends them to Google Sheets as new rows.
Setup
- Create an HTTP Header Auth credential for the GMaps Lead Finder API using
Authorization: Bearer <your_api_key> (Growth+ plan required).
- Connect a Google Sheets OAuth credential.
- Select the target spreadsheet and worksheet in the Google Sheets append step.
- Update the keyword (and optionally the base URL and poll interval) in the configuration step before running.