Have any questions? Call us:

How to build a practical AI stack for ecommerce

Today, companies can build their own applications faster than ever before. However, that doesn’t mean they should reinvent the systems that manage pricing, orders, or inventory. The best results come from combining mature SaaS platforms with automation, AI agents, and lightweight tools tailored to the way teams work.

That’s exactly what we explore in our joint article with the Zynq Pro team, where we show how to bring all these elements together into one cohesive business operating system.

 

Core thesis  The greatest value of AI tools lies in the ability to quickly build the missing pieces between existing systems. Your own application should complement the company’s operating system, not try to replace it.

Discover all the features of our platform during a free online demo.

We don’t need yet another system that does everything

Discussions about AI in business often start with the question of which existing tool could be replaced. Will ChatGPT replace the ERP? Will an app built in Lovable replace order handling? Will a script written by a language model let us drop the price monitoring platform?

Technically, you can recreate a surprising amount today. In a few hours you can put together a form, a dashboard, a calculator, a simple product database or an order review panel. The first version often looks convincing because it handles the typical scenario shown in the demo well.

The real cost appears later. Who will fix the integration after an API change? Who will check edge cases, secure the data, implement permissions and make sure the same operation isn’t executed twice? In systems that affect prices, money or physical goods, these questions matter more than how fast you can build a prototype.

The better question is: how do we use the new tools to connect the systems we already have, and to eliminate the manual work done between them?

It’s precisely between systems that employees still copy data into spreadsheets, paste numbers between tabs, prepare reports and try to figure out why a specific product’s sales dropped. That is the right place for agents and small, custom tools.

The four layers of a practical AI stack

A practical stack — a set of tools that work together — can be split into four layers. Each solves a different problem. Trouble starts when you try to hand all the tasks to a single layer.

Table 1  How responsibilities are divided between tools

LayerWhat it ownsExample toolsThe most important rule
Source systemsStore reliable data and perform critical operationsZYNQ, Dealavo, GA4, marketplaces, accounting systemDesignate a single source of truth for each type of data
AutomationMoves data and runs well-defined process stepsn8n, Make, Zapier, webhooks, native automationsDon’t add AI where a plain rule is enough
AI agentCombines context, analyzes exceptions and prepares recommendationsChatGPT, Claude, Gemini or an agent embedded in an appThe agent uses source data and operates within defined boundaries
Custom interfaceAdapts how systems work to a specific teamLovable, Bolt, Replit, Retool or a custom appBuild a small tool for one process, not a second core system

Source systems

A source system stores the data on which the company actually operates. In ecommerce this includes orders, inventory, prices, payments, documents and competitor data.

In our example, ZYNQ provides information about products, orders, inventory, shipments and documents. Dealavo monitors the market and runs controlled repricing. GA4 shows traffic and conversion. The agent should not guess any of these values or create an alternative copy of them without a clear need.

Automation

Automation is responsible for moving data and running predictable processes. If a rule can be written as a clear instruction, a classic workflow will usually be cheaper and easier to control than an agent.

  • When an order status changes, send a message to the customer.
  • Every morning, pull the sales report and save it to a defined location.
  • When stock falls below a defined level, create an alert.
  • After a recommendation is approved, push the new price to the system.
  • Log the result of every operation and notify the process owner on error.

AI agent

An agent is useful where a simple rule is not enough. It can combine information from several systems, spot an unusual relationship, summarize the situation and propose the next action. However, it should rely on data coming from the right systems, not on its own memory or random search results.

In processes that affect margin, inventory or the customer, you need limits and approvals. A human sets the goal, the agent analyzes the situation, automation moves the data and the specialized SaaS executes the operation.

Custom applications

Rapid app-building platforms work well as the last layer of the system. You can use them to build an approval screen for recommendations, a margin calculator, a department-specific report, a supplier portal or an inventory analysis tool.

The problem starts when such a panel gradually turns into a new ERP. First it only displays data, then it starts to edit it, then it stores its own statuses. After a while the team no longer knows which system holds the true information.

How to match the tool to the task

Choosing a tool should start from the type of responsibility. The higher the cost of an error and the more dependencies involved, the stronger the case for a mature system.

Table 2  Quick decision matrix

