← ClaudeAtlas

order-bot-telegramlisted

Build a Telegram bot for orders or table bookings for a small business that runs on ordinary shared PHP hosting - one PHP webhook file (kit/), no database, no server, no framework; setWebhook with a secret token, the conversation on inline buttons (menu -> basket -> name -> phone -> confirm), every order to the owner's Telegram and optionally a Google Sheet row, the token outside the web root and never logged, plus a test checklist. Use when asked for an order bot, a booking bot, a Telegram shop for a cafe, restaurant, salon or shop, or a cheap bot without a server.
roama-studio/skills · ★ 0 · AI & Automation · score 72
Install: claude install-skill roama-studio/skills
# Order and booking bot in Telegram (PHP, shared hosting) A guest taps buttons in the business's own bot, leaves a name and a phone, confirms; the owner gets the order in Telegram at once (and as a row in a Google Sheet if wanted). Runs on any hosting with PHP 7.4+, curl and https - the same hosting as the business's website. Out of scope unless agreed separately: payments in the bot, delivery tracking, stock or POS integrations, mailings to guests, other messengers. ## What the business gives 1. Their own bot from @BotFather on THEIR Telegram account (`/newbot`) -> the token. Never create a client's bot on your account. 2. The menu or the service list: names, prices, opening hours (up to ~30 items reads well on buttons). 3. Who receives orders: the owner's or admin's chat id (they press Start in the bot, then `getUpdates` once shows the id). 4. Hosting with PHP 7.4+ and https. (Google Apps Script cannot be the webhook: it answers with a redirect, which Telegram counts as an error.) 5. Optional: a Google account for the sheet. ## Build it from `kit/` - never from zero | File | What | |---|---| | `kit/webhook.php` | the webhook: checks the secret header, runs the conversation, sends the order | | `kit/config.example.php` | token, secret, owner chat ids, optional sheet URL and secret, texts - the real config lives OUTSIDE the web root | | `kit/menu.example.json` | categories, items with prices, booking times | | `kit/README.md` | setup step by step, setWebhook, t