ENGINEERING · 9 MIN

Inside GwikFlow: how our agentic sales workflow keeps AI answers honest

How GwikFlow's agentic sales workflow grounds every answer in the business's own data, checks prices and offers in code before sending, escalates to a stronger model when needed, and hands chats to people when it should.

GwiksoftEngineering1 December 2026

An AI that chats is easy to build. An AI that sells for a jeweller, a clinic or a hardware store without inventing a price, pressuring a customer or dropping a lead is not. This is how GwikFlow, Gwiksoft's AI omnichannel sales assistant for Indian MSMEs, is built to do that: every answer is grounded in the business's own data, checked in code before it is sent, and handed to a person when it should be.

One message, end to end

Each customer message goes through the same seven steps, on every channel. Two of them can hand the chat to a person, and one can send the answer back for a better try.

GwikFlow's workflow: customer message, gates, one turn at a time, grounded answer, model answers, answer checks in code, then sent shaped for the channel. A hand-over rule at the gates, or an unsure answer at the checks, sends the chat to a person in the Inbox; a failed check sends it back to a stronger model.
GwikFlow's agentic sales workflow: 7 steps, 2 hand-over points.

The answer checks are what keep the AI honest: nothing reaches a customer until prices, products and offers match the business's own data.

Grounding: the business's data is the source of truth

A sales AI is only as honest as what it is allowed to say. GwikFlow gives the model the business's own catalogue, knowledge base and live offers, and then works out every number a customer is likely to ask about in code rather than leaving it to the model.

  • Price ranges are computed, not generated. For each collection, the lowest and highest real prices are calculated before the prompt is built, so "what's your price range for studs?" is answered from arithmetic, not from a guess.
  • Shopify is read live. For Shopify stores, products, prices and stock come from Shopify's catalogue through our orchestration service at question time, so a price changed this morning is the price quoted this afternoon.
  • Big catalogues are searched per message. A store with 500+ products cannot fit in a prompt. GwikFlow carries part of the store and, for each customer message, searches the whole store for up to 12 more matches, so "wall-hung basin" finds the basin even when it was not in the first page.
  • No catalogue means no prices. When a business has no products connected, the AI is told plainly that nothing is listed and that it must never state or guess a price, stock or delivery date unless the knowledge base says it.
  • Offers only from the offer list. A discount, code or cashback can be mentioned only while the business has that offer live.
  • Context that is real. In website chat the AI can see which products the shopper just viewed on the store. It can call a product "popular" only when the business's own data says customers pick it most.

Checks in code, not hope

Every answer, whichever part of the system wrote it, passes through one answer contract before it is sent. The checks are plain code: free, instant and never "probably".

CheckWhat it enforces
PriceEvery rupee amount in the reply is a real price from the catalogue or knowledge base, or a figure the customer gave
ProductsProduct cards exist, are not sold out, and carry a price when the customer asked about price
One questionAt most one question per turn, so the customer is never interrogated
LanguageHindi, Telugu or Hinglish in means the same language out
FormatNo markdown or links where the channel would show them as raw symbols
HonestyPressure such as "hurry, only 2 left" is removed; "popular" needs real data
OffersA promised discount or code is removed when the business has no live offer

A stronger model when the first answer falls short. Some businesses are answered first by a faster, cheaper model. If that answer is empty, admits it does not know, fails a check, or promises products without showing any, the same question is answered again by a stronger model. The customer only sees the better answer.

Unsure is measured by what the model says, not how confident it sounds. We first tried the model's own token probabilities as a confidence score. On real traffic it was backwards: a complete answer full of product names scored near 0, while gibberish input scored 0.72. GwikFlow now looks for what actually signals a gap, an admission such as "I don't have the details", and that is the moment a person should take over.

Failures are not hidden. Every failed check is recorded for the business's Gwiksoft partner to review.

People stay in charge

An agentic workflow for a small business has to know when to stop. GwikFlow treats the hand-over to a person as part of the workflow, not as a failure.

  • Two levels of control. The business chooses how much the AI does on each channel: answer on its own, draft for a person, or stay off. Its Gwiksoft partner can set a ceiling. The stricter choice always wins, and hand-over rules from either side add up, because a rule exists to stop something going wrong.
  • Hand-over rules. A customer asking for a person, a question the AI cannot answer, a refund or complaint, or a message after business hours moves the chat to the Inbox with a phone alert. If nobody picks it up in time, the AI takes the next message rather than leaving the customer waiting.
  • One turn at a time. Each conversation is locked while an answer is being written, so a customer who sends three quick messages gets one considered reply, not three overlapping ones. A turn is the answer to one customer message, however many photos and buttons it contains, so safety limits count real turns.
  • Follow-ups that respect WhatsApp's rules. If a customer goes quiet, GwikFlow can follow up after 5 minutes, 5 hours and 23 hours, inside WhatsApp's 24-hour window, with the same honesty rules as any other reply. Follow-ups are off until the business turns them on.
  • Corrections that stick. When the team marks a reply 👎 and writes what it should have said, that correction is added to the AI's instructions for similar questions. It outranks the AI's judgement, but never the catalogue's prices.
  • Opt-outs and blocks. A customer who replies STOP gets no more campaigns or follow-ups, and blocked numbers are dropped before the AI sees them.

Shipping changes safely

