๐ฑ Automate Google Business Profile posts with GPT-4 & Google Sheets
โก 517 views ยท ๐ฑ Social Media & Email Marketing
Description
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
- You need to request for GMB (Google Business Profile) API Quota from here, beacuse by deafult 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
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
๐ Nodes Used
Google Sheets, Schedule Trigger, AI Agent, OpenAI Chat Model, Google Business Profile
๐ฅ Import
Download workflow.json and import into n8n:
Workflow menu โ Import from File