๐Ÿ“ฑ 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:


โš™๏ธ Workflow Overview

๐Ÿงฉ Node๐Ÿ”ง Purpose
๐Ÿ•˜ Schedule TriggerRuns daily at 9AM (configurable)
๐Ÿ“„ Get Unpublished RowReads a row from Google Sheet where Status is not marked โ€œPublishedโ€
โœ๏ธ Generate Post TextUses OpenAI (GPT-4) to write a compelling, local-business optimized post
๐Ÿ–ผ Generate Post ImageUses DALLยทE or similar to create an image matching the topic
๐Ÿ“ฌ Post to GMBPublishes the generated content to your Google Business Profile
โœ… Update SheetMarks the status as โ€œPublishedโ€ in the Google Sheet

๐Ÿ“„ Google Sheet Format

Column NameDescription
TopicThe subject or idea for the GMB post
StatusShould 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

2. Request for GMB Quota

3. n8n Credential Setup


๐Ÿง  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


โœ… Benefits

๐Ÿ”— 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

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup