FI EN

All guides

Using an AI agent with Kvolio

Using an AI agent with Kvolio

Kvolio lets you bring an AI agent into your daily work as an entrepreneur by providing an interface for it: the Agent API. Kvolio does not have a built-in agent of its own; instead, you can connect the agent of your choice to handle routine entries and administrative tasks for you.

The Agent API is part of the Pro plan. It is currently being tested with a limited group of users.

What is the Agent API and what does it enable?

With the Agent API you can give your agent tasks in writing. Instead of entering data into the app by hand, you can ask the agent to handle the entries for you:

  • Customers and jobs: The agent can add a customer and create a job for them. Before adding a new customer, it checks whether the customer already exists.
  • Work time: Tell the agent how long the job took, and it records the work time on the job.
  • Materials and warehouses: The agent can see your warehouses and their stock balances. If you tell it which warehouse a material came from, it checks the balance and records the material from that warehouse, so the balance goes down as in the app. Otherwise the material is saved to My products with the Bought for this job warehouse and does not change stock balances.
  • Trips: The agent can log job-related work trips with odometer readings. You first need to add the vehicle yourself in the app (Trips → Manage). The agent does not log private trips.
  • Photos: The agent can attach photos to a job. A job can have up to 18 photos, each up to 5 MB (JPEG, PNG or WebP).
  • Report, share link and invoice draft: When the work is done, the agent compiles the details into a report, can create a share link for the report and can create an invoice draft for you to review. An invoice draft requires an account number (IBAN) in your profile. The agent can also add its own lines to the draft, for example a contract-work line.

An invoice draft is not an invoice. You review the draft yourself in the app, mark the invoice as final (status Final) and download the invoice PDF, which you send to your customer yourself.

Getting started with the Agent API

  1. Create a key: Create the key in Kvolio under Profile. The key starts with "kvo_".
  2. Choose the scope: With a read key the agent can only search and read data. With a write key the agent can also save and change data and remove a share link.
  3. Give the key to your agent: The agent sends the key in the request header. The key is never put in a URL.
  4. Acknowledge the manual: Before its first entries, the agent reads Kvolio's instructions for agents (the manual) and acknowledges them. The acknowledgement is valid for 12 hours and is renewed when the manual is updated.

Your account can have only one active key at a time. You can revoke the key in Profile and create a new one. You can also turn the agent off in Profile, in which case Kvolio rejects all of its requests.

When you give a key to an external agent, the data the agent handles, such as customer contact details and job details, is transferred to the agent's provider. Choose an agent you trust.

Example requests for your agent

"Add the customer Sample Customer, Kotikatu 1, Tampere, and a job for them: Deck oiling on 3 Nov."

The agent first checks whether the customer is already in Kvolio and asks for any missing details instead of guessing.

"Log work time on Deck oiling today from 8 to 11 and from 11:30 to 16."

Breaks are not logged separately, so the agent records the work time as two entries, one on each side of the break.

"Add 4 litres of deck oil from the Van warehouse to Deck oiling."

The agent checks the balance first. If there is not enough oil, it tells you the balance and asks how to proceed.

"Prepare an invoice draft for Deck oiling for my approval."

The agent shows a summary and asks, for example: "Shall I create the invoice draft with these details?" The draft is created only when you say yes. You then review the draft, prices and VAT in the app and mark the invoice as final yourself.

Security and control

Connecting an agent to Kvolio is designed so that you stay in charge:

  • Approval before key steps: Kvolio's instructions require the agent to show a summary and ask for your approval before creating an invoice draft and before creating or removing a share link. Kvolio cannot, however, guarantee how an external agent behaves, so keep an eye on what your agent does.
  • See what the agent did: Cards on the job page whose details the agent has added or changed are marked with a robot icon.
  • Read or write access: With a read key the agent can only read data. With a write key the agent can also change data, and a change can replace or clear earlier data. Photos and invoice draft lines added by the agent cannot be deleted through the API, so check them before they are sent. If the agent only needs to read data, use a read key.
  • Monitored use and clear limits: Kvolio monitors API use. The agent can make at most 10 calls per 10 seconds, 60 per minute and 1,000 per day. A well-behaved agent makes calls one at a time and waits when Kvolio asks it to. Every call over the limit counts as an error, so fetching too fast can start a pause within the first minutes.

The errors have the following consequences:

  1. From the 3rd error (within an hour), the agent receives a warning.
  2. From the 5th error, a 2-minute pause begins.
  3. At the 8th error, the key is frozen for one hour, or for 24 hours if the previous freeze was less than 7 days ago.
  4. 3 freezes within 30 days lead to a permanent block of the key, which only Kvolio support can lift. Freezes related only to IP addresses, however, do not lead to a permanent block.

If you do not recognise the agent's activity, revoke the key in Profile and create a new one.

What can the Agent API not do?

To keep critical settings and actions in your hands, the following are always done yourself in the Kvolio app:

  • Deletions: The agent cannot delete customers, jobs, work time entries, materials, trips, photos or invoice lines. The only supported deletion is removing a share link.
  • Invoicing and payments: Marking an invoice as final (status Final), sending an invoice to the customer, marking it as paid, creating credit notes and changing payment details such as the IBAN.
  • Subscription and profile: Managing the Pro subscription and payment method, uploading a company logo and changing your prepayment register status.
  • Warehouses and vehicles: Creating warehouses, adding or correcting stock balances, and adding or editing vehicles.

The Agent API requires an active Pro subscription. If Pro ends, your account returns to the Basic plan (5 jobs per month) and Kvolio rejects the agent's calls.

For more on using the app, see the Help pages.