Magento
Set up an AI agent for Magento that looks up orders, payments, tracking and stock live, and answers customers on your storefront, in your helpdesk and in Slack.
eesel's AI agent for Magento is an AI chatbot and assistant for your Magento 2 store. It looks up orders, payments, shipments and stock live, and answers customers in your storefront chat, your helpdesk or Slack.
Your AI teammate is a commerce teammate in Magento. It helps you run your store and answers every customer question. It looks up orders, payments, shipments and tracking numbers, and checks whether an item is in stock. Those lookups happen live, at the moment they are asked.

Set up eesel in Magento
Ask your agent to connect Magento
Open the chat in your dashboard and ask it to connect Magento. It needs your store base URL and four values from your Magento Admin. It asks for the store URL first. The four values go into a private form, never into the chat.

Create the integration in Magento Admin
The four values come from an integration you create once in Magento. In Magento Admin open System, then under Extensions choose Integrations, and click Add New Integration. Give it a name, leave both URL fields blank, set the API resource access, then save. Back on the Integrations list, click Activate, then Allow. Magento shows the four values, masked, on a pop-up you close with Done. Copy all four before you close it, and leave the eesel chat open throughout.
A person signs in and does this in Magento Admin. Every screen, and what each resource permission is for, is on Set up Magento.
Paste the values into the secure form
Back in the chat, give your agent the store URL. A form opens with one field for each of the four values.

Paste each value in and click Save securely. The values go straight to eesel, never into the chat, and the form expires in 30 minutes.

Confirm the connection
Your agent finishes the connection and tells you the store is live. Ask it to read a few of your real orders back. If it cannot read anything, the values or the store URL are wrong, so see Troubleshooting below.

Check it worked. Magento appears in the left sidebar with your store URL. From a terminal, eesel status shows the integration as connected with its source counts.
Check what it can read
Open Integrations > Magento. It shows Connected with your store URL and buttons to start a chat. Below sit a Sources section and an Actions section split into Read and Write groups.

The Products source holds your catalogue. Orders and Customers rows appear when your Magento integration is allowed to read them, and you can switch them on to copy them in. The lookup actions read the store live either way.
Put it to work in Slack
Connecting alone does not start your agent. It needs an automation first.
Ask in the dashboard chat to turn on the Slack mention automation. See Automations and schedules. A teammate can then ask about any order. Your agent answers in the thread with the customer, items, order status, payment, shipment tracking and current stock.

Put it on your storefront
The chat bubble puts the same answers in front of shoppers. A fresh chat opens with your welcome message and a few starter questions.

Ask about stock, and your agent answers with availability and price from the live store.

Magento needs a different snippet. Magento loads RequireJS, which sets define.amd. While that is set, the plain snippet from the Chat Bubble page never draws the bubble, and no error appears. Use the version below. It clears define.amd while the eesel loader runs, then puts it back for Magento's own scripts.
In Magento Admin open Content > Design > Configuration and click Edit on the store view you want the bubble on. Paste the snippet below into the Footer section's Miscellaneous HTML field. Replace YOUR_TRIGGER_ID with the trigger id shown beside the snippet on your eesel Chat Bubble page.
Hand a shopper to your team
When a shopper asks for a person, your agent can take their details and open a ticket in your helpdesk. Tell it how in the dashboard chat, for example: "When a shopper asks to speak to a person, ask for their name and email, create a ticket in our helpdesk with a summary of the chat, and tell them our team will follow up." It writes the rules into its instructions. The ticket then lands in your helpdesk under the shopper's email. See the handover walkthrough on Chat Bubble.
Sources, triggers and actions
Sources
Sources are what your agent can search in your store.
Products
Your catalogue, with SKUs, pricing, descriptions and variants
Orders
Your orders. Shown only when the integration can read orders
Customers
Your customer records. Shown only when the integration can read customers
A copied order or customer record is a snapshot. Your agent still looks the live record up before it quotes it or acts on it.
Magento does not hand over written content such as a returns policy, a delivery promise or an FAQ. Connect your website so your agent reads your storefront and policy pages, or upload the documents. See Integrations.
Triggers
Magento has no triggers. Nothing in your store starts an agent run. The trigger comes from a helpdesk like Zendesk, Gorgias or Freshdesk, a Slack mention, or the chat bubble. Your agent uses its Magento actions while it handles that conversation. The trigger event is fixed when the automation is created. So a new automation is required for each different trigger event.
Actions
Actions are what your agent can do in your store:
Read
Get Order by ID
Pulls the full details of one order number
Get Orders by Email
Finds every order placed under one email address
Get Order Tracking
Shipment status and tracking numbers for an order
Get Payment Status
The payment method, whether it cleared, and any balance due
Search Products
Finds products in your catalogue by name or SKU
Get Product
Full details of one product from its SKU
Check Stock Status
Stock quantity, in-stock flag and backorder policy for one SKU
Write
Refund Order
Refunds a money amount, specific items, or everything still outstanding on the order, recorded as a credit memo. Only an order paid by an offline method (check, bank transfer, cash on delivery) can be refunded here; a card or other online-gateway order is refused, because that refund has to be issued by a person in the Magento admin to reach the customer's account
Cancel Order
Cancels an order that has not shipped
Hold Order
Pauses fulfilment without cancelling. Useful while someone checks a fraud flag or a bad address
Unhold Order
Releases a hold so the order carries on
Send Order Notice
Sends the customer a notice about an order: an order update, a shipping update, or a payment reminder
You stay in control the whole way. Adjust your AI agent's access to knowledge and its action permissions to your liking. See Actions and Approvals.
Two limits:
Orders. An order is found by its exact order number, or by the email address on it. There is no free-text order search, and no lookup by customer name, phone number, date or status. Magento matches an order number letter for letter, so a mistyped number finds nothing.
Stock. A stock check reads one product at a time and needs that product's exact SKU. Your agent takes the SKU off an order, or finds it by searching the catalogue for the product name.
Limitations
No Magento triggers. Nothing in your store starts your agent. A helpdesk ticket, a Slack mention or the chat bubble does.
Orders are found by exact order number or email. There is no free-text order search, and no lookup by name, phone number, date or status.
Stock is checked one SKU at a time.
Refunds only on offline payments. Your agent refunds orders paid by check, bank transfer or cash on delivery. A card or other online-gateway refund has to be issued by a person in the Magento admin.
No written content from Magento. Returns policies, delivery promises and FAQs come from your website or uploaded documents.
The chat bubble needs the wrapped snippet shown above, because Magento's RequireJS stops the plain one from appearing.
Magento sets the ceiling. The API resource access you grant the Magento integration is the most your agent can reach. Grant read-only access and it can look things up but never change an order. Set up Magento lists what each resource is for.
Magento 2 only. The setup screens and the four-value connection are Magento 2's.
Troubleshooting
FAQ
Related pages
E-commerce Sales Rep for the job your agent does on a store
Set up Magento for the full Magento Admin walkthrough
Chat Bubble for putting your agent on the storefront
Actions and Approvals for choosing what your agent may do
Integrations overview for how sources, triggers and actions fit together
Last updated