User guide

Abandoned Cart Recovery & AI Sales Agent for Odoo: User Guide

How to install, set up and use the Abandoned Cart Recovery & AI Sales Agent for Odoo 20.0, an AI agent that drafts cart recovery, win-back and quotation follow-up messages for you to approve.

Kalvyai Engineering · · Updated · 10 min read

Abandoned Cart Recovery & AI Sales Agent for Odoo: User Guide (cover)
On this page

Abandoned Cart Recovery & AI Sales Agent (technical name ki_revenue_agent) is an Odoo 20.0 app. It finds left carts, quiet customers, open quotations and stalled deals, then drafts a personal email or text with an offer that stays inside limits you set. You approve each message with one click before it goes out.

You can buy and install it from the store page: Abandoned Cart Recovery & AI Sales Agent.

This guide covers what the app does, who it is for, installation, setup, each main feature step by step, tips, limitations and an FAQ.

What the app is for

Most lost revenue in an Odoo database is not lost to competitors. It is lost to silence:

  • A cart left for 3 hours with nobody following up.
  • A regular customer who stopped ordering and never heard from you.
  • A quotation about to expire that nobody chased.
  • A deal that stalled in the pipeline.

The app watches for these situations and prepares a personal email or text for each one. Where it makes sense, the message includes an offer: a percentage coupon, money off, free shipping, or no offer at all. The offer is always inside the discount limits you configure, and those limits are enforced in code, not by the AI.

It also tracks the revenue that results, so you can see whether the follow-ups are paying off. A confirmed order is credited to a message when it uses the message's one-time coupon code, or when the customer orders within your credit window after the message (14 days by default). A small control group gets no message, so you can compare who bought more.

Who it helps

  • Business owners who want follow-ups to happen without hiring someone to write them, and without giving away margin.
  • Sales teams with more open quotations and stalled deals than they can chase by hand.
  • Ecommerce managers running an Odoo shop who want abandoned cart and win-back messages that read like a person wrote them.
  • ERP admins who need AI spend capped, every AI call logged, and a human approving what gets sent.

How it works

Each message is produced by a chain of AI steps. Knowing the chain helps you understand the drafts you review.

  1. Analyst reads the customer's orders, cart and segment.
  2. Strategist picks the offer: a % coupon, money off, free shipping or none.
  3. Copywriter writes the email or text in your brand voice.
  4. Quality check reviews the draft. A failed draft is rewritten up to two times, then flagged for you.
  5. You review and approve with one click.

Separately, the Goal Planner writes a short plan from last week's results.

Underneath all of this sits AI Base, which logs every AI call with its tokens and applies a monthly token cap so spend cannot run away.

Before you install

Check these points first:

  • Odoo version: the app is built for Odoo 20.0.
  • Hosting: Odoo 20.0 Community and Enterprise, self-hosted or on Odoo.sh. Odoo Online (SaaS) is not supported, because it does not accept custom modules.
  • AI Base: the app relies on AI Base. AI Base (ki_ai_base) is a free app. Copy it into your Odoo 20.0 addons folder together with ki_revenue_agent.
  • Required Odoo apps: Sales, CRM, eCommerce, Coupons & Loyalty, Margins, SMS and the free AI Base app. Odoo installs them with the module.
  • AI provider: OpenAI, Anthropic Claude, Google Gemini, xAI Grok, Azure OpenAI, Mistral AI, Cohere, Perplexity and NVIDIA NIM, through the free AI Base app. You use your own API key, so the provider bills you directly.
  • SMS sending: Texts go through Odoo's own SMS app. Buy Odoo SMS credits or use an SMS provider set up in Odoo, such as Twilio. In India, promotional SMS need DLT registration (sender ID and approved templates) with your SMS provider.

Installation

1. Buy the app

  1. Open the store page.
  2. Complete the purchase.

2. Add the module to your Odoo server (self-hosted)

  1. Place the ki_revenue_agent folder (and AI Base, if delivered separately) in a directory on your addons path.
  2. Make sure that directory is listed in your Odoo configuration file:
INI / config
[options]
addons_path = /opt/odoo/odoo/addons,/opt/odoo/custom-addons
  1. Restart the Odoo service.
  2. Install the module, either from the Apps menu (after Update Apps List) or from the command line:
