Project overview
This project is an Instagram DM first-contact assistant built around a real B2B sales workflow, rather than a generic chatbot that promises quotations. JH COMPANY supplies gym and combat-sports equipment, flooring and custom products. The assistant, named Kim Minji, gathers the requirements a human representative needs before preparing a quotation. The intake covers five areas: whether the customer is opening a new facility or operating an existing one, gym type, required products and per-product quantities, target installation/opening date, and a Korean mobile callback number. The AI extracts only facts explicitly written by the customer and asks follow-up questions for missing details. Equipment specifications are not silently converted into quantities: “10 kg wall balls” does not mean ten units. Product names, weights and stated counts are kept distinct. The bot does not invent prices, discounts, payment terms or delivery guarantees. When a valid mobile number is supplied, it acknowledges receipt and hands the inquiry to JH COMPANY staff. The callback message accounts for Korean business days. Email addresses and landlines are not treated as mobile callback numbers. The integration uses Meta Instagram Messaging webhooks, signed event verification, private message storage, Netlify scheduled functions and the OpenAI Responses API. Only inbound customer text is analyzed; phone numbers and email addresses are redacted from model input. The callback number is taken deterministically from customer messages rather than from generated text. Claim records and completion markers reduce duplicate replies, while attachment events and subsequent messages are handled explicitly. Safety controls are central: the feature must be explicitly enabled, a valid activation time must be configured, and the Instagram-scoped sender must be allowlisted. A human-managed thread is not intercepted. Ambiguous delivery outcomes are sent for manual review instead of blind repeated sends. These restrictions remain active while Meta app permissions are under review. The beta consultation flow was tested with an explicitly authorized account. The wider project test suite passed 87 automated tests in November 2026. This does not mean public Instagram auto-reply access has been approved or that every external account can use the bot. The independent no-AI phone capture and owner push workflow is documented in a separate case study.
The starting point
JH COMPANY supplies fitness equipment and flooring for gyms, CrossFit boxes and combat-sports facilities. Instagram inquiries often lack the basic information needed for a quotation: facility type, opening status, products, quantities and timing. Repeating the same intake questions manually slows the handoff to staff.
The problem to solve
The main engineering risks were fabricated prices or delivery promises, bot interference in human-managed conversations, duplicate replies, unsafe handling of personal contact details and replying to unapproved Instagram accounts while Meta review is pending.

