Skip to content

WhatsApp Agent

How it works under the hood

A message's journey through the agent — verification, checks, tools and traceability — explained without jargon.

This page explains what happens between a user writing to your organization’s WhatsApp and getting a reply. You do not need it to use the agent, but it helps you understand why it is safe — and which guarantees come from how the system is built, not from promises.

In short:

  • What goes out on its own: the system’s fixed messages (privacy notice, verification, out-of-hours, hand-off notices) and, in direct mode, the agent’s replies and the promotion that comes with a quote, if you set one up.
  • What waits for your approval: in shadow mode, only the text the AI writes (and its attachment). What the agent does while writing it —registering an order, booking an appointment, handing the conversation to your team— does not wait.
  • When it goes quiet: with the emergency stop, with the account blocked, or when someone on your team has taken over the conversation (it then stops writing replies; a few fixed messages still go out). With the emergency stop or the account blocked, nothing goes out. Someone who wrote BAJA (opt out) gets nothing either, not even the confirmation, until they reactivate with SÍ (yes) or finish deleting their data.
  • Where you see it: in each conversation in the console, with the Agent activity button.

Looking for why something happened? Go straight to your case:

What you sawWhere the explanation is
The agent did not replyWhat the customer gets and what your team sees, row Silence
I took over the conversation and a message still went outSpecial cases
I am in shadow mode and something went out without approvalSpecial cases
An audio, a photo or a sticker got an odd messageDepending on what the customer sent
The cap ran out and an audio or a photo was left unattendedThe economic brake
I want to see step by step what the agent didEverything is traced