Shell
./odoo-bin -c /etc/odoo/odoo.conf -d your_database -i ki_revenue_agent

Replace the config path and database name with your own.

3. Odoo.sh

Add the module folder to your Odoo.sh project repository, push the branch, and install the app from Apps once the build is ready.

Setup

Do the setup in this order. The discount limits and token cap protect you, so set them before turning on any automation.

Step 1: Connect the AI provider

  1. Go to Revenue Agent → Configuration → Setup Wizard.
  2. Enter your provider details. Pick a provider, or click Add a provider and choose one, paste your API key and pick a model. Then click Test connection, then Continue.
  3. Save.

Step 2: Set the monthly token cap

  1. In AI Base settings, find the monthly token cap.
  2. Enter a cap that matches your budget. Start low; you can raise it once you see real usage in the log.

Step 3: Set discount limits

These limits are checked in code. The AI can never offer more than you allow, whatever it writes.

  1. Go to Agent Settings → Offers & Limits.
  2. Set your limits for each offer type the Strategist can choose: % coupon, money off and free shipping. The limits are Max discount in % and in money, No discount on carts below, a Margin floor for products, a monthly discount budget, protected products and messages per customer per week.
  3. If you do not want a particular offer type used.

Step 4: Describe your brand voice

  1. Go to Agent Settings → Sending & AI.
  2. Write a few lines on how you talk to customers. Be concrete: "Friendly, first name, short sentences, no exclamation marks" works better than "professional but warm".

Step 5: Choose what the agent watches

The app can work on four situations: abandoned carts, lapsed customers, open quotations and stalled deals.

  1. Go to Revenue Agent → Configuration → Setup Wizard.
  2. Enable the situations you want covered.
  3. Set the timing for each.

Step 6: Set up email and SMS

  1. Confirm your outgoing email server works in Odoo.
  2. Configure SMS. Install the Python package phonenumbers on the server so phone numbers are checked. Buy Odoo SMS credits or set up an SMS provider in Odoo, such as Twilio. Then switch on text messages (SMS) in Agent Settings → Sending & AI.

Using the main features

Reviewing and approving drafts

This is where you will spend most of your time.

  1. Open Revenue Agent → Approval Board.
  2. Open a draft. You will see the customer, the situation (cart, win-back, quotation or deal), the offer chosen and the message text.
  3. Read the message. If it is right, approve it with one click.
  4. If it is not right, click Edit to change the text before you approve it.

Analyst

The Analyst reads the customer's order history, current cart and segment. You do not run it by hand; it is the first step for every draft. If drafts seem to misunderstand a customer, check that their orders and segment are correct in Odoo. The agent can only work with the data you have.

Strategist

The Strategist decides which offer, if any, fits the situation: a % coupon, money off, free shipping or none. Its choice is then checked against your discount limits in code.

To see why a particular offer was chosen, use Why this message (below).

Copywriter

The Copywriter writes the email or text in the brand voice you set up. If the tone is off across many drafts, improve the brand voice description rather than editing each message.

Quality check

Every draft is reviewed before it reaches you. If it fails, it is rewritten, up to two times. If it still fails after that, it is flagged for you instead of being passed along silently.

  1. Look for flagged drafts in the Needs Review column of the Approval Board.
  2. Read the reason for the flag.
  3. Fix and approve, or discard.

Why this message

This shows how the AI decided, step by step: what the Analyst found, why the Strategist chose the offer, and how the Copywriter and Quality check handled the draft.

  1. Open a draft.
  2. Click Why this message. It is on the Approval Board and shows how the AI decided, step by step. In the Edit drawer you can also see Reasoning.
  3. Read the steps before approving anything that surprises you.

Send me a test

This emails the draft to you first, so you can see it as the customer would.

  1. Open a draft.
  2. Click Send me a test.
  3. Check the email in your inbox: layout, links, coupon and tone.

Goal Planner

The Goal Planner writes a short plan from last week's results. Use it as a weekly review: what worked, what to try next.

  1. Open the Goal Planner.
  2. Read the latest plan.
  3. Adjust your settings if you agree with it.

AI call log and token cap

Every AI call is logged with its tokens.

  1. Open the AI call log.
  2. Review usage by day or by message.
  3. Compare usage to your monthly cap. When the cap is reached, AI calls stop.

