Send to Grok Bot on iPhone
Tap one link. Paste one code. Then share a post from the X app.
1. Copy the code
- On a computer, open relay.sendtogrokbot.com.
- Copy the code. It starts with
stgbr1.This is the only code. Do not copy a webhook address. - If you want Grok Bot or Claude, save that destination on the same page. ChatGPT and Codex need nothing saved.
2. Add the shortcut
- On the iPhone, tap Install Send to Grok Bot.
- Tap the downloaded file, then tap Add Shortcut.
- When Shortcuts asks, paste the code. Paste it once.
If iOS says the shortcut is untrusted, open Settings, tap Shortcuts, and turn on Allow Untrusted Shortcuts. Tap the link again. If Settings has no such switch, open the downloaded file from the Files app and tap Add Shortcut.
3. Send a post
- In the X app, open a post and tap Share.
- Tap Send to Grok Bot.
- Pick Grok Bot, Claude, ChatGPT, or Codex.
A notification names the destination. ChatGPT and Codex then open with the post filled in. You press Send in that app. Grok Bot and Claude are sent for you, using what you saved on the relay.
If Share does not list the shortcut, tap More on the share sheet and turn on Send to Grok Bot.
The last 50 sends are on History. Paste the same code there. That page does not save the code.
Build it yourself
Use this only when the install link above is still missing. In the Shortcuts app, create a shortcut named Send to Grok Bot, turn on Show in Share Sheet, and add these actions in order.
- Text. Paste the relay code. This stays the first action.
- Set Variable named Relay Code.
- Get URLs from Input. Input is Shortcut Input. Then Set Variable named Links.
- If Links has any value.
- Inside that If: Get Item from List, First Item, from Links. Set Variable named Post URL.
- Choose from Menu. The lines are Grok Bot, Claude, ChatGPT, and Codex.
- Under each line, add Text with exactly
grokbot,claude,chatgpt, orcodex, then Set Variable named Destination. - Below End Menu, add Get Contents of URL. URL
https://relay.sendtogrokbot.com/v1/send. Method POST. HeaderAuthorizationisBearerplus the Relay Code variable. HeaderContent-Typeisapplication/json. JSON body:destinationis Destination,urlis Post URL,sourceisshortcut. - Get Dictionary from Input, then Set Variable named Response.
- Get Dictionary Value for
notice, from Response. Set Variable named Notice. - Get Dictionary Value for
openUrl, from Response. Set Variable named Open URL. - Show Notification. Title Send to Grok Bot. Body is Notice.
- If Open URL has any value, Open URLs with Open URL.
- In the Otherwise of the first If, show a notification: No post link was shared.