In one line: the message arrives → the privacy notice and who is writing are resolved → the checks run → the AI reasons with your data → the reply is checked → it is sent (or stays as a proposal in shadow mode).

  1. Verified reception. The message arrives from Meta with a digital signature (a seal that proves it really comes from Meta) that Inspow validates before processing it. Each message is processed exactly once, even if Meta retries it (retries are discarded automatically). If the customer sends several messages in a row, the agent waits a few seconds to group them and reply once. If it is a voice note it is transcribed; if it is a photo or a PDF (for example a prescription), the product is extracted so it can be looked up in your catalog. Anything that is not text, a voice note, a photo or a document —video, sticker, location, contact card, a button reply— is not interpreted: the agent asks them to say it by text or voice note (only once, even if they send several in a row). A file that is not a photo or a PDF (Word, Excel…) is not read either: the customer gets the message that a person on your team can help.

    How much of an audio, a photo or a prescription is taken is in How far the agent reads.

    When a photo or a PDF is not read. In two cases they are taken as a payment receipt, without reading their content: (1) the customer has a bank-transfer order waiting for a receipt, or (2) you have the Payment proofs tool turned on and the person writing is a verified contact. In those cases any photo, PDF or other file goes into the receipts flow, even if it is a photo of a product. There is a third case in which the photo or PDF is read: if the customer has a valid quote, with no order registered yet, and sends what looks like a payment receipt, the agent does not reply about the product: the conversation goes to your team as Order (this case comes before (2)) (when something goes off track). The outcome by type of message is in the table further down.

  2. Consent and identity. The system first resolves the privacy notice and who is writing: verified contact, pending code, or unknown. In private mode, nothing is delivered until the person accepts the notice. In public (sales) mode there is no wait for acceptance: the notice goes out with the first reply, or does not go out if you turned on Skip privacy notice. BAJA works in any conversation state (taken over, archived, notice not accepted or cap used up): the opt-out is recorded and the agent does not write to them again. Today the customer gets no confirmation message, nor the reminder that they are opted out if they write again: the system sends nothing to an opted-out contact. If they write SÍ, they are reactivated and get «Listo, reactivé los mensajes…» (“Done, I turned your messages back on…”). If they ask to delete their data while opted out, they do not get the confirmation question; if they write ELIMINAR (delete) again, their data is deleted and they do get «Listo, eliminamos toda tu información…» (“Done, we deleted all your information…”). The only exception is when the agent is fully off: with the emergency stop, the WhatsApp channel inactive or the account blocked, the message is saved in the console but the opt-out is not recorded; your team has to handle it by hand (with the account blocked, once you reactivate it). Identity is determined by the system with fixed rules — AI plays no part in verification and never decides “who” someone is. With Public mode (sales) on, an unknown contact can receive prices and the catalog and place orders, but never personal data.

  3. Pre-checks. Before reasoning, the system runs a series of operating checks (some, like the emergency stop and the account status, are checked even before identity):

    • Emergency stop: if it is on, the agent does not reply at all.
    • Your Inspow account status: if it is suspended, cancelled, has a pending payment or the trial ended, the agent stops replying on WhatsApp without notifying your customers until the account is reactivated. Same if the WhatsApp channel is not active.
    • Valid consent: did they write BAJA?
    • Clinical hand-off, if turned on: questions about doses, symptoms or diagnoses go straight to your team.
    • Conversation state: if a person on your team has taken it over (or archived it), the agent stops writing replies (with the exceptions in Special cases). Taking over or archiving is not forever: if the conversation goes more hours without activity than you set in Forget the conversation after hours of inactivity (48 if you did not change it), the customer’s next message opens a new conversation and the agent replies again. With 0 it never expires.
    • Business hours, if you have Auto-reply outside business hours on: outside business hours your fixed message goes out. With it off, the agent replies at any time.
    • AI usage cap and conversation quota (see The economic brake).
    • Per-contact abuse limit: it comes off and cannot be turned on from the settings. When it is active, after about 30 AI replies in 24 hours to the same number, the conversation goes to your team and the agent does not reply to that number for 24 hours.

    A check that fails cuts the process short, without the agent ever reasoning, with one of three outcomes: a fixed reply, an escalation to your team or silence. With the emergency stop on or the account blocked, the agent writes nothing to the customer.

    There are exceptions to these checks —fixed messages that go out even if you took over the conversation, and one case where the agent replies even though it should not—. They are in Special cases.

  4. Reasoning with tools. Only here does the agent reason. It can use only the enabled tools: lookup tools (account status, price list, appointment availability and, in businesses with a cafeteria, menu and attendance) read real data and return results the AI merely words; tools that register something (an order, an appointment, a payment receipt) do so with system data and are visible to your team — the receipt, in addition, stays pending until a person approves it. With the Send photos/catalog tool, the agent can also attach a product photo, the PDF catalog or the payment QR your business uploaded (the QR is also attached automatically when a bank-transfer order is registered, if you uploaded it). One attachment per reply; in shadow mode the attachment travels inside the proposal. The process has hard limits on time, steps and reply length; the history it sees is bounded (the last 20 messages, and it resets after the inactivity period you configure).

  5. Output check. Before approving the text, the system verifies that every monetary figure in the reply is literally present in the query results or in the information your business uploaded. Among others, it blocks replies that:

    • say an order was already registered, or promise to send the QR or the payment details, when the order does not exist (this check covers orders; it does not cover appointments);
    • promise that an advisor will write without having escalated the conversation;
    • give a total different from the quote;
    • take a delivery or a total for granted when the municipality still has to be confirmed, or close a quoted sale without registering the order;
    • explain to the customer how the agent works internally.

    If the reply does not pass, the system tells the agent what was wrong and retries a single time (it does not retry if, in that attempt, the agent had already handed the conversation to a person). If that fails too, normally it blocks the send and hands the conversation to a person. That is why the agent cannot “make up” a balance or round it. Two exceptions, which go out like any agent reply (in shadow mode, as a proposal):

    • if the order had already been registered, the customer gets the order confirmation the system generated, not the blocked text;
    • if what was blocked was closing a quoted sale without registering the order and only customer details were missing (the address, the mobile number, the payment method), the agent asks for them —«Para registrar tu pedido me falta…» (“To register your order I still need…”)— instead of escalating.
  6. Shadow or send. In shadow mode, the reply the AI writes waits as a proposal for human review. If nobody reviews it before the 24-hour window closes, the proposal expires and is no longer sent. In direct mode, it is sent — always within WhatsApp’s 24-hour window; outside it, free text does not go out. Note: shadow mode does not hold everything back (what goes out without approval).

