Send daily building permit leads from Apify to Google Sheets and Gmail

Go to Workflow
0 views
Built by Adam Adam
Created on October 18, 2026

Description

Quick overview
This workflow runs every morning to fetch recent building permit leads from the Apify US Building Permits Actor, deduplicates results across executions, appends new permits to Google Sheets, and emails an HTML digest of the newest leads via Gmail.

How it works
Runs daily at 7:00 using a schedule trigger.
Defines the target cities, keywords, lookback window, minimum valuation, and digest recipient email.
Calls the Apify US Building Permits Actor via HTTP to retrieve recent permits from city open-data sources.
Removes permits that were already seen in previous workflow executions based on a city+permit-number key.
Appends the new permit records to a Google Sheets tab.
Builds an HTML digest of up to 100 new permits sorted by valuation and sends it to the configured recipient via Gmail.

Setup
Create an Apify API token and add an n8n HTTP Header Auth credential (Authorization: Bearer ) for the Apify HTTP request.
Connect your Google Sheets account, create a spreadsheet with a “Permits” sheet and matching column headers, and replace PASTE_YOUR_SHEET_ID with your sheet ID.
Connect your Gmail account and set the digest recipient email in the CONFIG node.
Review the cities, keywords, daysBack, minValuation, and maxResultsPerCity values in CONFIG, then test and activate the workflow.

Requirements
An Apify account (US Building Permits Actor), Google Sheets and Gmail

Customization
Change cities, keywords or minValuation in CONFIG. Swap Gmail for Slack or Telegram for chat alerts. Costs about $1.50 per 1,000 permits on Apify.

Additional info
Disclosure: the Apify Actor used here was built and is published by the author of this template (EdenWorks). You pay Apify's usage price when it runs and the author earns part of that fee. Apify's free plan credits cover light use.

This workflow was created by Adam and shared publicly on the n8n community template library. n8nFind indexes it for discovery — the workflow remains the property of its original creator.

Nodes Used (4)

Code
n8n-nodes-base.code
Gmail
n8n-nodes-base.gmail
Google Sheets
n8n-nodes-base.googleSheets
HTTP Request
n8n-nodes-base.httpRequest