Revenue tracking

  1. Open Revenue Agent → Cockpit.
  2. Review recovered revenue. The cockpit shows goal progress, orders won, open and click rates, trends and return on AI spend. A confirmed order is credited when it uses the message's coupon code, or when the customer orders within your credit window after the message (14 days by default).

Tips

  • Use Send me a test for your first drafts. Check a handful of each type (cart, win-back, quotation, deal) before you start approving in bulk.
  • Set discount limits tighter than you think. You can always loosen them. "No offer" is often enough for a friendly reminder.
  • Fix data, not drafts. If the Analyst misreads a customer, the source data in Odoo usually needs cleaning.
  • Read Why this message on anything odd. It is faster than guessing.
  • Watch the token log in the first month. It tells you what a realistic monthly cap looks like for your volume.
  • Read the Goal Planner weekly. Treat it as a starting point for a short review, not an instruction.

Limitations

  • Odoo 20.0 only. Other versions are not covered by the facts in this guide.
  • Human approval is part of the flow. Messages are approved by you with one click, so someone needs to work through the queue.
  • Quality check has a limit. A draft is rewritten at most two times; after that it is flagged and waits for you.
  • The token cap is a hard stop. Once the monthly cap is reached, AI calls stop until the cap resets or you raise it.
  • Discount limits are only as good as your settings. Code enforces them, but it enforces exactly what you entered.
  • The Goal Planner needs history. It works from last week's results, so on a fresh install there is little for it to plan from.
  • AI output still needs review. Quality check catches a lot, but you are responsible for what is sent.

FAQ

Can the AI give away a bigger discount than I allow?

No. Discount limits are checked in code, so the AI can never offer more than you allow.

Does anything get sent without my approval?

The app is designed so you approve each message with one click. An Administrator can turn on Autopilot in Agent Settings → Sending & AI. Messages that pass every check then go out on their own, and flagged drafts always wait for you.

How do I control AI costs?

Set a monthly token cap in AI Base. Every AI call is logged with its tokens, so you can see exactly where usage goes.

What happens if a draft is bad?

Quality check reviews it and rewrites it up to two times. If it still fails, it is flagged for you.

Can I see why the AI chose a particular offer?

Yes. Open the draft and use Why this message to see the decision step by step.

Does it work by SMS as well as email?

Yes, the app sends follow-ups by email and SMS. Texts go through Odoo's own SMS app, so you need Odoo SMS credits or an SMS provider set up in Odoo, such as Twilio. In India, promotional SMS need DLT registration with your SMS provider.

Where do I buy it?

On the store page. see the store page

How Kalvyai can help

We build and connect Odoo, ERPNext and Shopify systems, and add AI agents that work inside them with human approvals, budgets and an audit trail. If you want help installing the app, setting sensible discount limits and token caps, cleaning the customer data the agent relies on, or adapting it to your sales process, get in touch.

Share this article

Last updated 28 Nov 2026

  • User guide
  • Odoo
  • Odoo 20
  • Abandoned Cart Recovery
  • AI Agents
  • Sales Follow-Up
  • User Guide

The app in this guide

Abandoned Cart Recovery & AI Sales Agent app icon

Abandoned Cart Recovery & AI Sales Agent

Win-Back, Quotation Follow-Up

View in store

Kalvyai Engineering · Engineering team

The engineers who build, connect and fix business systems at Kalvyai: Odoo, ERPNext, Shopify and AI agents that work inside them with approvals, budgets and an audit trail.

Comments

No comments yet. Questions and corrections are welcome.

Rate this post or leave a comment

Your rating (optional)
Not rated

Comments appear after an editor approves them. See our privacy notice.

Read next

WhatsApp Coexistence for Odoo 19: Setup and User Guide (cover)User guide
Kalvyai EngineeringOdoo

WhatsApp Coexistence for Odoo 19: Setup and User Guide

How to install, connect and use WhatsApp Coexistence for Odoo 19 so your team keeps replying from the WhatsApp Business app while Odoo logs every message on the same number.

7 min read

Newsletter

Get new guides in your inbox.

Practical notes on Odoo, ERPNext, Shopify and AI agents, written by the engineers who build them. No spam, and you can ask to stop at any time.

Prefer a feed? Subscribe by RSS. We use your email only to send new articles. See our privacy policy.