Ana, an already verified customer, writes on a Tuesday at 10 a.m.: «¿cuánto debo?» (“how much do I owe?”).

  1. The message arrives signed by Meta; the agent waits a few seconds in case Ana writes something else.
  2. Ana already accepted the privacy notice and her number is verified.
  3. The checks pass: nobody took over the conversation, it is within business hours and there is budget.
  4. The agent looks up the account status and writes the reply with the balance the lookup returned.
  5. The system checks that the figure in the text is the same as in the lookup.
  6. In direct mode, Ana gets the reply; in shadow mode, it stays as a proposal for your team.

If Ana had written at 11 p.m. with the out-of-hours reply on, the journey would have ended at step 3 with your fixed message, without using AI. In Agent activity the first case shows as «Respondió» (“Replied”) (or «Propuso», “Proposed”) and the second also as «Respondió»: what tells them apart is the reason, «fuera de horario» (“out of hours”).

What falls outside the normal journey, ordered by what you see.

I took over the conversation and a message still went out

Section titled “I took over the conversation and a message still went out”

Conversation taken over or archived: almost silence. The agent does not write AI replies or send the out-of-hours message, but the fixed messages decided before the conversation state is checked still go out: the messages of the data-deletion request («Para eliminar TODA tu información… respondé ELIMINAR» — “To delete ALL your information… reply ELIMINAR” —, its confirmation and its cancellation; someone who is opted out only gets the final confirmation; see Verification and privacy), the privacy notice, the identity verification messages, those of the receipts-against- invoices flow (when you have the Payment proofs tool turned on and the contact is verified) and the reply to a sticker, audio or file that could not be interpreted. Also, with clinical hand-off turned on, a clinical question sends the hand-off notice and moves the conversation from Taken over to Escalated.

I took over the conversation and the order receipt was left unconfirmed

Section titled “I took over the conversation and the order receipt was left unconfirmed”

The receipt for an order is not confirmed on its own in a conversation that is taken over or archived. The customer does not get the «¡Recibimos tu comprobante!» (“We got your receipt!”) and no notification is generated: whoever took over the conversation has to handle it.

The agent replied out of hours or in a taken-over conversation

Section titled “The agent replied out of hours or in a taken-over conversation”

In private mode, and without Always require OTP, the system can recognize a contact by their number. In that same message the agent replies with AI even if it is out of hours or the conversation is taken over; from the next message on, all the checks apply.

I am in shadow mode and something went out without approval

Section titled “I am in shadow mode and something went out without approval”

What the customer gets and what your team sees

Section titled “What the customer gets and what your team sees”

Every message ends in one of these five outcomes:

What happenedWhat the customer getsWhat your team sees and where
Agent reply (direct mode)The reply, right away.The conversation in the console, already answered.
Proposal (shadow mode)Nothing yet.The proposal in the shadow queue, to approve, edit or discard before the window expires.
Fixed reply (privacy notice, verification, data deletion, out of hours, receipts)The fixed message, right away, even if you are in shadow mode.The message in the conversation thread. There is nothing to approve.
EscalationA notice that a person will help them. In shadow mode, if the hand-off was decided by the AI while writing its reply, that message also waits for approval (the conversation is already Escalated).The conversation in Escalated state and, if you have Email, push & bell notifications on, the alert to the Staff to notify. If the conversation was already escalated for an order, a new reason only alerts again when it is about an order (for example, the receipt arrived), health or a complaint.
Silence (emergency stop, conversation taken over or archived, account blocked)Nothing. With the conversation taken over or archived, a few fixed messages can go out. With the emergency stop or the account blocked nothing goes out, and a BAJA is not even recorded.The customer’s message is saved in the console, with no escalation alert: someone on your team has to answer it. With the account blocked, the agent does not reply again until you reactivate it.

In Agent activity you will also see «Silencio» (“Silence”) in normal cases: a photo or an audio that is still downloading (the agent retries on its own a few seconds later), a message the agent stopped answering because the customer wrote another one right after (it answers the newest), an escalated order waiting for your team, or a new contact already told that the quota ran out. A reaction (👍) does not show up there: it is not processed and creates no row.

