Find businesses with unanswered reviews using Apify, Supabase and Google Sheets
Ready for 3.0What this workflow does
This workflow has 16 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Postgres, Google Sheets and Google Drive. It also calls api.apify.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Validate Input Data (Code): runs custom JavaScript code
- Insert Request Record (Postgres): run a query
- Prepare Review Search Params (Code): runs custom JavaScript code
- Fetch Google Reviews (HTTP Request): calls api.apify.com (POST)
- Group Reviews by Business (Code): runs custom JavaScript code
- Record Request Failure (Postgres): run a query
- Rank Businesses by Reviews (Code): runs custom JavaScript code
- Send Error Response (Respond to Webhook): sends the response back to the webhook caller
- Store Ranked Businesses (Postgres): run a query
- Prepare Google Sheet Data (Code): runs custom JavaScript code
…plus 5 more steps. See the full node list below.
Services it uses
HTTP calls to: api.apify.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - Postgres
n8n-nodes-base.postgres - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets
n8n-nodes-base.googleSheets - Google Drive
n8n-nodes-base.googleDrive - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick overview This workflow receives a category and location via webhook, uses Apify to scrape recent Google Maps reviews, ranks businesses with unanswered low-star reviews, stores the opportunities in Supabase (Postgres), creates and shares a Google Sheet…