Post to Google My Business from Claude Code
Claude Code can publish and schedule Google My Business posts through Postiz. Add the Postiz MCP server with one command, sign in with OAuth, connect your Business Profile in Postiz, and ask Claude Code to publish a standard update, an event with dates and times, or an offer with a coupon code and a call-to-action button.
Please make sure there is always a human in the loop.
Last updated: September 2026
How to post to Google My Business from Claude Code
Add the Postiz MCP server to Claude Code once, sign in with OAuth, connect Google My Business in Postiz, and then describe the post in plain language. Setup takes about a minute.
Setup once, then just ask
# One-time setup: add the Postiz MCP server (OAuth, no API key)
claude mcp add --transport http postiz https://mcp.postiz.com/mcp-oauth-dynamic
# Or install the Postiz skill instead
npx skills add gitroomhq/postiz-agent
export POSTIZ_API_KEY=your_api_key
# Then ask Claude Code:
> Post a Google My Business update about our
new opening hours with a "Learn more" button
linking to our site, tomorrow at 8am
Claude Code: Done! GMB post scheduled
(topicType: STANDARD, CTA: LEARN_MORE)
for tomorrow 8:00 AM.What can Claude Code do on Google My Business?
On Google My Business, Claude Code can publish standard updates, events with start and end dates, and offers with coupon codes, each with an optional call-to-action button.
Business Posts
Publish standard business updates that appear on your Google Business Profile. Keep customers informed about news, products, and services.
Event Promotion
Create event posts with title, start and end dates, and times. Promote workshops, sales events, grand openings, and more.
Offers & Coupons
Share special offers with coupon codes, redemption URLs, and terms. Drive foot traffic with exclusive deals and promotions.
Call-to-Action Buttons
Add CTA buttons like Book, Order, Shop, Learn More, Sign Up, Get Offer, or Call. Drive customer actions directly from your posts.
Local SEO Boost
Regular Google My Business posts improve your local search ranking. Stay active and visible in Google Maps and local search results.
Scheduled Posting
Schedule posts with precise timestamps. Plan your business updates ahead of time and maintain consistent posting frequency.
How does Claude Code post to Google My Business through Postiz?
You describe what you want in plain language and Claude Code handles the Postiz calls for you. Here is how a typical conversation goes.
Find Your GMB Integration
Ask Claude Code whether your Google My Business account is connected. It also checks which options the platform supports.
Example conversation
> Is my Google My Business account connected to Postiz?
Claude Code: Yes — your Google My Business account is connected
and ready. Want me to post something?Choose Your Post Type
Select the type of post: STANDARD for general updates, EVENT for promoting events with dates and times, or OFFER for sharing deals with coupon codes.
Example conversation
> Draft a Google My Business post about our new
feature launch
Claude Code: Here's a draft for Google My Business:
"We just shipped something big..."
Want me to add media and schedule it?Create Your Post
Schedule a Google My Business post with your content, post type, and optional CTA button. Posts appear on your Business Profile in Google Search and Maps.
Example conversation
> Yes — add screenshot.png and schedule
it for tomorrow at 9am
Claude Code: Done! Scheduled on Google My Business for
tomorrow at 9:00 AM.Google My Business Settings Reference
Mention any of these in plain language and Claude Code sets them for you. These are the Google My Business options it can apply to any post.
| Field | Type | Description |
|---|---|---|
__type | string | Must be "gmb" |
topicType | string | Post type: STANDARD, EVENT, or OFFER |
callToActionType | string | CTA button: NONE, BOOK, ORDER, SHOP, LEARN_MORE, SIGN_UP, GET_OFFER, CALL |
callToActionUrl | string | URL for the call-to-action button |
eventTitle | string | Event name (required when topicType is EVENT) |
eventStartDate | string | Event start date in YYYY-MM-DD format |
eventEndDate | string | Event end date in YYYY-MM-DD format |
eventStartTime | string | Event start time in HH:MM format |
eventEndTime | string | Event end time in HH:MM format |
offerCouponCode | string | Coupon code for offer posts |
offerRedeemUrl | string | URL where customers can redeem the offer |
offerTerms | string | Terms and conditions for the offer |
Common Configurations
Ask Claude Code for any of these common Google My Business scenarios and it applies the matching settings.
Standard Update with Learn More CTA
Just ask
> Post it with: Standard Update with Learn More CTA
Claude Code: Got it. Applying:
topicType: STANDARD
callToActionType: LEARN_MORE
callToActionUrl: https://example.com/aboutEvent Post with Full Details
Just ask
> Post it with: Event Post with Full Details
Claude Code: Got it. Applying:
topicType: EVENT
eventTitle: Weekend Workshop: Getting Started
eventStartDate: 2025-03-15
eventEndDate: 2025-03-16
eventStartTime: 10:00
eventEndTime: 16:00
callToActionType: BOOK
callToActionUrl: https://example.com/bookOffer with Coupon Code
Just ask
> Post it with: Offer with Coupon Code
Claude Code: Got it. Applying:
topicType: OFFER
callToActionType: GET_OFFER
callToActionUrl: https://example.com/deal
offerCouponCode: SAVE20
offerRedeemUrl: https://example.com/redeem
offerTerms: Valid for new customers only. Expires March 31, 2025.Simple Update with Call Button
Just ask
> Post it with: Simple Update with Call Button
Claude Code: Got it. Applying:
topicType: STANDARD
callToActionType: CALLExample prompts for Google My Business in Claude Code
These are prompts you can type into a Claude Code session, or pass to claude -p in a script. Claude Code reads your repo, calls Postiz, and confirms before publishing.
Event post
Claude Code
> Create a GMB event post for our open house
on 2026-10-12 from 10:00 to 14:00 titled
"Autumn Open House" with a "Book" button to
our booking page
Claude Code: topicType: EVENT, dates and times
set, callToActionType: BOOK. Ready to post?Offer with coupon
Claude Code
> Post a GMB offer: 20% off in October, coupon
code FALL20, redeem at our shop URL, terms
"one per customer"
Claude Code: topicType: OFFER, offerCouponCode:
FALL20, offerRedeemUrl and offerTerms set.Weekly update, headless
Claude Code
$ claude -p "Post this week's special from
specials.md to Google My Business via Postiz
with an ORDER button to our menu URL."
# Run every Monday from cronGoogle My Business limits and gotchas to know
Google My Business posts have a type and several conditional fields, which Claude Code sets from your request.
- ✓topicType is STANDARD, EVENT, or OFFER. Event posts need eventTitle plus eventStartDate and eventEndDate (YYYY-MM-DD) and optional times (HH:MM).
- ✓Offer posts can carry offerCouponCode, offerRedeemUrl, and offerTerms.
- ✓callToActionType is one of NONE, BOOK, ORDER, SHOP, LEARN_MORE, SIGN_UP, GET_OFFER, or CALL, with callToActionUrl for the link.
- ✓Google Business Profile posts are limited to 1,500 characters, so keep updates concise.
- ✓The __type value for this channel is gmb.
What is Claude Code?
Claude Code is Anthropic's agentic coding tool that lives in your terminal. It handles software engineering tasks — writing features, fixing bugs, and answering questions about your codebase — and it can run shell commands and MCP tools like Postiz.
Not the same as Claude Cowork (Anthropic's desktop agent for knowledge workers) or the Postiz connector for Claude.ai (chat in the browser or desktop app). Claude Code runs in your terminal and IDE and can read your repository while it writes Google My Business posts.
Terminal & IDE Native
Claude Code runs in your terminal, with extensions for VS Code and JetBrains. You type what you want in plain English and it handles Postiz for you.
Agentic Execution
Claude Code plans and works through multi-step tasks on its own — discovering channels, uploading media, and scheduling posts — and asks for permission before it acts.
Parallel Tasks
Run several Claude Code sessions side by side, or spawn subagents in one. Schedule posts to different platforms while it handles other coding work.
How Postiz Works with Claude Code
Claude Code discovers Postiz through the Postiz skill or the Postiz MCP server. It reads the SKILL.md (or the MCP tool list) to learn what it can do, then chains calls together for social media workflows.
- ✓Install the Postiz skill, or add the Postiz MCP server with claude mcp add
- ✓Claude Code discovers the Postiz tools over MCP, or reads SKILL.md when you use the skill
- ✓MCP route: sign in with OAuth, no API key. Skill route: set POSTIZ_API_KEY
- ✓Claude Code asks for permission before running commands
- ✓Works alongside your coding tasks in parallel
Install Postiz
# Option A: add the Postiz MCP server
claude mcp add --transport http postiz https://mcp.postiz.com/mcp-oauth-dynamic
# Option B: install the Postiz skill
npx skills add gitroomhq/postiz-agent
export POSTIZ_API_KEY=your_api_key
# Then just ask
claude "list my social media integrations"GMB Posting with Claude Code
Tell Claude Code what to post from your terminal or IDE — it discovers your integrations via Postiz and handles the entire publishing workflow.
Just Ask Claude Code
Terminal and IDE integration
Tell Claude Code what to post from your terminal or IDE — it discovers your integrations via Postiz and handles the entire publishing workflow.
Claude Code CLI
$ claude "Post to GMB about our
new feature launch, schedule for
tomorrow at 9am"
Claude Code: I'll handle that.
Found your GMB integration.
Composing and scheduling the post.
Done! Your post is scheduled.
Post ID: abc-123Parallel Tasks
Multiple tasks at once
Claude Code runs headless with claude -p, so several tasks can run in parallel. Schedule posts to different platforms while it works on other coding tasks.
Claude Code Parallel Tasks
# Run multiple posting tasks in parallel
$ claude -p "Schedule a post about our
launch to X for tomorrow 9am" &
$ claude -p "Write a LinkedIn article
about our new feature and schedule
for tomorrow noon" &
$ claude -p "Fix the bug in auth.ts"
# All three tasks run simultaneouslyWhy Claude Code + Postiz for Google My Business
Claude Code's autonomous execution makes Postiz a natural fit. The agent reads the SKILL.md to understand every available command, then autonomously chains them together for GMB workflows.
- ✓Runs in your terminal or IDE — just type what you want
- ✓Permission-based execution — you stay in control
- ✓Parallel task support — post while coding
- ✓Automatically select STANDARD, EVENT, or OFFER based on your message
- ✓Cross-post to GMB + other platforms in a single session
- ✓Powered by Claude — Anthropic's most capable models
SKILL.md (auto-discovered)
---
name: postiz
description: Social media automation
CLI for scheduling posts across
30+ platforms including GMB
metadata:
claude-code:
requirements:
env:
- POSTIZ_API_KEY
binaries:
- postiz
---
# Available Commands
- postiz integrations:list
- postiz integrations:settings <id>
- postiz posts:create
- postiz upload <file>
- postiz analytics:platform <id>
# GMB Settings
topicType, callToActionType,
callToActionUrl, eventTitle,
eventStartDate, eventEndDate,
eventStartTime, eventEndTime,
offerCouponCode, offerRedeemUrl,
offerTermsAlso Works with Claude Cowork
Postiz works with any AI agent that can run commands or call MCP tools. That includes Claude Cowork, Anthropic's desktop agent, and the Claude.ai connector. See the agents overview for every supported agent.
Claude Cowork
by Anthropic
Claude Cowork reads the Postiz skill so it knows what it can do, then autonomously discovers your GMB integration, determines the right post type and CTA settings, and publishes the update.
Claude Cowork
> Create a Google My Business event post
for our grand opening on March 15th
from 10am to 6pm, with a Book CTA
Claude Cowork: Done! Scheduled on Google My Business for
tomorrow at 9:00 AM.Post to Google My Business and other platforms from Claude Code
One request can schedule the same content to Google My Business and other channels, and each platform keeps its own settings. Every platform below has its own Claude Code guide.
Example
> Post "Excited to announce our new feature!" to
Google My Business and Facebook tomorrow at 9am, then schedule
a daily tip on Google My Business every weekday at 10am
Claude Code: Done! Scheduled:
- Google My Business + Facebook: tomorrow 9:00 AM
- Daily tips on Google My Business: Mon-Fri 10:00 AMSee all 25 platforms in the Claude Code social media guide, compare agents on the AI agents overview, read about the Postiz MCP server, or check pricing. For the channel itself, seeGoogle My Business scheduling features in Postiz.
Google My Business and Claude Code: frequently asked questions
How do I post to Google My Business from Claude Code?
Add the Postiz MCP server to Claude Code, sign in to Postiz with OAuth, and connect your Google Business Profile in Postiz. Then describe the update, event, or offer. Claude Code sets topicType and the matching fields, adds a call-to-action button if you asked for one, and schedules or publishes the post.
Can Claude Code create Google My Business event posts?
Yes. Give it the event name, dates, and times and Claude Code sets topicType to EVENT with eventTitle, eventStartDate, eventEndDate, and the optional start and end times in HH:MM format. Add a Book or Sign up button by naming it, and Claude Code fills callToActionType and callToActionUrl.
Can Claude Code publish an offer with a coupon code?
Yes. Ask for an offer and include the coupon code, redemption URL, and terms. Claude Code sets topicType to OFFER and fills offerCouponCode, offerRedeemUrl, and offerTerms. Offers are a good fit for seasonal promotions and can be scheduled to go live on a specific date.
Which call-to-action buttons can Claude Code add to a GMB post?
Eight options: NONE, BOOK, ORDER, SHOP, LEARN_MORE, SIGN_UP, GET_OFFER, and CALL. Describe the button in plain words, for example an order button to the menu, and Claude Code maps it to the right callToActionType and sets callToActionUrl to the link you provide.
Can I automate weekly Google My Business posts with Claude Code?
Yes. Keep the weekly special or update in a file in your repo and run claude -p from cron with a prompt that posts it through Postiz. Claude Code reads the file, drafts a post under 1,500 characters, sets the CTA, schedules it, and exits without an interactive session.
Start posting to Google My Business
Install Postiz Agent and automate your Google My Business presence with AI-powered scheduling, events, and offers.