NeedBest starting pointWhy
Form, calculator or custom viewLightweight appSmall scope and easy to verify the result
Regular data movementAutomation workflowThe process has a clear start, conditions and result
Context analysis and recommendationAI agentYou need to combine information and interpret it
Prices, orders, inventory, payments or documentsMature SaaSErrors have a direct cost and the process requires continuity
The company’s unique way of workingCustom layer on top of SaaSThe company builds its edge without rebuilding the infrastructure

Build the pieces that come from the company’s unique way of working. Hand standard and critical processes over to mature systems.

An operational example with slow-moving stock

Dealavo graphic: Operational example with slow-moving stock — a product has barely sold for 90 days. In a well-designed stack every step of the process has its own owner. Five steps: ZYNQ provides stock level, cost, order history and sales velocity; Dealavo shows the price position, competitor availability and the safe repricing range; GA4 provides traffic and conversion data, while n8n or Make collects signals on a schedule and triggers the analysis; the AI agent combines the information and prepares a recommendation with its reasoning; a lightweight app shows the manager the proposed change, and once approved, the pricing system executes it within set limits. Next to it, the agent recommendation card: 120 units of product X are left in stock, 4 units were sold in the last 30 days, the price is 12 percent above the market median, and the minimum margin allows a price cut of up to 9 percent; the proposal is to test a new price for 14 days, and the change requires approval. Conclusion: what matters is where the data comes from, how the limit was calculated and which system executes the change safely.

Suppose a product has barely sold in the last 90 days. The manager has to check inventory, cost, sales, GA4 data and competitor prices, then calculate a discount, change the price and come back to the result.

In a well-designed stack, every element of the process has its own owner:

  • ZYNQ provides stock level, cost, order history and sales velocity, and later shows the impact of the decision on inventory rotation.
  • Dealavo shows the pricing landscape, competitor availability and a safe repricing range.
  • GA4 provides traffic and conversion data; n8n or Make periodically collects the needed signals and triggers the analysis.
  • The AI agent combines the information and prepares a recommendation together with its reasoning.
  • A lightweight app shows the manager the proposed change, and once approved, the proper pricing system executes it within the defined boundaries.

120 units of product X are left in stock. In the last 30 days 4 units were sold. The price is 12 percent above the market median, and the minimum margin allows a reduction of 9 percent. I suggest testing a new price for 14 days. The change requires approval.

What matters is not just that the agent produced a recommendation. The data lineage, how the limit was computed, and the system that will safely apply the change — those are what count.

Rules that should stay out of the prompt

Language models are good at interpreting ambiguous information. They should not be the only mechanism responsible for rules the company must always enforce. The following should stay out of the prompt:

  • minimum acceptable margin and maximum discount
  • tax rules and document issuing
  • available-stock checks
  • user and agent permission limits
  • unambiguous conditions for status changes
  • protection against running the same operation twice
  • limits on the number and value of changes within a given time window

A prompt can help pick a strategy and explain the decision. If a rule must be strictly enforced, it should run as a deterministic rule in the system.

The most common mistakes when building custom tools

Too broad a scope for the first version

A first successful prototype tempts you to pile on features. A calculator becomes a panel, the panel becomes an order system, and the order system becomes a homegrown ERP. The first rollout should solve one problem for a specific group of users.

No single source of truth

If stock, price or status is stored in several places, differences will show up sooner or later. For every type of data you need to designate a master system.

Granting write access too early

The agent should start by reading data and preparing recommendations. The right to perform limited operations should be granted only after you’ve verified the quality of its work.

Automating a disorganized process

If the team cannot describe the rules of the process, AI will just reproduce its ambiguities. First establish roles, conditions and the expected outcome.

No owner and no action history

Every small tool needs an owner. The company should also know what data the agent used, who approved the recommendation, what was executed and what the effect was.

How to start without a big project

Your first project should not be an agent that runs the whole ecommerce operation. A better start is a daily list of products that need a pricing decision, or a report of orders at risk of being delayed.

  1. Pick one repeatable decision that today requires working across several systems.
  2. Define the source of truth for every parameter you need.
  3. Check the availability of APIs, exports and webhooks.
  4. Build the first workflow in read-only mode.
  5. Ask the agent to prepare recommendations together with their reasoning.
  6. Add a simple approval screen and operation limits.
  7. Measure time saved, recommendation quality and business outcome.
  8. Only after the process is verified, expand the scope of autonomy.

