Instagram Direct assistant for a small business — live simulator

Two phones, one engine. Left: a customer writes to the business in Instagram Direct. Right: the owner's Telegram. The assistant answers from the knowledge base (About & opening hours, Price list, Delivery, Policies), collects a complete order step by step, and every reply first goes to the owner as a draft with Send / Skip / «I'll reply myself» buttons.

Instagram Messaging API (official Meta)owner approval in TelegramOpenAIhuman approvalorder collection → registerphoto understandingcustomer's languagehandoff to a human

The simulator replaces only the network calls to Meta and Telegram: the same engine runs for a real Instagram professional account (webhook → draft in Telegram → approved reply via the Instagram Send API). WhatsApp view

🌿
greenleafflowersInstagram · business account
customer's phone
Hi! Is the pink peony bouquet from your last post available?Сколько стоит букет на день рождения?Do you deliver on Sunday?Can I talk to a person?
👩‍💼
OwnerGreen Leaf Flowers · Telegram

Buttons under a draft are Telegram inline buttons. Typing text while a draft is pending sends your text to the customer instead.

What happens under the hood: customer message → webhook → the engine stores it, calls the model with the knowledge base and the conversation, gets strict JSON (reply, action, collected order fields) → a draft with reply buttons is sent to the owner; only the approved text reaches the customer. A complete order becomes a row in the register (SQLite, optional Google Sheet) and a notification with Confirm / Cancel buttons. «Can I talk to a person?» pauses the bot for that chat and forwards everything to the owner until /bot.