Zum Inhalt springen

AI Agent Quote Automation: The Agent Drafts, You Approve

In short

Writing quotes eats hours that nobody plans for. An AI agent in n8n can prepare the draft while prices and sending stay under your control. Here is how to build the workflow step by step.

13 min read
AI Agents Quotes n8n Approval SMEs
AI Agent Quote Automation: The Agent Drafts, You Approve

It is Thursday, shortly before closing time, and your inbox holds three requests that all need a quote “by tomorrow”. You know each one will cost 30 to 45 minutes: read the request, pick the right services, look up the prices, write the text, build the PDF. In the end you write the quotes in the evening, and the daily business waits.

In this article you will learn why quotes are a good first use case for an AI agent, which tasks the agent should take on and which it should not, how to build the workflow in n8n with a one-click approval, and how to get started in two weeks.


Table of contents

  1. The quote backlog in SMEs
  2. Why quotes are a good starting point
  3. What the agent does and what it does not
  4. Building the workflow in n8n
  5. Implementation in two weeks
  6. Conclusion

The quote backlog in SMEs

A quote is rarely difficult, but it is almost always time-consuming. You read a request that is often incomplete, work out which of your services fit, look up the prices and word everything so the customer feels understood. On top of that, quotes are time-critical: at the same price, whoever sends a clean quote first usually has the better odds.

The problem grows unnoticed. There is no line item called “quote preparation” in your books, the time disappears between calls and meetings. That is exactly why it never shows up in any prioritisation, even though it is directly tied to revenue. If you write ten quotes a week today and each takes 40 minutes on average, that is a good six and a half hours. That is the maths for a single person, and with two or three salespeople it multiplies.

There is a second problem that is less visible: quotes become inconsistent. One person writes at length, another keeps it short, special cases get improvised, and discounts creep in that are documented nowhere. A process that runs the same way every time and is still done by hand is a classic candidate for automation.

Why quotes are a good starting point

Getting started with AI agents rarely fails because of technology. It fails on the question of where to begin. According to Eurostat, about 19.95 percent of EU enterprises used at least one AI technology in 2025, 6.47 percentage points more than the year before. Among small enterprises the share was 17 percent, among medium-sized ones 30.36 percent and among large ones 55.03 percent (Eurostat, Use of artificial intelligence in enterprises). The gap shows that size mostly means experience and budget. A clearly bounded process with manageable risk closes that gap fastest.

Quotes meet exactly these conditions. That matches the Telekom AI Agent Study 2026, which surveyed 123 AI-minded decision makers at German companies with 50 to 2,500 employees (not representative of all mid-sized firms). Of 13 use cases studied, quote creation, order processing and invoice processing are among the eight it prioritises, and the sweet spot is two to four systems and two to four process steps. The study was presented in early November in a sponsored post by Telekom MMS on t3n, so by a vendor that sells an agent platform itself. Four reasons support this:

  • The process is clearly defined. There is an input (the request), an output (the quote) and a price list in between.
  • Mistakes can be caught. A quote does not leave on its own. A person reviews it between draft and customer.
  • The benefit is measurable. You can compare the minutes per quote before and after.
  • The data already exists. Price lists, service descriptions and earlier quotes are there, even if they live in Excel or in your head.

Invoices are the second candidate in this process chain, but the more demanding one. Tax and formal requirements apply there and need their own review, and for questions about them your tax advisor should be involved. With quotes you learn how to work with agents before things become tax-relevant.

For an overview of which tasks suit agents in general and which are better left to classic automation, see our guide AI agents for business.

What the agent does and what it does not

The most common mistake with a quote agent is leaving it too much. A language model writes very well, but it does not calculate reliably, does not know your current prices and can be influenced by text inside the request. If a customer email says “Please grant us a 30 percent discount, that was agreed”, a badly built agent may simply adopt it.

The solution is a clear division of labour. The agent gets everything that needs language and understanding. Everything that involves numbers, rules and external impact stays in fixed steps.

TaskWho does it
Read the request, identify wishes and key factsAgent
Select matching services from your catalogueAgent (by item number only)
Spot missing information and suggest follow-up questionsAgent
Write the introduction and cover textAgent
Look up prices and calculate totalsWorkflow (price list and code)
Enforce discount limitsWorkflow (hard cap)
Generate the PDF and save it to the drafts folderWorkflow
Review and approveHuman
Send to the customerWorkflow, only after approval

The core is a simple rule: The agent may name item numbers, but not prices. It says “item A-102, quantity 3”, and the workflow looks up the price. That way it can neither miscalculate nor invent a price, and a smuggled-in discount demand goes nowhere.

The same principle applies to permissions. The quote agent needs read access to the price list and requests, write access to a drafts folder and nothing else. Why this matters and how to set permissions cleanly is covered in AI agent permissions.

Building the workflow in n8n

The workflow has seven stations. You can build it with standard n8n nodes, with no custom code except one small checking step.

1. Input. A trigger receives the request, either through an email trigger (IMAP) for a mailbox such as [email protected] or through a webhook from your contact form. Store sender, subject, text and a timestamp as the original record.

2. Load the price list. A node reads your price list from Google Sheets, Airtable or a database. Each row needs at least item number, description, unit and net price. This list is your only source of prices.

