Create a travel itinerary with Grok as a RoadBook
Grok plans conversationally and can read the RoadBook specification on the web. It returns the JSON in a code block, or as a file when file output is available.
Grok is a product of xAI. RoadBook is an independent open format; no partnership is implied.
1. The prompt, tuned for Grok
RoadBook prompt · tuned for Grok · English · 3844 characters
You are a travel planner producing a RoadBook file.
RoadBook is an open format for complete travel itineraries (JSON).
Before answering, read the official specification and schema:
- Specification: https://roadbookformat.org/spec.html
- JSON Schema: https://roadbookformat.org/roadbook.schema.json
- Full example: https://roadbookformat.org/examples/demo.roadbook.json
- Validator: POST the JSON to https://roadbookformat.org/api/validate (returns errors as path + message),
or https://roadbookformat.org/validator.html in a browser
- Viewer: https://roadbook.plus/open (opens the file on any device, no account);
MCP connector for an inline preview: https://roadbook.plus/api/mcp
Rules:
1. Output ONE valid RoadBook document, "formatVersion": "1.2", as a downloadable
file named "<trip-slug>.roadbook.json" (no markdown fences, no commentary).
If you cannot create files, reply with the raw JSON only.
2. Dates are "YYYY-MM-DD"; times are 24-hour "HH:MM" local wall-clock time.
3. Use the English enum tokens from the spec (item "type", "status",
booking "status", ticket "format"). Every day has a unique "id", an
"index" starting at 1 and a "date" inside the trip period; every item has
"id", "title", "type" and "status": "planned".
4. Every referenced id (bookingId, stayBookingId, memberIds, personIds,
vehicleId, chosenOptionId) must exist.
5. Do not invent booking numbers, ticket payloads or phone numbers: leave
those fields out. Images are URLs only, never inline data.
6. Include for each day: a title, 3–6 timed items, a practical tip and a
rain alternative; add bookings with status "to_book" for what I still
need to reserve, and a packing checklist. Write all free text (titles,
descriptions, tips) in English.
7. Illustrate the trip with freely licensed, ALREADY HOSTED images: one
"cover" for the trip and an "image" on the most relevant steps (landmarks,
neighbourhoods, viewpoints). Allowed sources: Unsplash, Pexels, Pixabay and
Wikimedia Commons, using direct image URLs you have actually seen (search
the web if you can). For Wikimedia Commons use the file-name form, which
resolves by name:
https://commons.wikimedia.org/wiki/Special:FilePath/<exact file name>?width=900
Never build upload.wikimedia.org/.../thumb/... URLs or guess Unsplash /
Pexels ids yourself. A missing image is better than a broken one: omit
the field when unsure.
Delivery in Grok: answer with the JSON only, in one code block, no commentary before or after; keep enum values in English exactly as in the spec.
Working mode, for the rest of this conversation:
8. Everything about this trip goes through the RoadBook file: each time I
ask for a change, return the COMPLETE updated .roadbook.json (keep the
ids of unchanged elements), never a fragment or a prose-only answer.
9. After every version, give me a one-click preview link:
https://roadbook.plus/#rb=<base64url of the UTF-8 JSON>
(base64url = base64 with "+" → "-", "/" → "_", no padding; the roadbook
opens instantly in the browser and never reaches a server). If the JSON
is larger than about 50 KB, skip the link and just provide the file:
I will open it at https://roadbook.plus/open (drag & drop, no account).
Before generating: if the "Trip to plan" section below is empty or still
has the "…" placeholders, do NOT generate anything yet. First ask me, in one
short message, the questions needed to fill it (destinations and route,
dates, travelers with children's ages, style / pace / budget, must-dos and
constraints, reservations I already have). Wait for my answers, then build
the RoadBook.
Trip to plan:
- Destination(s) and route: …
- Dates: …
- Travelers (adults, children with ages): …
- Style, pace and budget: …
- Must-dos and constraints: …Copy it, or open Grok with it pre-filled:
Open in GrokCreate with another assistant:ChatGPTClaudeGeminiMistral
2. Three steps
1
Open Grok with the prompt
The button pre-fills a new chat on grok.com. Paste the prompt if it does not appear; turn on web access so Grok reads the spec.
2
Describe your trip, paste your confirmations
Ask for “only the JSON, no commentary”. Confirmations become bookings and tickets; Grok must not invent numbers.
3
Open it, then iterate
Drop the file (or paste the JSON) below, or click the preview link. Any change: ask again, you get the complete file.
3. Open your RoadBook
Drop the file (or paste the JSON). It opens instantly in your browser, no account. Prefer the preview inside the chat? Add the RoadBook connector: https://roadbook.plus/api/mcp (How to).
Drop your .roadbook.json file here
or
No account required. The file is read and stored in your browser only: nothing is uploaded.
Frequently asked questions
1Do I need an account or a paid RoadBook+ plan?
2Which AI assistants can create a RoadBook?
3The assistant answered with text instead of a file.
4The player says the file is not a valid RoadBook.
5Can I keep my real booking numbers and tickets?
6Can I see the result directly in ChatGPT or Claude?
https://roadbook.plus/api/mcp as a connector (ChatGPT: Apps & connectors → Developer mode; Claude: Settings → Connectors) and the assistant can validate and preview the roadbook inline, with a link that opens it on your phone. Without the connector, each version still comes with a one-click roadbook.plus/#rb=… link. Details on the developers page.
