Skip to content

Documentation

Build with Engentra

Connect customer data, business events, and communication channels to build automated journeys with workflows and AI.

AI assistant

It reads every customer message, drafts a reply from your catalog and your own facts, and notes who is interested in what. A person sends the reply - or, if you allow it, the AI sends the ones it is sure of.

Owners only

Turning it on, allowing automatic replies, and setting its facts and monthly limit need the owner role. Everyone sees and uses its suggestions in the inbox.

Included and purchased credit

Plans may include a monthly AI allowance. Unused included credit expires one month after subscription activation and refreshes on each monthly anniversary, including annual subscriptions. Purchased credit carries forward without monthly expiry. Included credit is used first.

Switching paid plans does not restart the monthly credit cycle while paid access continues. An upgrade adds only the difference in included allowance. Credit already used counts toward that allowance; downgrading or switching back does not refill it. Included credit quantities are the same for a plan in every billing market.

Credit already reserved for a running AI operation remains available to settle that operation. Unused reserved included credit expires when released after its expiry date. AI can pause with a positive balance if there is not enough available credit for the next operation's reservation. Billing shows the balances, expiry date and low-credit warnings. Credits do not represent a guaranteed number of replies.

What it does with each message

  • Reads it - what the customer wants (asking the price, wants to buy, a complaint…), shown as a small label under the message, and which catalog products they mean.
  • Remembers interest - a question about a product records a product.interest event, which can start a workflow (“asked about it, no sale in a day”), and tags the customer interested: blue ankara dress, which a campaign can target.
  • Suggests a reply above the reply box: Send, Edit, or Dismiss. A burst of quick messages is answered once, from the last.

What it may say

Prices, sizes and stock come only from the catalog; delivery, payment, returns and hours from the business facts and published knowledge in Settings → AI assistant. The model is instructed not to invent facts. Review its suggestions; model grounding is not an independent factual verification.

Sending without a person

Business knowledge and customer orders

Settings → AI assistant now includes Business knowledge. Owners can create, edit, publish, withdraw (clear Published and save), or delete FAQs and policies. Members can read entries and preview published sources. Each save increments a version; conflicting edits require a reload.

When AI is enabled, Engentra sends up to three matching published entries, the current customer's three most recent orders and the name on their record to the AI provider, alongside the existing catalog and facts. Other customers' records, private notes and credentials are excluded.

A reply that used a knowledge entry waits for staff approval, even when automatic replies are enabled - unless an owner marked every entry it used Send without review. Mark only answers you would be happy to see sent exactly as written, like a returns policy or opening hours; one unmarked entry in the same reply still holds it. Open Retrieved context beside the suggestion to review the snapshots, knowledge versions and timestamps. These are retrieved sources, not verified citations. Editing or withdrawing knowledge affects future drafts; existing snapshots remain until customer erasure or message retention clears them.

“Where is my order?”

The assistant sees the customer's orders however they were made: from Shopify, the WooCommerce plugin, your own system through order events - under Engentra's names or your own, mapped in Settings → AI assistant → Your order events - or a sale marked in the inbox. For each of the three most recent it gets the order number, when it was placed, the total, the latest stage - placed, shipped, delivered or cancelled - and the carrier, tracking number and tracking link when they were given.

For a sale made in chat, open Sold in the conversation and use Mark shipped (tracking optional) and Mark delivered. Without them the assistant can only say the order was placed.

  • It reports what was recorded, not a live check with the carrier, and never invents a delivery date.
  • It only ever looks up the customer who is writing. An order number typed into the chat is never searched for, because it proves nothing about who typed it.
  • When it can see no order, it says so for this chat and hands the conversation to a person rather than telling the customer they have no order. Somebody who bought on WhatsApp and asks on Instagram is one example: merging the two records fixes it, and with linking by one-time code on, the assistant sends them a WhatsApp link that lets them prove it themselves.
  • An order on its own does not hold a reply back for approval; only a knowledge entry does.

Knowledge limits and API

A workspace can store 100 entries. Titles allow 160 characters and answers 4000 characters. The preview accepts a question of up to 1000 characters and returns up to three published entries using matching words. It is not semantic search or a generated answer. Draft entries never appear in preview results. Include the words customers use in your questions and answers.

Saving takes title, body, published, version and optionally autoSend, which is off for a new entry and left as it was when a save leaves it out. Owners only.

GET /v1/ai/knowledge
GET /v1/ai/knowledge/preview?question=delivery
PUT /v1/ai/knowledge/{id}
DELETE /v1/ai/knowledge/{id}?version=1

