> ## Documentation Index
> Fetch the complete documentation index at: https://docs.upflow.io/llms.txt
> Use this file to discover all available pages before exploring further.

# ✨ Upflow AI

> Use Upflow's AI features as a finance user: collection agents and their four skills, AI suggestions, the AI editor, Ask Upflow AI, and AI autofill for custom fields.

**Goal:** Know what each AI feature does, how much it does on its own, and where you stay in control.

## What you'll do

* Set up collection agents and review their suggestions and drafted replies
* Write and improve reminders and notes with the AI editor
* Fill custom fields with AI autofill
* Ask Upflow AI questions about your receivables

This page focuses on what finance teams configure and review. For how to fit AI into your workflows, see the [workflow best practices guide](https://docs.upflow.io/en-us/guides/workflow-best-practices/using-ai.md).

### Collection agents

A **collection agent** handles inbound customer emails for you. Each agent has four skills:

* **Replies:** drafts or sends a response to the customer's email.
* **Promise to pay:** spots a commitment to pay on a date and creates the promise to pay.
* **Disputes:** spots a contested invoice and creates the dispute.
* **Remittance capture:** spots remittance advice and extracts the payment details for cash application.

![The Collection agents settings page listing three agents with their mode and the number of workflows each is assigned to](https://mintcdn.com/upflow-04dc27cd/vIXRFdV4UulfmH5l/images/collection-agents-overview.png?fit=max\&auto=format\&n=vIXRFdV4UulfmH5l\&q=85\&s=07c6af124c5f3a15e327693288f75201)

You set each skill's autonomy separately:

| Mode | What the agent does |
| - | - |
| Off | Nothing for this skill |
| Suggestions only | Prepares the reply, promise to pay, or dispute for you to review and confirm |
| Auto-mode | Acts on its own when it's confident, and falls back to a suggestion when it isn't |

**Remittance capture** only has **Auto-mode** and **Off**, and it's in Auto-mode by default.

To set up an agent:

1. Go to **Settings > Collection agents** and click **New agent**.
2. Give it a name and avatar, then set a mode for each skill.
3. Optionally, add custom instructions for the Replies skill, or click **Auto-generate instructions** to draft them from your last six months of customer emails.
4. Keep **Pause collection when creating a promise to pay** on if reminders should stop once the agent logs a promise. It's on by default.
5. Click **Save**, then attach the agent to one or more workflows from the **Collection agent** block at the top of each workflow.

Agents only work on replies managed in Upflow, so **Handle replies in Upflow** and reply import need to be set up first. A workflow has one agent at most.

When the Replies skill is in Suggestions only, the draft appears in the reply action in your To do list, with a banner naming the agent. Edit it, send it, or ignore the action.

In **Suggestions only** mode, the Promise to pay and Disputes skills suggest the promise or dispute on the invoice, with a quote from the customer's email explaining why. Accept, edit, or reject each suggestion.

> [!NOTE]
>
> Only Admins can create and configure collection agents.

Learn more: [Collection agents](https://docs.upflow.io/en-us/collection-and-collaboration/emails/collection-agents.md), [AI-suggested promise to pay](https://docs.upflow.io/en-us/core-entities/invoices/ai-suggested-promise-to-pay.md), [AI-suggested invoice disputes](https://docs.upflow.io/en-us/core-entities/invoices/ai-suggested-invoice-disputes.md)

### AI editor

The **AI editor** rewrites the text of an action or a note. To open it, click the pen icon at the bottom of an action. It can improve the writing, fix grammar and spelling, translate, or change the tone to Friendly, Encouraging, Professional, Concise, or Firm. You then **Accept** the new version, **Insert below** to compare, or **Reject** it.

On a reply action, it can also draft a reply from the customer's message, their invoices and collection status, and their portal link.

Learn more: [AI editor assistant](https://docs.upflow.io/en-us/collection-and-collaboration/run-your-collection/ai-editor-assistant.md), [Draft email replies automatically](https://docs.upflow.io/en-us/collection-and-collaboration/emails/draft-email-replies-automatically-with-upflows-ai.md)

### AI autofill for custom fields

**AI autofill** fills a customer or invoice custom field from a prompt you write once, such as "Why has this invoice not been paid?". It uses the data in Upflow, and optionally public web sources. If it isn't confident, it leaves the field empty.

Enable it per field in **Settings > Custom fields**. Values don't refresh on their own: click the sparkle button on a customer or invoice page, or select records in a list and click **Actions** > **Refresh autofill values**. Fields with autofill on can't be edited by hand.

> [!NOTE]
>
> Only Admins can configure AI autofill.

Learn more: [AI autofill for custom fields](https://docs.upflow.io/en-us/upflow-configuration/organization-configuration/ai-autofill-for-custom-fields.md), [AI autofill prompt library](https://docs.upflow.io/en-us/upflow-configuration/organization-configuration/ai-autofill-prompt-library.md)

### Ask Upflow AI

**Ask Upflow AI** answers questions about your receivables in plain language, from your own data and from the help center. Click the **Upflow AI** button in the bottom-right corner of any page in the Upflow app. You can also click **Search or ask** in the sidebar, or press ⌘ + K, and select **Ask Upflow**. For example:

* "Who are my top debtors?"
* "Why has our DSO gone up?"
* "Which due actions should I prioritize?"

![The Ask Upflow AI panel open over a page, with a question and an answer citing its sources](https://mintcdn.com/upflow-04dc27cd/QkPgiXJFbS9wSp9p/images/finance-user-guide/ask-upflow.png?fit=max\&auto=format\&n=QkPgiXJFbS9wSp9p\&q=85\&s=5167447ad1eede9704b53305e0a5953e)

It's read-only and only sees what you can see. Each answer links to its sources.

Learn more: [Ask Upflow AI](https://docs.upflow.io/en-us/essentials/get-started/ask-upflow-ai.md)

## Key takeaways

* Collection agents have four skills, each set to Off, Suggestions only, or Auto-mode. They only work when replies are handled in Upflow, and a workflow has one agent at most.
* The AI editor rewrites your actions and notes, and can draft replies to customers.
* AI autofill fills custom fields from a prompt. Values don't refresh on their own.
* Ask Upflow AI answers questions from your data and the help center. It's read-only and only sees what you can see.

Next: [**Notifications**](https://docs.upflow.io/en-us/guides/finance-user-guide/notifications.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.