Automate Google Business Profile Posts with GPT-4 and Google Sheets
This powerful n8n workflow automatically generates and publishes Google Business Profile (GMB) posts using topics listed in a Google Sheet. It uses **OpenAI** to write SEO-optimized post descriptions and generate **AI images** based on the topic, then posts them directly to your **GMB profile** and marks them as published in the sheet. --- ## Use Case Perfect for: - Digital marketers managing local SEO - Agencies automating content for clients - Businesses regularly posting to GMB - Teams managing editorial calendars via Google Sheets --- ## Workflow Overview | Node | Purpose | |-------------------------------|------------| | **Schedule Trigger** | Runs daily at 9AM (configurable) | | **Get Unpublished Row** | Reads a row from Google Sheet where Status is not marked Published | | **Generate Post Text** | Uses OpenAI (GPT-4) to write a compelling, local-business optimized post | | **Generate Post Image** | Uses DALL·E or similar to create an image matching the topic | | **Post to GMB** | Publishes the generated content to your Google Business Profile | | **Update Sheet** | Marks the status as Published in the Google Sheet | --- ## Google Sheet Format | Column Name | Description | |-------------|-------------| | Topic | The subject or idea for the GMB post | | Status | Should be blank or Unpublished to trigger the flow | | Date | (Optional) Posting schedule or note | | Notes | (Optional) Internal info - not used in the automation | --- ## Google My Business API Setup ### 1. Google Cloud Configuration - Go to [Google Cloud Console](https://console.cloud.google.com/) - Enable the **Google My Business API** - Create **OAuth2 Client ID** and **Client Secret** - Add this required scope: ``` ### 2. Request for GMB Quota - You need to request for GMB (Google Business Profile) API Quota from here, because by default it sets to zero: https://support.google.com/business/contact/api_default ``` ### 3. n8n Credential Setup - In n8n, go to **Credentials > Google OAuth2** - Use your **Client ID** and **Client Secret** - Use this credential in GMB-related nodes --- ## OpenAI Prompt Customization Modify the prompt in the OpenAI node to match your brand's voice: ### Example Prompt ```text Write a short, engaging Google Business Post about: {{ $json.topic }}. Make it suitable for a local audience and include a subtle call to action. ``` --- ## Optional Enhancements - Add **If** node to delay publishing on certain days - Use **Slack or Email** notifications to alert before/after posting - Use **Multiple Businesses** by adding a Router or Switch node per GMB account --- ## Benefits - Fully automated GMB posting - SEO-optimized, AI-written content - Matching images for visual engagement - Maintains a content log via Google Sheets - Easily customizable prompt logic and schedule
- Platform
- n8n
- Category
- Marketing
- Price
- $4.99
- Creator
- Muhammad Qaisar Mehmood
- googleSheets
- agent
- scheduleTrigger
- googleBusinessProfile
- lmChatOpenAi
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Marketing workflows
- Automate UGC Video Creation and Instagram Posting with Google Gemini and Veo 3$9.99
- Automate Lead Generation and Cold Email Outreach$14.99
- Automate Professional Video Ad Creation from Product Images$19.99
- Track SEO Keyword Rankings with Bright Data MCP and GPT-4o AI Analysis$14.99
- Automate Google Maps Data Scraping and Email Discovery for Local Business Outreach$14.99
- Automate AI-Driven Social Media Content for Auto Services$19.99
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.