// PUT: use a new UUID and version 0 to create.
// Editing requires the version returned by GET.
{
  "title": "Delivery areas",
  "body": "We deliver within Lagos.",
  "published": true,
  "version": 0,
  "autoSend": false
}

These endpoints require a dashboard session. Only owners can write or delete entries; API keys cannot access them. Workspace isolation applies to reads, previews, and changes.

Automatic replies

Off unless an owner turns on automatic replies, and even then a reply goes out only when all of these hold:

  • the model reports it is grounded in the catalog, facts and orders, and any business knowledge it used is marked Send without review;
  • the AI is as sure of what was asked as your level requires (below), and it is not a request for a person or an opt-out; complaints and negative feedback can be answered or clarified;
  • nobody is handling the conversation (“I'm handling this” stops it);
  • the customer wrote within the last 24 hours - WhatsApp's reply window.

Factual answers must pass source verification. If a draft cannot be sent automatically, the customer receives safe feedback while the draft remains available for review. Messages it sent are marked AI in the thread.

A complaint or negative feedback alone does not trigger human handoff. The assistant can ask a useful question, answer from approved information, and offer a relevant case type when one is available in this workspace. A customer confirms an offer before intake starts. Without eligible case types, normal conversation continues.

How sure it must be. With automatic replies on, an owner picks a level in Settings → AI assistant:

  • Careful (85% sure) - sends only when the AI is very sure what the customer asked; more messages wait for your team. For a new setup, high-value items, or while you are still checking your facts.
  • Balanced (70%, the default) - sends clear everyday questions about price, stock, delivery and payment; unclear ones wait. Our advice for most businesses.
  • Relaxed (60%) - also sends when the AI is only fairly sure what was asked. Fastest, with the most chance of answering the wrong question. Only once your facts are complete and you have watched it answer well for a while.

The level is how sure the AI must be of the question, never of the answer: at every level the answer must come entirely from your catalog, facts and knowledge, so no level lets it invent a price, an account number or a delivery date. Start on Balanced, read what it sends for a week, and move only if it holds back answers you would have sent, or sends ones you would not. Workspaces that had automatic replies before levels existed were left on Relaxed, the bar they were already running on.

PUT /v1/ai/settings
{ "autoReply": true, "autoReplyLevel": "balanced" }

Greetings are the exception. A message that is only a hello, thanks or goodbye is answered straight away, even with automatic replies off - a reply to a hello states nothing about prices, stock or policies, so it needs no review. The AI must be sure it is only a greeting (“Hi, where is my order?” is not), nobody may be handling the conversation, and the reply stays short. On by default on plans with automatic replies; an owner can turn off Answer greetings without a person.

In workflows

The assistant can also work inside a workflow: a step can have it write a message for each customer from a brief you give it, or hand it the conversation for a while, towards a goal you set, until the customer orders, needs a person, or the time runs out. The same rules apply there as here.

While a customer waits for a person

When somebody asks for a person, needs a staff-only decision, or asks something the assistant cannot answer after clarification, the conversation waits for your team, and the team is alerted. So that the customer is not left in silence:

  • During opening hours, straight away, the AI's holding reply goes out - “Hi Victor, we're checking with the team on that and will update you as soon as we hear back.” It answers nothing, so it needs no approval, and it is sent only when it states no number, date, link or address: it cannot quote a price, an account or a refund date. A holding reply that does not pass waits for approval as before. On by default on plans with automatic replies; an owner can turn off Tell them at once that the team will follow up. It works with automatic replies off.

Otherwise, Engentra sends one short message of its own - fixed wording, never written by the AI:

  • Outside your opening hours, straight away: “Thanks, Victor! Our team is away right now and will reply when we're back on Monday at 09:00. If you can, tell us a bit more here so we can help faster.”
  • During them, if no holding reply went out and nobody on the team has replied after 15 minutes (or the time you choose): “Thanks, Victor - we've got your message and someone from the team will reply shortly.”

One per conversation until your team replies, never while somebody is handling the conversation, and not for a reply that is only waiting because it used business knowledge. The suggested reply and the alert stay as they were. Set opening hours, the timezone and the wait in Settings → AI assistant; with no opening hours set, Engentra treats you as always open. Owners only.

PUT /v1/ai/settings
{
  "openingHours": { "mon": { "open": "09:00", "close": "19:00" }, "sat": { "open": "10:00", "close": "16:00" } },
  "timezone": "Africa/Lagos",
  "acknowledgeAfterMinutes": 15,
  "holdAutomatically": true
}

A day left out is closed; {} clears the hours. acknowledgeAfterMinutes is 5 to 240, or 0 for off.

Teaching it what it doesn't know

The assistant answers only from what you have written down - your facts, catalog and knowledge - and never guesses: an invented account number is far worse than a short wait. So when a customer asks something you have not written down, it hands them to your team. Two things turn those handoffs into answers:

  • Save the answer from the inbox. Once someone on your team has answered a question the AI couldn't, the conversation offers to keep it: Teach the AI this answer, with your team's reply filled in. Save it and the next customer who asks is answered at once. Owners see this.
  • Questions it couldn't answer. Settings → AI assistant lists the last 30 days of them, grouped by what was missing - “Other payment accounts: 7 customers” - most customers first, each with a few of their questions. Add answer writes it down once for all of them; Dismiss takes off one you will not answer for everyone.

Either way the answer becomes a published knowledge entry, titled with the customer's own question because the AI finds knowledge by the words in it. Send without review is ticked by default - you wrote the answer, so a reply that uses it needs nobody to read it again. Complaints and requests for a person are never listed: they are not gaps in what you wrote.

The topic is the AI's own short name for what was missing, about your business and never the customer. It is cleared with the rest of the AI's record when message text expires or the customer is erased.

What it reads

To write a reply, the assistant reads the customer's last 7 days on every channel they use with you - up to 30 messages, each labelled with its channel and time - so “I asked for something yesterday” can be answered when yesterday was on Instagram. Deciding what a message is about reads only the latest messages in that conversation.

Replies use the customer's first name when the name on their record reads as a person's - usually the name they set on WhatsApp - in a greeting and now and then after, never in every message. With no name, or one that is not a person's, it uses none, and it never guesses.

When somebody asks for a person, needs a staff-only decision, or asks something the assistant cannot answer after clarification, it also raises a workspace alert that opens the conversation - delivered in the dashboard, or by email or WhatsApp if an owner chose that. One per conversation per day, and never with the customer's words in it.

Interrupted processing and pauses

Interrupted AI work expires after 30 minutes. Interrupted message processing is marked failed, not silently retried: a send may already have reached the customer. A late result from an expired call is rejected. Review the conversation before answering manually.

The assistant may pause when a workspace limit or safety check is reached. The reason appears in AI settings. An owner should review the cause before resuming it.

Through the API

FieldTypeNotes
GET /v1/ai/settingsany memberSwitches, facts, tone, the pause reason, and local languages on file for the market.
PUT /v1/ai/settingsownerenabled, autoReply, tone, facts, localLanguageEnabled - only what is sent changes.
POST /v1/ai/settings/resumeownerLifts a pause.
GET /v1/conversations/{id}/suggestionany memberThe reply waiting for a person; 204 when none.
POST /v1/ai/suggestions/{id}/sendany memberSends it, optionally with edited text; it goes out as that person’s.
POST /v1/conversations/{id}/summaryany memberThree lines on the conversation for whoever picks it up.
GET /v1/ai/gapsany memberQuestions the AI could not answer in the last 30 days, by topic: customers, times, and up to three of their questions.
GET /v1/conversations/{id}/knowledge-gapany memberA question here the AI could not answer that the team has since answered, with that answer; 204 when none.
POST /v1/ai/gaps/answerownertopic or suggestionId, title, body, autoSend: saves published knowledge and takes the topic off the list.
POST /v1/ai/gaps/dismissownertopic or suggestionId: off the list without an answer.
GET /v1/ai/order-eventsany memberYour own event names read as orders, and their fields.
PUT /v1/ai/order-eventsownerReplaces them - see Events, Your own names for orders.

PUT /v1/ai/settings

{
  "enabled": true,
  "autoReply": false,
  "facts": "We deliver in Lagos for N2,000 (1-2 days). Pay by transfer or on delivery.",
  "localLanguageEnabled": true
}

localLanguageEnabled tells the AI to read and reply in the languages customers write in where the workspace is based - Pidgin, Yoruba, Igbo and Hausa in Nigeria. It is the switch under AI › What it may say in the dashboard.

There are two gates and the business controls only one of them. The market has to have languages on file, which today means Nigeria and nowhere else, and the switch has to be on. GET /v1/ai/settings answers both: localLanguages is the market’s phrase, or null where it has none - in which case the switch does nothing either way, and the dashboard says so rather than offering a setting with no effect.

Next

Catalog →

What the AI answers prices and stock from.