Skip to main content

Automate Google Business Profile posts with GPT-4 & Google Sheets

Workflow preview

Workflow preview
100%
Automate Google Business Profile posts with GPT-4 & Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 a...

Best for

  • Social Media automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.googlesheets, n8n-nodes-base.googlebusinessprofile, n8n-nodes-base.scheduletrigger, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Muhammad Qaisar Mehmood.

Original n8n.io source

1.1 Workflow description

Title
Automate Google Business Profile posts with GPT-4 & Google Sheets
Workflow name
Automate Google Business Profile posts with GPT-4 & 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
  • Enable the Google My Business API
  • Create OAuth2 Client ID and Client Secret
  • Add this required scope:
    
    

2. Request for GMB Quota

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

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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Get Unpublished Row

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 2 - Post to GMB

Type / Role
n8n-nodes-base.googleBusinessProfile - googleBusinessProfile
Config choices
Version 1

Block 3 - Mark as Published

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 4 - Schedule Trigger1

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 5 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.1

Block 6 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

3. Summary Table

Workflow Automate Google Business Profile posts with GPT-4 & Google Sheets
Complexity intermediate
Nodes 6
Categories Social Media, Multimodal AI
Author Muhammad Qaisar Mehmood
Published 19 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6165/6165.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automate Google Business Profile posts with GPT-4 & Google Sheets do?

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 a...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Social Media, Multimodal AI use case.