---
title: Auto-Matching Correspondents and Types
description: Essal Office can automatically assign a correspondent and document type to new documents as they are processed. This works through matching rules — a ...
---

[Skip to content](https://help.essal.cloud/en/article/1396-#main-content)

English

Show submenu for translations

[More support](https://help.essal.cloud/en/kb-tickets/new?hsLang=en) [Customer portal](https://clients.essal.cloud/tickets?hsLang=en)

[![logo](https://help.essal.cloud/hubfs/logo.svg)](https://help.essal.cloud/?hsLang=en)

- [Home](https://essal.cloud/)
- [Products](https://essal.cloud/products)
- [Industries](https://essal.cloud/industries)
- [About](https://essal.cloud/about)
- [Contact](https://essal.cloud/contact)

Open main navigation

Close main navigation

- [Home](https://essal.cloud/)
- [Products](https://essal.cloud/products)
- [Industries](https://essal.cloud/industries)
- [About](https://essal.cloud/about)
- [Contact](https://essal.cloud/contact)
- English
  
  Show submenu for translations
- [More support](https://help.essal.cloud/en/kb-tickets/new)
- [Customer portal](https://clients.essal.cloud/tickets)
- [Home](https://essal.cloud/)

[Home](https://essal.cloud/)

 Essal Help Center

- There are no suggestions because the search field is empty.

1. [Help Center](https://help.essal.cloud/en?hsLang=en)
2. [Essal Office](https://help.essal.cloud/en/essal-office?hsLang=en)
3. [Correspondents and document types](https://help.essal.cloud/en/essal-office?hsLang=en#correspondents-and-document-types)

# Auto-Matching Correspondents and Types

Essal Office can automatically assign a correspondent and document type to new documents as they are processed. This works through **matching rules** — a set of conditions you configure on each correspondent and document type that Essal Office evaluates every time a new document arrives.

---

## How Matching Works

After a document is uploaded and its text is extracted by OCR, Essal Office evaluates all active matching rules in order. The first rule that matches the document's content wins and the corresponding correspondent or type is assigned automatically.

This happens in the background — by the time the document appears in your list, the metadata may already be filled in.

---

## Matching Algorithms

Each correspondent and document type has a **matching algorithm** setting. The options are:

- **Algorithm**: \*\*None\*\*
- **How it works**: Auto-matching is disabled. Assign this correspondent or type manually.

- **Algorithm**: \*\*Any word\*\*
- **How it works**: Matches if any of the words in the pattern appear in the document text

- **Algorithm**: \*\*All words\*\*
- **How it works**: Matches only if every word in the pattern appears in the document text

- **Algorithm**: \*\*Exact match\*\*
- **How it works**: Matches only if the exact phrase appears word-for-word

- **Algorithm**: \*\*Regular expression\*\*
- **How it works**: Matches using a regex pattern — powerful but requires technical knowledge

- **Algorithm**: \*\*Fuzzy match\*\*
- **How it works**: Matches even with minor spelling differences — useful for OCR errors

- **Algorithm**: \*\*Automatic\*\*
- **How it works**: Essal Office learns from your manual assignments and develops its own matching logic

---

## Choosing the Right Algorithm

For most users, start with **Exact match** or **Any word**:

- Use **Exact match** when a correspondent's name is distinctive and unlikely to appear elsewhere (e.g. `Acme Supplies Ltd.`)
- Use **Any word** when the pattern needs flexibility (e.g. `bank statement` matching documents that say either `bank` or `statement` in various combinations)
- Use **Fuzzy match** when your scanner produces slight OCR errors and exact matching fails
- Use **Automatic** once you have assigned a correspondent or type to 10 or more documents manually — Essal Office will learn the pattern and take over

> **Tip:** The Automatic algorithm improves over time. Assign metdata manually for a few weeks before switching to Automatic for reliable results.

---

## Configuring a Matching Rule

1. Go to **Management \> Correspondents** (or **Document Types**)
2. Open the correspondent or type you want to configure
3. Set the **Matching algorithm**
4. Enter the **Match pattern** — the word, phrase, or expression to look for
5. Enable **Is insensitive** if you want matching to ignore uppercase/lowercase differences
6. Click **Save**

---

## Testing Your Rules

The best way to test matching is to upload a sample document and see whether the correspondent and type are filled in automatically. If they are not:

- Check that the pattern text actually appears in the document's extracted content (open the document and look at the **Content** tab)
- Verify there is no typo in your pattern
- Try switching from Exact match to Any word or Fuzzy match

---

## Understanding Matching Priority

Essal Office evaluates rules in order. If two rules could both match the same document, the one with a higher specificity wins. When using Automatic, Essal Office handles prioritisation internally.

If you find conflicts — for example a document being assigned the wrong correspondent — review all rules that could match the document's content, and narrow the most common rule's pattern to avoid false matches.

- [Essal Office](https://help.essal.cloud/en/essal-office?hsLang=en#main-content)

    - [Getting started](https://help.essal.cloud/en/essal-office?hsLang=en#getting-started)
    - [Searching and saved views](https://help.essal.cloud/en/essal-office?hsLang=en#searching-and-saved-views)
    - [Correspondents and document types](https://help.essal.cloud/en/essal-office?hsLang=en#correspondents-and-document-types)
    - [Email import](https://help.essal.cloud/en/essal-office?hsLang=en#email-import)
    - [Users groups and permissions](https://help.essal.cloud/en/essal-office?hsLang=en#users-groups-and-permissions)
    - [Sharing documents](https://help.essal.cloud/en/essal-office?hsLang=en#sharing-documents)
    - [Working with documents](https://help.essal.cloud/en/essal-office?hsLang=en#working-with-documents)
    - [Pdf tools](https://help.essal.cloud/en/essal-office?hsLang=en#pdf-tools)
    - [Uploading documents](https://help.essal.cloud/en/essal-office?hsLang=en#uploading-documents)
    - [Archive serial numbers](https://help.essal.cloud/en/essal-office?hsLang=en#archive-serial-numbers)
    - [Workflows and automation](https://help.essal.cloud/en/essal-office?hsLang=en#workflows-and-automation)
    - [Organizing with tags](https://help.essal.cloud/en/essal-office?hsLang=en#organizing-with-tags)
    - [Troubleshooting and faq](https://help.essal.cloud/en/essal-office?hsLang=en#troubleshooting-and-faq)
    - [Account and security](https://help.essal.cloud/en/essal-office?hsLang=en#account-and-security)
    - [Custom fields](https://help.essal.cloud/en/essal-office?hsLang=en#custom-fields)

- [Portal](https://admin.essal.cloud/)
- [Newsroom](https://newsroom.essal.cloud/)
- [Careers](https://careers.essal.cloud/)
- [Help](https://support.essal.cloud/)
- [Status](https://status.essal.cloud/)
- [Contact](https://essal.cloud/contact)
- [Terms](https://legal.essal.cloud/terms)

[![logo](https://help.essal.cloud/hubfs/logo.svg "logo")](https://essal.cloud/)

Essal LLC

<https://facebook.com/essal> <https://www.linkedin.com/company/essal> <https://github.com/essal>

Copyright © 2026, Essal