Help Center › Features and settings

Let the AI look things up in your systems

Connect your order, shipping or membership endpoints. When a visitor asks, the AI looks it up and answers with the result. Read-only, with an identity check before every lookup.

4 min read · Updated 2026-12-01

The knowledge base answers questions that are the same for everyone, like "How long does shipping take?" or "How do I return an item?". Questions like "Has my order shipped?" or "How many points do I have?" need a lookup in your own system.

Add an endpoint under AI → Business lookups and the AI will handle these questions: it asks the visitor for what it needs (for example the order number and order email), calls your endpoint, then explains the result in the visitor's language. If nothing is found or the endpoint fails, the AI says it can't check right now and hands over to an agent according to your rules.

Actions are read-only. The AI never refunds, cancels or changes an address; those requests go to an agent as usual.

1. Create an action

Open AI → Business lookups and start from one of three templates:

TemplateVisitor providesCheck
Order statusOrder number, order emailResult only if both match
Shipping statusOrder number, delivery phoneResult only if both match
Member points & balanceNothingSigned-in members only, for their own account

Or start from scratch. Each action has:

  • Name and When to use: one sentence for the AI, such as "When the visitor asks about order status, shipping or delivery time".
  • Details from the visitor: each has a label (Order number), a parameter name (order_no), a type (order number, email, phone, number or text) and whether it's required. The AI asks for everything that's missing in one message.
  • Where to look up: the endpoint URL. Parameters can go in the URL, for example https://api.example.com/orders/{order_no}. Other parameters go in the query string for GET or in a JSON body for POST.
  • Headers: usually Authorization: Bearer your-key. Header values are stored encrypted and only the last 4 characters are shown after saving.

2. Run a test lookup and pick fields for the AI

Enter real values and click Test. Every field in the response is listed with a sample value. Tick only what answers need, such as order status, carrier and tracking number. Unticked fields (delivery address, internal notes) are never sent to the AI. You can give each ticked field a name for the AI.

3. Choose an identity check

CheckUse forHow it works
No checkPublic info like stock, stores or opening hoursNone
Verify visitor detailsOrders and shipping by order numberThe email or phone the visitor gives must match the record your endpoint returns. MeaiChat's server compares them; if they don't match, the AI never sees the result and asks the visitor to check
Signed-in members onlyPoints, balance, membership tierSet up Member identity on your site first. The verified member ID is added automatically (use {member_id} in the URL). Guests are asked to sign in

Emails are compared without case, and phone numbers by digits only (with or without the country code).

4. Test it like a visitor

After saving, go to AI → Answer rules → Test chat and ask something like "Has order A1001 shipped? My email is li@example.com". You'll see which action ran, what it found and how the AI answered. If you have a signed-in-members-only action, you can enter a test member ID.

What agents and admins see

  • Visitors see "Looking that up…" in the chat while the lookup runs.
  • In the agent desk, the AI's reply shows "AI lookup: Check order". Click it to see what the visitor provided (emails and phone numbers masked) and what the AI saw.
  • The Business lookups page shows lookups and found rate for the last 7 days, and the last 50 lookups.
  • The AI report shows lookups, found rate and how many answers were resolved without an agent, with Excel export.

Safety rules

  • Each visitor can look up at most 10 times an hour. After 5 failed checks, lookups are locked for 1 hour.
  • An endpoint that doesn't respond within 8 seconds counts as an error. After 3 errors in a row on the same action, admins are alerted.
  • Endpoint URLs must be public https addresses, never your server's private network.
  • Results are seen only by the AI and agents, never added to the knowledge base, and cleared after 30 days. Lookup records are kept for 180 days.
  • Erasing a visitor's data also erases their lookup records.

Selling on Shopify

Self-hosted MeaiChat can connect to Shopify directly: on the Business lookups page click Connect Shopify and enter your store address and a custom app's Admin API token (scopes read_orders read_customers read_products read_inventory read_fulfillments). Three actions appear automatically, Check order, My orders and Check product, with no endpoint to write. The agent desk side panel also shows each customer's store orders.

Still stuck? Email us at support@meaichats.com