Grok Bot + Google Business
Post to Google Business Profile from Grok Bot
Through iHatePosting, Grok Bot can publish updates, events and offers to a Google Business Profile. Paste one setup message to your Grok Bot and give it your API key in its secret prompt, then ask it for the post you want.
Setup takes about a minute. A post can hold up to 1,500 characters.
Posting to Google Business from Grok Bot
Add iHatePosting to Grok Bot once, connect Google Business, and then describe the post. Setup takes about a minute.
Add iHatePosting to Grok Bot once
Paste one setup message to your Grok Bot and give it your API key in its secret prompt. Then connect Google Business in iHatePosting if you have not already.
Set up iHatePosting so you can draft, schedule and publish my social media posts.
- Install its command line on your cloud computer: npm install -g ihateposting
- Install its skill: npx skills add iHatePostingOrg/iHatePosting-Agent
- Ask me for my iHatePosting API key through your secure form, never in this chat, and keep it as IHATEPOSTING_API_KEY.
- Check it works: run ihateposting integrations:list.
- Save posts as drafts unless I say otherwise, and ask me before you publish anything.
When it works, show me my connected accounts.Ask for the Google Business post
Describe the post in plain language. Grok Bot writes it, applies the settings and schedules it.
> Post an update to my Google Business Profile tomorrow at 9:00: we are open until 20:00 this Friday.
Grok Bot: Done. Scheduled on Google Business.What Grok Bot can do on Google Business
On Google Business, Grok Bot can publish updates, events and offers to a Google Business Profile.
Updates
Post a standard update with text and, optionally, one picture.
Events
Announce an event with a title and start and end times.
Offers
Run an offer: a coupon code, the link where it is redeemed and its terms.
Call to action
Put one action button on the post, with the address it opens; Google offers Book, Order, Shop, Learn more, Sign up, Get offer and Call.
How Grok Bot gets a post onto Google Business
You say what you want and Grok Bot makes the calls. A typical conversation goes like this.
Find your Google Business channel
Which Google Business accounts do I have in iHatePosting?
What happens
- Grok Bot lists your channels and finds Google Business
- It also reads the channel's rules and settings
Compose your content
Announce our open day on Saturday from 10:00 to 16:00 on Google Business with a Learn more button.
What happens
- Grok Bot drafts the text for Google Business
- It uploads any media you mention
Schedule and publish
Yes, schedule it for tomorrow at 9:00.
What happens
- Grok Bot schedules the post in iHatePosting
- iHatePosting publishes it to Google Business at that time
Google Business settings reference
Say the option in your own words and Grok Bot fills in the matching field. This is every Google Business setting it can use.
| Field | Type | Required | Description |
|---|---|---|---|
| topicType | string | No | STANDARD, EVENT or OFFER |
| callToActionType | string | No | NONE, BOOK, ORDER, SHOP, LEARN_MORE, SIGN_UP, GET_OFFER or CALL |
| callToActionUrl | string | No | The address the button opens |
| eventTitle | string | No | The event's title, required when topicType is EVENT |
| eventStartDate | string | No | The event's start date, as year-month-day (today when left out) |
| eventEndDate | string | No | The event's end date, as year-month-day (today when left out) |
| eventStartTime | string | No | The event's start time, as HH:mm |
| eventEndTime | string | No | The event's end time, as HH:mm |
| offerCouponCode | string | No | The offer's coupon code |
| offerRedeemUrl | string | No | Where the offer is redeemed |
| offerTerms | string | No | The offer's terms |
Common configurations
Each case below is a request Grok Bot understands, followed by the Google Business options it sets.
An event
Make it an event called Open day from 10:00 to 16:00 on Saturday
- Applies:
topicType: EVENT,eventTitle: Open day
An offer
Make it an offer with code SPRING10
- Applies:
topicType: OFFER,offerCouponCode: SPRING10
A booking button
Add a Book button to https://example.com/book
- Applies:
callToActionType: BOOK,callToActionUrl:https://example.com/book
What is Grok Bot?
Grok Bot is xAI's always-on agent, used through a Cursor account. You create named Bots and give each a job; your Bots share one cloud computer with a browser, files and a terminal.
Once a Bot has the iHatePosting command line installed, it writes, queues and sends your posts from that computer.
How iHatePosting works with Grok Bot
Installed as a skill, iHatePosting gives Grok Bot a SKILL.md that teaches it the commands and how to shape a post for each platform, and the ihateposting command line does the work.
- Paste the message into a chat with the agent
# A message to paste into the chat
Set up iHatePosting so you can draft, schedule and publish my social media posts.
- Install its command line on your cloud computer: npm install -g ihateposting
- Install its skill: npx skills add iHatePostingOrg/iHatePosting-Agent
- Ask me for my iHatePosting API key through your secure form, never in this chat, and keep it as IHATEPOSTING_API_KEY.
- Check it works: run ihateposting integrations:list.
- Save posts as drafts unless I say otherwise, and ask me before you publish anything.
When it works, show me my connected accounts.Google Business and the other platforms Grok Bot reaches
Ask for Google Business and other channels in a single message; every channel still applies its own settings.
Google Business requests to try in Grok Bot
A weekly update
Post an update to my Google Business Profile tomorrow at 9:00: we are open until 20:00 this Friday.
An event
Announce our open day on Saturday from 10:00 to 16:00 on Google Business with a Learn more button.
An offer
Publish a 10 percent offer with the code SPRING10 on Google Business until Sunday.
Google Business limits and gotchas to know
A few of Google Business's rules shape how Grok Bot writes your request, so it helps to know them.
- A post can hold up to 1,500 characters.
- A post can have text and one picture at most, and no video; it is an update, an event or an offer.
- A button is sent only with the address it opens (
callToActionUrl).
Frequently asked questions
Start free for 30 daysPaste one setup message to your Grok Bot and give it your API key in its secret prompt, connect Google Business in iHatePosting, then ask Grok Bot for the post in plain language. It schedules the post and iHatePosting publishes it at the time you set.
A post can hold up to 1,500 characters.
Grok Bot can set topicType, callToActionType, callToActionUrl, eventTitle, eventStartDate, eventEndDate, eventStartTime, eventEndTime, offerCouponCode, offerRedeemUrl, offerTerms. The settings reference on this page lists what each one does.
Yes. Make a key in iHatePosting (Settings → Agents / Dev) and hand it to Grok Bot as the steps above show. The command line can sign in with ihateposting auth:login instead.
Yes. Name a day and a time and iHatePosting publishes the post then, whether or not Grok Bot is still open. An agent that keeps running can also repeat a job on a routine you give it.