The AI's behaviour for each trade lives in skills: a jewellery sales expert, a clinic front desk, a property advisor, Hinglish replies, closing a store visit. Changing a skill changes what real customers hear, so changes go through the same discipline as code.

  1. 1.Drafts. A partner's edit is saved as a draft and can be tried without touching live replies.
  2. 2.Evals. Each business keeps a set of real test questions, each with what a good answer must do. An eval run asks every question of the draft, then a judge model and the rule checks mark each reply pass or fail. Nobody sees these replies and they use none of the business's allowance.
  3. 3.A publish gate. A draft goes live only after an eval run on it, and only if no question that passed on the live skills now fails. Overriding the gate needs a written reason, which is kept.
  4. 4.Versions and rollback. Every publish is a numbered version. Rolling back makes an earlier version live again as a new version, so the history only grows.
  5. 5.Monitoring. Partners see ratings, corrections, hand-overs and cost per reply for each business, and every Monday a report suggests which skill edits would help most, based on the week's chats.

Underneath, every AI path goes through one usage gate. Plan limits, an emergency stop for a business, and the 80% and 100% allowance warnings apply to every channel the same way.

Built for Indian channels, and open to AI agents

The same answer has to look right on each channel, so GwikFlow shapes it for where it is going.

  • WhatsApp gets short plain text with bold only where it helps, product cards with photos and buttons, and reply buttons cut to WhatsApp's 20-character limit rather than shown broken. After 24 hours without a customer message, only approved templates can be sent, and the Inbox says so.
  • Website chat gets product cards, a booking form and a "continue on WhatsApp" hand-off that carries the conversation across.
  • Instagram shows swipeable cards only in its phone app, so GwikFlow sends product photos and a numbered list with prices and links, which reads correctly everywhere.

Open to AI shopping agents. GwikFlow businesses are reachable by AI assistants through a public MCP server at mcp.gwiksoft.com, listed in the MCP Registry. An assistant such as Claude or ChatGPT can search a business's products, read its offers and answers, and start a checkout. For Shopify stores, checkout is a cart link the customer opens in their own browser. Tools that create leads or book visits need the business's own key and are rate-limited.

How these choices compare

Most WhatsApp automation for small businesses is built in one of two ways: a menu chatbot of buttons and fixed flows, or a large language model connected straight to a chat with a prompt. Each has its place. This is where GwikFlow chose differently.

Design choiceMenu chatbotModel with a promptGwikFlow
Where answers come fromFlows someone wroteThe model and its promptCatalogue, knowledge base and live offers, with Shopify read live
Prices quotedTyped into each flowWhatever the model writesChecked against real prices before sending
Before a reply is sentNothing to checkUsually nothingPrice, product, question, language, format and honesty checks
When it doesn't knowRepeats the menuOften guessesHands the chat to a person, with an alert
Changing its behaviourEdit the flowEdit the prompt and hopeDraft, eval, publish gate, versions, rollback
Following upRarelyRarelyFollow-ups inside WhatsApp's 24-hour window
Cost controlFixedEvery reply on the same modelCheaper model first, stronger model only when needed

What we are still building

Saying what is not done yet is part of being honest about an AI product.

  • Instagram and Messenger are built and rolling out to businesses as Meta approves access.
  • Team logins: today the owner and their Gwiksoft partner sign in; logins for each staff member are not available yet.
  • Shopify connection is done with our team rather than self-serve.
  • Payments inside the chat are not supported; customers pay on the business's own checkout or payment link.

Want to see this workflow on your own catalogue? Ask us on WhatsApp.

Tell us your name and business, and we'll show you how GwikFlow would answer your customers' top questions.

We save your details to reply to you, then open WhatsApp to chat with Gwiksoft on +91 84346 67643. Our AI assistant may reply first. See our privacy policy.

Frequently asked questions

Which AI models does GwikFlow use?

Skills run on OpenAI's GPT-4.1 family. Some businesses are answered first by a faster Gemini model on Google Cloud, with the escalation described above. Model choice is set per business, so it can change as models improve.

Does it eliminate hallucinations?

No AI can promise that. GwikFlow narrows what the model may say to the business's own data, checks prices, products and offers in code before sending, and hands uncertain chats to a person. Failed checks are recorded so they can be fixed.

Does GwikFlow train AI models on my customers' chats?

No. Chats are used to answer your customers, to show you analytics, and as examples in your own test set when your team adds them.

Can developers or other AI agents connect?

Yes. AI assistants can use the public MCP server at mcp.gwiksoft.com. Developer documentation is at dev.gwiksoft.com, where the MCP server is live and the wider app platform is in preview.

How is WhatsApp connected?

Through Meta's official WhatsApp Business Platform. Gwiksoft is a verified Meta Tech Provider. Meta bills WhatsApp messages to the business separately.

Can I try it?

Yes. GwikFlow has a free plan and a 14-day Growth trial without a card, or you can chat with our own AI first at shop.gwiksoft.com/gwiksoft.

Try GwikFlow

Start a 14-day Growth trial. No card needed.

Try GwikFlow free

Gwiksoft is a Patna-based company building AI sales assistants for Indian businesses, including GwikFlow, its AI omnichannel sales assistant for MSMEs.

← All posts

Start with a written audit

Send us your store URL and the problem you want solved. You will receive written findings and a recommended next step — whether or not you engage us.