Escalating does not turn the agent off. If nobody on your team takes over the conversation, the agent picks it up again when the customer writes again, or on its own after 10 minutes within your business hours. Cases in the Order category are the exception: they wait for your team. If you want the agent to stay quiet, take over the conversation (what to do when a case is escalated to you), but keep in mind that the takeover expires: after the hours without activity of Forget the conversation after hours of inactivity (48 by default; 0 = never), the customer’s next message opens a new conversation and the agent replies again.

This is what the customer gets depending on the type of message and the conversation state. The table applies to direct mode and to shadow mode: shadow mode only changes the “agent reply”, which stays as a proposal; everything else goes out the same. In private mode, a number that is not verified yet first gets the privacy notice and the verification messages, whatever it sends.

What they sentAll in orderConversation taken over or archivedAI cap used up
TextAgent reply.Nothing.Hand-off notice; the conversation becomes Escalated.
Voice noteIt is transcribed and answered as text. If it could not be heard: «No pude escuchar bien el audio 🙏 ¿Me lo escribes en texto?» (“I couldn’t hear the audio well 🙏 Can you write it to me?”). If the AI had a technical failure right on that message: «Justo ahora no pude procesar tu nota de voz 🙏 ¿Me lo escribes en texto?» (“I couldn’t process your voice note just now 🙏 Can you write it to me?”), without escalating or notifying your team.Nothing if it was transcribed; if not, the same fixed message.«Todavía no puedo escuchar audios 🙏 ¿Me lo escribís en texto?» (“I can’t listen to audios yet 🙏 Can you write it to me?”). It is not escalated.
Photo or PDFIt is read and the agent replies about the product. If it could not be read, a fixed message asking them to say it by text. If the AI had a technical failure right on that message: «Justo ahora no pude procesar tu imagen 🙏…» (“I couldn’t process your image just now 🙏…”) (or «…no pude leer el documento 🙏…» — ”…I couldn’t read the document 🙏…”), without escalating or notifying your team. If it looks like a receipt and there is a quote with no order registered, it goes to your team as Order.Nothing if it was read; if not, the same fixed message.Without text: «Por ahora no puedo recibir comprobantes por este medio. Una persona… puede ayudarte» (“For now I can’t receive receipts this way. A person… can help you”). It is not escalated. A photo with text is treated as text.
Photo, PDF or other file, with an order waiting for a receipt«¡Recibimos tu comprobante! 🙌…» (“We got your receipt! 🙌…”) and the conversation becomes Escalated.Nothing, and no alert to your team.Same as with all in order.
Photo, PDF or other file, with Payment proofs turned on and a verified contact«Recibí tu comprobante 🙌…» (“I got your receipt 🙌…”) and the question of which invoice it is for. If they have no pending invoices, it goes to your team.Same: this message does go out.Same as with all in order.
Other file (Word, Excel…) outside those two cases«Por ahora no puedo recibir comprobantes por este medio. Una persona… puede ayudarte» (“For now I can’t receive receipts this way. A person… can help you”). It is not escalated.The same message.The same message.
Video, sticker, location, contact, a button reply and any other type that is not text, a voice note, a photo or a document«¡Recibido! 🙂 Por acá te puedo ayudar mejor por texto o nota de voz.» (“Got it! 🙂 Here I can help you better by text or voice note.”) (once every 10 minutes).The same message.The same message.
Reaction (👍)Nothing.Nothing.Nothing.
  • Voice note: the first 1,500 characters of the transcription (roughly a minute and a half of speaking at a normal pace). In a longer audio the rest is lost without notice and the agent replies only about the first part.
  • Photo or PDF: up to 600 characters of what is read. A PDF over 10 MB is not read: the customer gets «No pude leer bien el documento 🙏 ¿Me cuentas en texto qué necesitas?» (“I couldn’t read the document well 🙏 Can you tell me by text what you need?”).
  • Prescriptions: in the Pet store / veterinary clinic and Pharmacy business types only what to buy is taken (product, strength, presentation and quantity) and, if it is a PDF and they can be read, the name of the doctor or veterinarian and the date; never doses, frequency, diagnosis or directions. In the other business types only product names, presentation and quantities are taken.
  • Location and buttons: a location sent as a pin is not read (the customer has to write the address), and tapping a template’s button is not interpreted as a reply.