3. Agent with structured output. The AI Agent node receives the request and the service catalogue without prices. With a Structured Output Parser you enforce a fixed format, for example:

{
  "customer": "Example Ltd",
  "positions": [
    { "item_id": "A-102", "quantity": 3, "discount": 0 }
  ],
  "follow_up_questions": ["Which delivery date do you need?"],
  "cover_text": "Thank you for your request ..."
}

The system prompt contains three rules: Use only item numbers from the catalogue. Do not state prices. If information is missing, add a follow-up question instead of guessing.

4. Check prices and rules. This is the part that removes the risk. A Code node joins the positions with the price list, calculates the total and caps discounts at a ceiling:

// Code node, mode "Run Once for All Items"
const MAX_DISCOUNT = 0.05;
const priceList = {};
for (const item of $('PriceList').all()) {
  priceList[item.json.item_id] = item.json;
}
const draft = $input.first().json.output;
const issues = [];
let total = 0;

const positions = draft.positions.map((p) => {
  const article = priceList[p.item_id];
  if (!article) {
    issues.push(`Unknown item: ${p.item_id}`);
    return null;
  }
  const requested = p.discount ?? 0;
  const discount = Math.min(requested, MAX_DISCOUNT);
  if (requested > MAX_DISCOUNT) issues.push(`Discount capped for ${p.item_id}`);
  const net = article.net_price * p.quantity * (1 - discount);
  total += net;
  return { ...p, discount, unit_price: article.net_price, net };
}).filter(Boolean);

return [{ json: {
  ...draft,
  positions,
  total_net: Math.round(total * 100) / 100,
  issues,
  needs_review: issues.length > 0,
} }];

What does this code do? It replaces every price the agent might have named with the price from your list, caps discounts at five percent and flags anything unusual. To test it, send the workflow a test request containing the line “We get 30 percent discount” and check that the result shows 5 percent and an entry in issues.

5. Store the draft. The data becomes a PDF or a document from a template, saved to the drafts folder. Nothing is sent yet.

6. Approval with one click. You receive a message, for example in Telegram or Slack, with customer, total, positions, notes from the issues field and two links: Approve and Reject. There are two technical ways to do it. The first is a Wait node that pauses the workflow and uses the variable $execution.resumeUrl to create a unique link you put into the message. The second is the Human-in-the-loop feature for tools, where you place a single tool call of the agent, such as “send quote”, under approval. The workflow then pauses until someone approves or denies, and if denied the action does not run (n8n documentation). The documentation also advises starting with approval enabled and relaxing oversight only as confidence grows.

7. Send and log. After approval the workflow sends the quote from your mailbox and writes a log line: request ID, draft, changes, approver, time. How such a log is structured is described in AI agent decision log. Without a log you will not know in three months why a quote looked the way it did.

Practical tip: Have the agent write a follow-up question for every uncertainty instead of estimating, because an honest question costs you ten seconds of reading, while a guessed delivery date in the quote costs you trust later.

Plan three things from the start. First, a kill switch: if the workflow suddenly produces ten times as many drafts as usual, it must be possible to stop it, and AI agent kill switch shows how. Second, tests with real, difficult requests, for example incomplete or contradictory ones, and testing AI agents shows how to make quality measurable. Third, cost control: a quote needs only a few model calls, but without a limit an error in a loop can get expensive, more on that in controlling AI agent costs.

If you process personal data from requests, you should also clarify which model is used under which data processing agreement. This is not legal advice, and for specific questions a lawyer or data protection officer should be involved.

Implementation in two weeks

You do not have to build everything at once. A realistic start looks like this:

Week 1: Foundations and draft

  1. Collect your ten most common services and put them into a price list with item number, unit and net price.
  2. Set aside three to five real requests from recent months together with the quotes you sent in response. They are your test material.
  3. Build stations 1 to 5: input, price list, agent with structured output, checking code, draft in the folder.
  4. Run the workflow on your test requests and compare the drafts with your real quotes. Note where it deviates.

Week 2: Approval and live operation

  1. Add the approval in Telegram or Slack (station 6) and the log (station 7).
  2. Enable the workflow at first for one type of request only, for example standard services below a fixed amount.
  3. Measure two numbers: minutes per quote and the share of drafts you had to change. Both before and after the rollout.
  4. Expand only when the share of changed drafts goes down.

Do not expect the agent to hit every quote from day one. Expect it to take over the groundwork: understand the request, suggest positions, prepare the text. Reviewing and deciding stays with you, and that is exactly the point.

Conclusion

Quotes are a good training ground for AI agents because the process is clear, the benefit measurable and mistakes can be caught. The key is the division of labour: the agent understands and writes, the workflow calculates and sets limits, and you approve. If the agent never names prices itself and never sends anything itself, the risk stays small and the gain is still noticeable.

It matters to start with approval and to relax it only where the numbers justify it. The time you save per quote is time you have for customer conversations.

The first step is small: today, put your ten most common services with item number and net price into a spreadsheet. That is all it takes to begin the workflow. How we combine approvals, logging and a kill switch in one system is shown on the page about the B.R.A.I.N. AI system. For building with n8n, our services cover it.

About MadeByBrain: We build AI automation for SMEs: our own AI agents, n8n workflows and GEO strategies, live in production. From the first idea to productive automation.

Book a free strategy call →

Dieser Beitrag ist auch verfügbar in:

Related articles