Connect an AI Agent to PrestaShop: Catalogue, Orders and Support
· CompaniesAutomation
PrestaShop is self-hosted, and that changes what you can automate. Catalogue, order operations and support with agents: what it costs and where to start.
Connecting AI to PrestaShop means putting an agent to work on the three areas where an online store loses money every day: the catalogue nobody has time to maintain, the orders that stall in an intermediate status, and the customer questions answered twelve hours late. Unlike closed platforms, PrestaShop is yours — code, database and server — and that changes both what you can automate and what guarantees you get.
It's the platform with the largest footprint among European SMB storefronts, and also the one with the least automation deployed, precisely because it is self-hosted: there is no "enable AI" button in an app panel. The upside is full access to your own data, with no third party deciding what an agent is allowed to read. This article closes our ecommerce series; for the platform-agnostic overview, start with AI agents for ecommerce.
How does an agent technically connect to PrestaShop?
Through the webservice the platform ships with. PrestaShop exposes a native REST API you enable from the back office, with keys granted permissions resource by resource: products, orders, customers, stock, carriers. That's the right route, and the one to demand from any vendor.
The agent reads and writes through that API exactly as a human integrator would, respecting the store's business logic. The alternative — connecting straight to the MySQL database — is faster to build and a guaranteed source of trouble: you bypass validations, the hooks of whatever modules you have installed, and the cache, and the first PrestaShop upgrade breaks the integration.
Two settings are worth deciding at the start of the project. First, least-privilege keys: the catalogue agent doesn't need to read customer data, and the support agent doesn't need to modify prices. Second, propose mode before write mode: for the first weeks the agent generates changes a person bulk-approves; once accuracy is demonstrated, automatic writes open up by action type and with thresholds.
If your store runs modules that alter standard behaviour — and nearly all do — that module inventory is part of discovery. A customer-specific pricing module or multi-warehouse stock module completely changes what "update a product" means.
Catalogue: the work that never gets done
This is the highest immediate-return use case in almost every store, because the catalogue is the first thing abandoned when the team is stretched. A catalogue agent does four things.
Writes and improves product pages. From supplier data — name, reference, technical attributes, images — it generates the short description, long description, meta title and meta description in your store's structure and tone. In a 2,000-SKU catalogue where half have no description, this is the difference between being indexed and not.
Normalizes attributes and categories. Recognising that "Colour: Navy blue", "navy blue" and "NAVY BLUE" are the same value, unifying units of measure, and proposing the right category for misfiled products. It's hours of human work nobody prioritizes, and it quietly ruins your faceted navigation.
Watches for gaps and errors. Active products with no image, no price, no defined stock, duplicate descriptions across references, or identical meta titles. The agent returns the list prioritized by revenue potential, not alphabetically.
Translates the catalogue. If you sell in several languages, keeping translations current is a recurring task that automates well — with one caveat: translations get reviewed before publishing on the 50-100 references that drive most sales. In the long tail, the risk of an occasional error is acceptable against the cost of not translating at all.
Orders and post-sales: where the hours go
The second block is operational and less glamorous, but usually saves more hours. PrestaShop's order status sequence — payment accepted, preparation in progress, shipped, delivered — is exactly the kind of rule-driven flow an agent supervises well.
- Stalled orders. Detect those sitting more than X hours in a status that should be transitional and alert the right person, with the likely cause already investigated (out of stock, payment pending confirmation, incomplete address).
- Shipping exceptions. Cross carrier status against order status, identify failed deliveries or delays, and notify the customer before they ask. This single change visibly reduces "where is my order?" tickets, which in many stores are half of total support volume.
- Returns. Receive the request, check it's within the window and the product is eligible, generate the label and update the status. Standard returns resolve themselves; the ones needing judgment — used product, out of window, difficult customer — go to a person with the history already summarized.
- Replenishment. Flag when a fast-moving reference is about to stock out, forecasting from recent weeks' sales and the supplier's lead time. It doesn't buy for you; it warns you in time.
Customer service: what to automate and what not to
A support agent connected to PrestaShop answers with real data rather than generalities: it looks up that customer's specific order, their history and current stock. That's the difference between a useful assistant and a chatbot that frustrates.
It works well in pre-sales (sizing, compatibility, lead times, comparing two references), order tracking and standard returns. And the line has to be drawn clearly: don't automate financial claims, angry customers, or exceptions to your policy. Detecting and escalating them instantly with a summarized context, yes; resolving them automatically, no. We develop this in our guide to automating customer service with AI agents.
One legal detail worth not skipping: if the assistant converses with customers, it must be identified as an AI system. That's a transparency requirement under the European framework, and in practice it's also better business — what generates rejection isn't talking to an AI, it's discovering the hard way that "Laura from customer service" never existed.
What it costs and where to start
| Scope | What it covers | Timeline | Indicative cost |
|---|---|---|---|
| Catalogue | Generating and improving product pages, normalization, gap detection | 3-5 weeks | €3,000-8,000 |
| Order operations | Stalled orders, shipping exceptions, proactive notifications | 4-6 weeks | €5,000-12,000 |
| Customer service | Pre-sales, tracking, standard returns, escalation | 5-8 weeks | €6,000-15,000 |
| Basic FAQ chatbot | Answers over static content, no order access | 1-2 weeks | €1,500-3,000 |
On top of the above, add model consumption — for a mid-volume store, tens to a few hundred euros a month — and 10-20% annual maintenance. The practical recommendation: start with the catalogue if your problem is not selling enough, and with operations if your problem is not keeping up. Those are different diagnoses and they lead to different projects.
Five mistakes we see in PrestaShop integrations
- Writing straight to the database. It works in the demo and breaks at the first upgrade, or the first module that depends on a hook.
- One API key with every permission. When something goes wrong, you won't know which process did it. One key per agent, least privilege.
- Publishing unreviewed generated content on hero products. Automate the long tail with confidence; on the references carrying your revenue, always review.
- Ignoring performance. PrestaShop is self-hosted: an agent hammering the API in a loop can take the store down on a Friday afternoon. Control it with rate limits and off-peak execution windows.
- Forgetting GDPR. If the agent touches customer data, that processing belongs in your record of processing activities, with its legal basis and retention period. It isn't optional, and it takes an afternoon if you handle it up front.
If you also sell in physical stores, the natural next step is unifying catalogue and stock across channels — we cover it in our article on AI agents in retail. And if you'd rather scope the project with a team that integrates stores every week, that's how we work from our AI agency in Madrid.
Frequently asked questions
Does it work with my PrestaShop version?
The webservice has existed for many versions, so on 1.7 and the 8.x branches the route is the same, with differences in which resources are exposed. On very old or heavily customized installations, discovery has to check what your store actually exposes before committing to scope. It's the first check in any serious proposal.
Do I need to install a module in the store?
Not necessarily. Many integrations run purely on the webservice with the right keys and install nothing. A custom module is justified when you want the agent to appear inside the back office or you need to react to specific hooks in real time; the less custom code you put in the store, the less upgrades will hurt.
Can the agent change prices automatically?
Technically yes, and this is where we recommend most caution. The healthy pattern is the agent proposing changes with its justification (competition, margin, turnover) and a person approving — at least until you have months of track record. Prices hit margin directly, and an automated error propagates across the whole catalogue before anyone notices.
What if my store runs on modest shared hosting?
Perfectly viable, because the agent doesn't run on your server: it lives outside and talks to the store over the API. The only thing to size is call frequency so you don't saturate the host. In practice, shared-hosting stores with catalogues of thousands of references run fine on overnight execution windows.
How long until results show?
On the catalogue, week one: you'll see product pages completed and issues flagged. On customer service, first-response time improves from day one, but the metric that matters — share of queries resolved without human intervention — needs 4-6 weeks of data to read seriously. Which is why it pays to measure the baseline before you start.