Post to Google My Business from Codex
Codex can post to your Google Business Profile (Google My Business) through Postiz. Install the Postiz skill or add the Postiz MCP server to Codex, connect the profile in Postiz, then describe the update. Codex picks standard, event, or offer, fills dates, coupon codes, and call-to-action buttons, and schedules the post.
Please make sure there is always a human in the loop.
Last updated: September 2026
How do I post to Google My Business from Codex?
Set up Codex once with the Postiz skill or the Postiz MCP server, connect Google My Business in Postiz, then ask. The whole setup takes a few minutes.
Setup, then just ask
# One-time setup, option A: Postiz skill + CLI
npx skills add gitroomhq/postiz-agent
export POSTIZ_API_KEY=your_api_key # or: postiz auth:login
# One-time setup, option B: Postiz MCP server (OAuth, no key)
codex mcp add postiz --url https://mcp.postiz.com/mcp-oauth-dynamic
codex mcp login postiz
# Then just ask Codex:
> Post a 20% off offer to our Google
Business Profile, valid through Sunday
Codex: 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 does Codex post to Google My Business?
You describe what you want in plain language and Codex handles the Postiz calls for you. Here is how a typical conversation goes.
Find Your GMB Integration
Ask Codex 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?
Codex: 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
Codex: 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
Codex: 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 Codex 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 Codex 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
Codex: 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
Codex: 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
Codex: 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
Codex: Got it. Applying:
topicType: STANDARD
callToActionType: CALLWhat is Codex?
Codex is OpenAI's coding agent. It runs as the Codex CLI in your terminal (npm install -g @openai/codex), as an IDE extension, and in the cloud, and it can run shell commands and call MCP servers, which is how it drives Postiz. Codex is not ChatGPT: ChatGPT is the chat assistant on chatgpt.com and connects to Postiz differently (see the ChatGPT guide). For the full setup, start at the Codex + Postiz hub.
Terminal & IDE Native
Codex runs in your terminal or IDE. You type what you want in plain English and it handles Postiz for you — no extra configuration needed.
Autonomous Execution
Codex runs commands inside a sandbox with approval rules you control, and works through multi-step tasks like discovering channels, uploading media, and scheduling Google My Business posts.
Parallel Tasks
Run multiple Codex tasks simultaneously. Schedule posts to different platforms in parallel while Codex handles other coding work.
How Postiz Works with Codex
Codex discovers Postiz two ways: the postiz skill, which it loads from .agents/skills or ~/.agents/skills and which you can invoke with $postiz, or the Postiz MCP server added with codex mcp add. Either way it learns the available tools and chains them for Google My Business workflows.
- ✓Install the Postiz skill with npx skills add, or add the Postiz MCP server with codex mcp add
- ✓Codex loads skills from .agents/skills and reads SKILL.md to learn the Postiz CLI
- ✓Authenticate with POSTIZ_API_KEY or postiz auth:login; the MCP route uses OAuth instead
- ✓Codex runs commands in its sandbox and asks for approval based on your permission settings
- ✓Works alongside your coding tasks in parallel
Install Postiz
# Install the Postiz skill
npx skills add gitroomhq/postiz-agent
# Set your API key
export POSTIZ_API_KEY=your_api_key
# Or add the Postiz MCP server instead (OAuth, no API key)
codex mcp add postiz --url https://mcp.postiz.com/mcp-oauth-dynamic
codex mcp login postiz
# Then ask, interactively or headless
codex "list my social media integrations"
codex exec "post today's changelog to Google My Business"GMB Posting with Codex
Tell Codex what to post from your terminal or IDE — it discovers your integrations via Postiz and handles the entire publishing workflow.
Just Ask Codex
Terminal and IDE integration
Tell Codex what to post from your terminal or IDE — it discovers your integrations via Postiz and handles the entire publishing workflow.
Codex CLI
$ codex "Post to GMB about our
new feature launch, schedule for
tomorrow at 9am"
Codex: 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
Codex can handle multiple tasks in parallel. Schedule posts to different platforms while it works on other coding tasks simultaneously.
Codex Parallel Tasks
# Run multiple posting tasks in parallel
$ codex "Schedule a post about our
launch to X for tomorrow 9am" &
$ codex "Write a LinkedIn article
about our new feature and schedule
for tomorrow noon" &
$ codex "Fix the bug in auth.ts"
# All three tasks run simultaneouslyWhy Codex + Postiz for Google My Business
Codex'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
- ✓Autonomous execution in sandboxed environments
- ✓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 OpenAI's most capable models
SKILL.md (loaded by Codex from .agents/skills)
---
name: postiz
description: Social media automation
CLI for scheduling posts across
30+ platforms including GMB
homepage: https://docs.postiz.com/public-api/introduction
---
# Loaded by Codex from .agents/skills
# Invoke explicitly with $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 Code
Postiz works with any AI agent that can run commands or call MCP tools — you ask, the agent does the work. That includes Anthropic's Claude Code: see the Claude Code Google My Business guide, or the Postiz Agent page for any other agent.
Claude Code
by Anthropic
Claude 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 Code
> Create a Google My Business event post
for our grand opening on March 15th
from 10am to 6pm, with a Book CTA
Claude: Done! Scheduled on Google My Business for
tomorrow at 9:00 AM.Can Codex post to Google My Business and other platforms at once?
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
Codex: Done! Scheduled:
- Google My Business + LinkedIn: tomorrow 9:00 AM
- Daily tips on Google My Business: Mon-Fri 10:00 AMWhat can I ask Codex to post on Google My Business?
Codex takes plain-English prompts in an interactive session, as a one-off codex exec command, or through the $postiz skill. These are the kinds of prompts people type for Google My Business.
Prompts for Google My Business
> Post a 20% off offer to our Google Business Profile with coupon SEPT20,
valid through Sunday, CTA "Get offer" linking to our pricing page
$ codex exec "Create an EVENT post on Google My Business for the workshop
on 2026-10-03 from 18:00 to 20:00 with a Book CTA"
> $postiz Post a standard update about our new opening hours
with the storefront photoWhat Google My Business rules should Codex follow?
These are the Google My Business limits and required settings Postiz enforces. Codex reads them from postiz integrations:settings, and you can mention any of them in your prompt.
- ✓topicType is STANDARD, EVENT, or OFFER.
- ✓EVENT posts need eventTitle plus eventStartDate and eventEndDate (YYYY-MM-DD) and eventStartTime and eventEndTime (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.
- ✓Photos go through postiz upload before they are attached.
Codex and Google My Business FAQ
How do I post to Google My Business from Codex?
Install the Postiz skill with npx skills add gitroomhq/postiz-agent, or add the Postiz MCP server with codex mcp add postiz --url https://mcp.postiz.com/mcp-oauth-dynamic. Connect Google My Business in Postiz once, then ask Codex in plain English what to post and when. Codex resolves the Google My Business settings, uploads any media, and schedules the post.
Can Codex create Google Business Profile event and offer posts?
Yes. Codex sets topicType to EVENT or OFFER based on your prompt. Events need eventTitle plus start and end dates in YYYY-MM-DD and times in HH:MM, which Codex formats for you. Offers can carry offerCouponCode, offerRedeemUrl, and offerTerms. Plain updates use STANDARD and need none of these.
Which call-to-action buttons can Codex add?
Google supports BOOK, ORDER, SHOP, LEARN_MORE, SIGN_UP, GET_OFFER, and CALL, or NONE for no button. Say "add a Learn more button linking to our pricing page" and Codex sets callToActionType and callToActionUrl accordingly. CALL uses the phone number on your profile, so it needs no URL.
Can Codex post to Google My Business on a schedule without me watching?
Yes. Postiz stores scheduled Google My Business posts and publishes them at the chosen time, so Codex does not need to stay open. For unattended runs, call codex exec with your prompt from a script or cron job. Keep a human reviewing the output, since Codex will publish exactly what it is told to publish.
Do I need a Postiz API key to post to Google My Business from Codex?
Not with the MCP route. Run codex mcp login postiz and Codex signs in to your Postiz account over OAuth, so it only reaches channels you already connected, including Google My Business. The CLI skill route needs either postiz auth:login or a POSTIZ_API_KEY environment variable. Your Google My Business login itself never leaves Postiz.
Is posting to Google My Business from Codex the same as posting from ChatGPT?
No. Codex is OpenAI's coding agent for your terminal and IDE, and it reaches Postiz through the Postiz skill or MCP server. ChatGPT is the chat assistant on chatgpt.com, which connects to Postiz as an app or custom MCP connector. Both can publish to Google My Business; see the ChatGPT guide for that setup.
Related Codex and Google My Business guides
Start at the Codex hub for setup, or jump to another platform Codex can post to through Postiz.
Codex + Postiz overview
→Setup, skill vs MCP comparison, codex exec automation, and FAQ for OpenAI Codex.
Post to Facebook from Codex
→Facebook settings, prompts, and rules for Codex.
Post to Instagram from Codex
→Instagram settings, prompts, and rules for Codex.
Post to LinkedIn from Codex
→LinkedIn settings, prompts, and rules for Codex.
Post to Listmonk from Codex
→Listmonk settings, prompts, and rules for Codex.
Google My Business channel on Postiz
→How Postiz connects to Google My Business, features, and setup outside of any agent.
Postiz MCP server
→The OAuth MCP endpoint Codex, ChatGPT, Claude, and Cursor can all connect to.
Postiz Agent CLI
→The postiz CLI and skill that any AI agent can drive from a shell.
Post to social media from ChatGPT
→The chat-app route, for when you are not in a terminal.
Postiz pricing
→7-day free trial, with MCP, CLI and API access on every plan.
Start posting to Google My Business
Install Postiz Agent and automate your Google My Business presence with AI-powered scheduling, events, and offers.