How SaaS should change

SaaS vendors have to prepare for a situation where their system is used not only by humans. More and more operations will be initiated by an agent acting on a user’s behalf.

A modern platform should expose:

  • a complete and well-documented API
  • webhooks that report events
  • precise permissions for data and operations
  • limits on the number and value of changes
  • a test environment and a simulation mode
  • an action history with the reasoning behind each operation
  • an approval mechanism and the ability to safely roll a change back
  • data prepared for use by external apps and agents

SaaS should not fight with the apps built by its customers. It should become their stable foundation. The customer then builds the final, most individual layer of the process on their own, but doesn’t take over responsibility for the whole infrastructure.

Build what is unique to the company

AI tools now let you create applications that until recently would have required a full team. It’s worth taking advantage of that, especially for reports, internal interfaces and processes specific to your organization.

That doesn’t mean every company should build its own price scraping, warehouse system, order handling or financial mechanisms. These areas require ongoing maintenance, domain knowledge and accountability for errors.

The most sensible model is hybrid. The line can be drawn simply:

Build yourselfLeave to a mature SaaS
Reports, calculators and interfaces tailored to the teamOrder, inventory, document and payment handling
Unusual views combining data from several systemsMarket data acquisition, product matching and repricing
Your own decision rules and approval processIntegration continuity, error handling and operation retries
Small tools supporting a unique way of workingPermissions, audit and security of critical processes

The same AI models are available to many companies. The edge comes from how you combine them with good data, clear rules and a process that has defined boundaries. There’s no point in building your own ERP just because it has become technically possible. It’s worth building the part of the system you can’t buy, because it comes from the company’s unique way of operating.

Summary

From the perspective of being replaced by AI-built apps, the position of ZYNQ and Dealavo is safe. ZYNQ owns the consistency of operational processes and company data; Dealavo owns reliable market data, product matching and controlled repricing. Recreating these capabilities takes much more than generating an app.

AI can, however, significantly increase the effectiveness of both platforms. An agent can combine data from ZYNQ and Dealavo, detect exceptions, prepare recommendations and trigger tailored workflows. Custom reports, approval screens and rules let you adapt ZYNQ and Dealavo to very specific company needs, without giving up a safe, proven foundation.

  • No. AI models and low-code platforms are great for reports, interfaces and micro-processes. Systems that manage prices, inventory, payments or documents require domain knowledge, continuous maintenance and accountability for errors — a prototype will not deliver that.

  • If a rule can be stated unambiguously (if X, then Y), a workflow in n8n, Make or Zapier will be cheaper, faster and easier to control. An agent helps where you need to combine context from several systems, interpret an exception and produce a recommendation with reasoning.

  • Only after a stage in which it works purely in read-only mode and produces recommendations. Write access should be granted in steps and within clear boundaries: minimum margin, maximum discount, limits on the number and value of changes over time, and human approval for critical decisions.

  • In the prompt — the strategy, the way to analyze and the explanation of the decision. In the system, as deterministic rules: margin and discount boundaries, tax rules, permissions, status conditions, protection against double execution, and change limits.

  • For every type of data (inventory, price, order status, cost, competitor price) you designate a single master system. Other systems may display that data, but may not store or modify it in parallel. This eliminates discrepancies and conflicts.

  • With three measures: time saved by the team (less manual data shuffling between systems), recommendation quality (approval rate, number of errors and rollbacks) and business outcome (margin, inventory rotation, conversion, revenue per decision).

  • A complete API, webhooks, precise permissions, limits on the number and value of changes, a test environment or simulation mode, an action history with reasoning, and mechanisms for approval and safe rollback.

  • Too broad a scope in the first version, no single source of truth, giving the agent write access too early, automating a disorganized process, and having no owner or action history. Every small tool needs an owner and an audit trail.

  • ZYNQ is the source system for products, orders, inventory, shipments and documents. Dealavo provides reliable market data, product matching and controlled repricing. The agent and custom apps use that data, but they don’t make decisions outside the boundaries set by those systems.

  • A small, repeatable process that today requires working across several systems — for example a daily list of products for a pricing decision, a report of orders at risk of being delayed, or a slow-moving stock analysis. Only expand the scope after the process has been verified.

On this page