Skip to content
Пилотная фаза – пока не коммерческое предложение. Первые 500 пользователей работают бесплатно и дают нам обратную связь. Первый тарифный раунд стартует в мае 2027
Firmspace
Назад в блог

The Quote the Assistant Writes and That Expires Only on Paper

A quote leaves the office on the third of the month with a line at the bottom: valid until the second of the next month. In the fifth week the customer writes that they accept. The salesperson opens the CRM and finds the quote still marked as sent. Nothing is red, nothing is blocked, and no reminder fired on the day the date passed. That small moment is the subject of this article: the validity date on a quote is a statement in the document, not a timer inside the CRM.

Every quote carries two dates. The issue date says when the document was written. The validity date says how long the offer stands. Both are stored as plain calendar dates, printed on the PDF, shown on the public share page and included in the e-mail that carries the attachment. They are visible, comparable and easy to filter. What they are not is a workflow state: the CRM does not watch the second date and does not change anything when it passes.

When the assistant creates a quote, the date is fixed by the tool. Its create_quote tool accepts a customer, line items, a currency and notes; it has no field for validity. The code writes today plus thirty days. The creation route can accept another date from an API caller, but the quote form in the interface sends only the customer, the lines and the currency; in normal use every quote gets the thirty-day default. The assistant cannot choose a date either — not because the model is lazy, but because the parameter does not exist. This asymmetry is worth knowing before asking the assistant to prepare an offer with a special validity.

The contrast with an invoice is sharp and deliberate. An invoice due date is calculated from the firm's payment terms: the market default is fourteen days for Germany and five for Ukraine or Uzbekistan, and the firm can change the setting. The due date is therefore a policy the company has already expressed. A quote's thirty days is a constant in the creation code, not a setting, and it does not appear among the finance settings a firm can adjust.

The CRM uses the validity date in three places: the PDF, the share page and the e-mail text. It does not use it as a gate. A quote can be sent after the date, edited after the date, accepted after the date and converted into an order after the date. The interface will show the date if someone opens the document; the logic will not stop and ask why the date is in the past.

The status model is short: a new quote is a draft, sending it moves it to sent, and the customer's answer moves it to accepted or declined. There is a fifth word in the code — expired — and it appears in the list of final states and in the colours of the interface. But no route, button or scheduled job writes that status. In the code reviewed for this article, the only way a quote becomes accepted or declined is the decision route, and that route only checks that the quote is sent.

That decision route has no date test. If a customer says yes three weeks after the validity date, the CRM records accepted, emits the quote_accepted event and unlocks the conversion to an order. Whether the late acceptance is binding is a question for the contract and the lawyers, not for the database. The CRM's job is narrower: it records what a person told it, with the date on which the person recorded it.

Editing follows the same logic, but the capability and the button are not the same thing. The route still permits a sent quote to be patched: line items, customer name, notes and the validity date itself. Changing lines or the customer name saves the previous state as a version; changing only the validity date does not create a version, because the version history is built around commercial content, not around dates. The quote screen reviewed here has no general edit form; the route exists without a matching button. After a final decision the quote is locked: accepted, declined and — in theory — expired cannot be edited.

The order step adds one more gate but not a date gate. Only an accepted quote can become an order, and one quote can produce one order. The route does not compare today with the validity date. A quote accepted late, or a quote whose date was extended in a conversation but not in the CRM, can still become an order. The document chain is consistent; the commercial timing is whatever the people agreed.

What the assistant can do in this chain is bounded on purpose. It can create a draft, record a customer's decision on a sent quote, and turn an accepted quote into an order. It cannot send the quote by e-mail: there is no send_quote tool, and the send route is a human action that builds the PDF, checks the recipient and the mailbox, and only then marks the quote as sent. The outbound boundary stays with a person, which is the right place for a document that commits a price.

Why might the product leave expiry to people? Because expiry is not a fact like a payment. A payment either arrived or did not. An expired quote may still be valid after a phone call, an extension, a corrected date or a customer's internal approval. Automatically flipping the status on day thirty-one would create a record that looks authoritative and may be wrong. Leaving the decision to a person avoids that false certainty.

The cost of that choice is visible in daily work. A list of sent quotes becomes a graveyard: some are dead, some are waiting, some were extended in an e-mail that never reached the CRM. The word expired exists in the interface but nothing produces it, so the status column cannot answer the question the salesperson actually has. The honest fix is not to pretend the status works; it is to decide what the firm wants the date to mean and to build that process explicitly.

There are two defensible designs. The first treats validity as text: the date is printed, the salesperson owns the follow-up, and the CRM does not promise more. The second treats it as a process: a rule on quote_sent creates a task or a reminder before the date, the task owner checks with the customer, and a human records the outcome. In the second design the date becomes actionable without becoming automatic. What the CRM does not offer today is a third design in which the status changes by itself.

A practical routine can be built from the events that do exist. quote_sent fires when the e-mail leaves; quote_accepted fires when the customer says yes. There is no quote_expired event, so an automation cannot wait for one. It can wait a number of days after sending, re-check that the quote is still sent, and create a task for the owner. The AI action step can draft the follow-up in the customer's language, but it cannot invent a new validity date or mark the quote expired; those remain human decisions.

The same discipline applies to extensions. If a customer asks for two more weeks, record the extension where the next colleague will see it — in the deal card, a task, or the quote route that accepts a new date — and say who agreed, because the quote screen itself offers no edit form. If the date is changed only in an e-mail thread, the next person who opens the CRM sees an old date and may treat a live offer as dead. The CRM is not the only place where a promise lives, but it is the place where the next colleague looks.

What this article does not claim: it gives no statistics on how often quotes are accepted after their validity date, no legal advice on when an offer lapses, and no promise that a date in a PDF is enforceable. Those questions need the firm's contracts, its jurisdiction and its lawyer. What can be said from the code is narrower and still useful: the assistant writes thirty days, the CRM prints the date, and no route turns the date into an expired status. If expiry matters to the business, a person or a rule has to make it matter.

Автоматизируем ваш следующий процесс вместе.

Опишите повторяющийся рабочий процесс. Мы вместе проверим, можно ли его разумно автоматизировать.