Personal
Tip only: iMessage → Shortcuts → webhook
A Mac already sees iMessage. The bot needs a POST, not a new plugin.
What hurt
James Martinez published a Shortcuts recipe: always-on Mac, Shortcuts Automation on Message, pick contacts, leave Message Contains blank, run immediately, notify off. Sender and content become variables, then Get Contents of URL as POST with Bearer token and a JSON body of sender + text. Mac stays awake and signed into Messages.
What to install or create
Grok Bot routine with webhook trigger. Shortcuts POSTs sender + text. Bot monitors or drafts. You still send any reply. Tip only — no prompt.
Bots
Message desk
Reads webhook POSTs from Shortcuts. Drafts or logs. You send.
Plugins
None on day one. Follow the first-run steps.
Files
The cited tweet is the recipe. Optional: a contact allow-list.
Routines
Webhook trigger. Shortcuts Message automation POSTs here. Mac stays awake.
The prompt
This is a tip, not a pasteable system prompt. The author did not publish one. Follow the first-run steps.
First run
- 1Read the cited tweet. Follow that Shortcuts path, do not invent a new one.
- 2Create a Grok Bot routine, add trigger, select webhook. Copy URL and token.
- 3On an always-on Mac: Shortcuts → Automation → Message. Pick contacts. Leave Message Contains blank.
- 4Run Immediately, Notify When Run off. Map sender and content variables. GET Contents of URL, POST, Bearer header, JSON body sender + text. Insert variables via right-click, do not type them.
- 5Keep the Mac awake and signed into Messages. First real message: bot drafts, you send.
Approval fence
Do not send, forward, or delete iMessages without your yes.
What to tweak
Steal the Shortcuts POST. Keep the Mac awake. Do not auto-reply.
Source
James Martinez @realjamesmtz · Original post
Not affiliated with xAI. We did not write this prompt. Third-party template terms still apply.