doodle top mobile

Automate Google My Business with Claude Code

Publish business updates, promote events, share offers with coupon codes, and add call-to-action buttons — just by asking Claude Code to boost local SEO.

Setup GuideGitHub

Please make sure there is always a human in the loop.

doodle left mobiledoodle right mobile

Post to Google My Business in Seconds

Setup, then just ask

# One-time setup
npx skills add gitroomhq/postiz-agent
export POSTIZ_API_KEY=your_api_key

# Then just ask Claude Code:
> Post a 20% off offer to our Google
  Business Profile, valid through Sunday

Claude Code: Done! Your Google My Business post is scheduled.

Google My Business Features

📣

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 It Works

You describe what you want in plain language and Claude Code handles the Postiz calls for you. Here is how a typical conversation goes.

1

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?
2

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?
3

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.

FieldTypeDescription
__typestringMust be "gmb"
topicTypestringPost type: STANDARD, EVENT, or OFFER
callToActionTypestringCTA button: NONE, BOOK, ORDER, SHOP, LEARN_MORE, SIGN_UP, GET_OFFER, CALL
callToActionUrlstringURL for the call-to-action button
eventTitlestringEvent name (required when topicType is EVENT)
eventStartDatestringEvent start date in YYYY-MM-DD format
eventEndDatestringEvent end date in YYYY-MM-DD format
eventStartTimestringEvent start time in HH:MM format
eventEndTimestringEvent end time in HH:MM format
offerCouponCodestringCoupon code for offer posts
offerRedeemUrlstringURL where customers can redeem the offer
offerTermsstringTerms 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/about

Event 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/book

Offer 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: CALL

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.

💻

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 reads the SKILL.md and learns all Postiz commands
  • POSTIZ_API_KEY must be set in environment
  • 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-123
💻

Parallel 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 simultaneously

Why 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,
offerTerms

Also Works with Claude Cowork

Postiz works with any AI agent that can run commands or call MCP tools — you ask, the agent does the work. That includes Claude Cowork, Anthropic's desktop agent — no terminal needed.

C

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.

Google My Business + Other Platforms

Schedule the same content to Google My Business and other platforms in a single request. Each platform gets its own settings.

Example

> Post "Excited to announce our new feature!" to
  Google My Business and LinkedIn tomorrow at 9am, then schedule
  a daily tip on Google My Business every weekday at 10am

Claude Code: Done! Scheduled:
  - Google My Business + LinkedIn: tomorrow 9:00 AM
  - Daily tips on Google My Business: Mon-Fri 10:00 AM

Start posting to Google My Business

Install Postiz Agent and automate your Google My Business presence with AI-powered scheduling, events, and offers.