Every agent reply generates an activity record: which checks were applied, which tools it queried, with what arguments and results, how long it took and what it decided.

You can see that record in the console: open a conversation and tap Agent activity (on mobile, it is in the three-dot menu). A list opens with the last 20 times the agent processed a message in that conversation. Each row shows:

  • the result: «Respondió» (“Replied”), «Propuso» (“Proposed”, shadow mode), «Escalada» (“Escalated”), «Bloqueado» (“Blocked”: the output check stopped the reply) or «Silencio» (“Silence”);
  • the date and time;
  • the «sombra» (“shadow”) label, if that message was processed in shadow mode;
  • on the right, three technical details: the AI model (if one was used), a «tok» count (the size of what the AI read and wrote) and how long it took, in milliseconds;
  • when you open it: the text it replied, the checks that were applied, the tools it queried with what they returned, and the reason for the decision. If there was a technical error, it shows in red at the top. Each tool’s data is shown trimmed, so a price list or a long quote may look cut off.

The steps in each row carry technical labels, mostly in English: Guard is a pre-check, LLM is the moment the AI reasons, Tool is a tool it used, Post-check is the output check. Respuesta del sistema (“System reply”) is a fixed message.

Anyone on your team with access to conversations can see it. It is a technical view, meant for diagnosis: if you cannot make sense of it, Inspow support will help you read it.

The record is kept for about 35 days (the current month is always included in full) and then deleted. It is separate from the console’s message history, which has its own retention.

WhatsApp allows free-text replies during the 24 hours after the user’s last message (each message of theirs resets the clock). Those replies are free up to 1,000 service messages a month per number; above that quota, Meta charges per message. Outside the window only Meta-approved templates can be sent, at a low per-message cost that Meta bills directly to your organization.

In practice: if your team reviews the shadow queue at a reasonable pace, the whole operation happens inside the window and without templates. You can see how much of the free quota you have used in the Service messages this month card in the statistics.

AI spending accrues in real time against the monthly budget that Inspow sets for your organization:

  • 80% → the alert goes to Inspow, not to your team.
  • 100% (with Hard stop at 100%, that is, with the budget set to stop the AI when it reaches the cap) → the AI halts; audios are not transcribed and photos are not read either. The non-AI features (verification, BAJA, confirmations) keep operating. While the cap is used up:
    • text messages go to your team with a hand-off notice;
    • voice notes and photos or PDFs without text are not escalated: the customer gets a fixed message asking them to write (audio) or telling them a person can help (photo or PDF), and the conversation does not become Escalated or generate an alert. Check the inbox while it lasts;
    • the first message from a contact the system has just recognized by their number may be left with no reply and no escalation, saved in the console.

Your plan’s conversation quota works differently. If it runs out, customers the agent already served that month keep getting AI; only new contacts go to your team: they get a notice just once and after that the agent does not reply to them. Your team does see this alert, in the console: at 80% («Ya se usó el 80 % de las conversaciones con IA del plan este mes…» — “You’ve used 80% of your plan’s AI conversations this month…”) and at 100% («Se acabaron las conversaciones con IA del plan este mes…: las conversaciones nuevas pasan a atención humana.» — “Your plan’s AI conversations for this month are used up…: new conversations go to human attention.”). The console alert appears only once per threshold and only to whoever has the console open at that moment. The account owner also gets an email at 80% and at 100%, with a link to see the plan. In the statistics those conversations show up as «El asistente no pudo responder» (“The assistant couldn’t reply”).

  • The agent does not know what is not in Inspow: if the menu is not published or an FAQ does not exist, it says so and offers to escalate — it does not fill gaps with guesses.
  • The attendance it reports is the cafeteria record (whether they claimed their service or not), not academic attendance, and it always says so.
  • Payment receipts stay pending: someone on your team approves or rejects them, same as always.
  • Orders stay awaiting confirmation until your team reviews them in Orders.