Skip to content

Create and manage policies

Policies are the standing rules your team keeps over its documents. They sit on the Automation page. This guide covers creating a rule of each kind, choosing which documents it applies to, and running the table day to day.

The policies table

Each rule is a row. By default the table describes each rule in plain English, in a What it does column: what the rule does, to which documents, and when, for example "Runs the workflow Supplier contract check on documents in Supplier contracts, for those arriving after 29 Oct 2026, and again on each new version." Point at a sentence to see the rule's title. The speech-bubble button at the top right of the table switches between this and the detailed view, which has columns for Title, Type, and Details instead; the table remembers your choice. Type shows as a colour-coded label: teal for an agent policy, the colour policy runs have in Activity, and purple for an automation. In either view the table also has a Last activity column, and Created and Owner columns you can turn on from the Columns menu, and every row carries an Active control, Show activity, Edit, and Delete. Select a column header once to sort the table by it in ascending order, again for descending, and a third time to return to the default order, newest rule first; the Status and Actions columns do not sort. In the cards view, each card shows its title above the same sentence.

Last activity is not shown by default — turn it on from the Columns menu. It shows when the rule last fired, or a dash if it has not fired yet. Select the date to see what the rule has done.

Create a policy with AI

Select + beside Policies, then Create with AI, to describe the rule you want in plain English instead of filling in the form. A discussion opens in a window over the table. The agent asks what it needs to know and proposes the rule; the proposal appears at the top of the table straight away, for you to accept or discard as below. You can ask for several rules, or changes to your own, in the same discussion. The discussion is also listed under Discussions; opened there, it offers Open on the Automation page to bring you back to the table. Create manually opens the form described under Create a policy.

Proposals waiting for you

When you ask the agent in a discussion to set up a policy or an automation, or to change one of yours, it proposes the rule rather than creating it. Your open proposals wait at the top of the table, marked Proposed or Proposed change, each described in plain English; only you can see them. A proposal says how many documents it already applies to: for a policy, choose whether it runs on those as well as new ones, only on documents that arrive from now on, or starts switched off; a policy on a timetable is switched on, to run first at its next scheduled time, or starts switched off; an automation acts on those at once, or starts switched off. Acting on more than 25 existing documents, or re-checking more than 25 on a timetable, asks you to confirm. Accept creates or changes the rule, exactly as if you had made it here; Discard drops the proposal. A proposal for a workflow still waiting in a draft can only be accepted once the workflow is, in the discussion that drafted it.

See what a policy has done

Select Show activity on the row, or the date in its Last activity column. The Activity window lists what that one rule has done.

  • For an action, each entry names the document, what happened to it — for example, "Filed in Contracts", "Already in Contracts", or "Skipped: already acted on once" — and why the rule looked at it. The reason says whether the rule was created or edited, whether the document was added or changed, or whether it was filed into or out of a collection. When another rule did the filing, the reason names that rule: "Because File urgent documents filed it in Urgent". The newest entries come first; select Show older for earlier ones.
  • For an agent policy, the window lists the documents the policy applies to now, each with the state of its latest run, "Run due" when one is on its way, or "No run yet".

To follow an agent policy's runs and read what they produced, use Activity at the top of the page — see Track agent runs.

Create a policy

Select the + button on Policies. The Create new policy window opens.

  1. Give it a title. The box is labelled with the placeholder "Short name for this policy". Create stays unavailable until you enter one.
  2. Choose the type. The menu starts on Agent (text) and offers Agent (text), Agent (workflow), and Action: add to collection. The body of the window swaps to the form for whichever you pick. Choose carefully: the type is fixed once the rule is created.
  3. Fill in the type-specific part, as described below.
  4. Set the firing and the applies-to sections — see the two sections further down this page.
  5. Decide whether it starts active. Active on save is ticked by default. Untick it to create the rule inactive.
  6. Select Create.

Selecting Cancel, pressing Escape, or selecting outside the window closes it without creating anything.

Once you create the rule, it appears in the table under your name, with the label for the type you chose. It is active if you left Active on save ticked. For an action type, the rule changes any documents that already match straight away. An agent policy, likewise, runs on every document that already matches, each a separate run, as well as on each new one; untick Run on documents that already match when you create it to run only on documents that arrive from now on.

Agent (text)

This is the plain-English kind. The window explains it as: "Describe in plain English what you want extracted or produced for the documents below — e.g. 'Extract execution date, title and parties, then summarise the term clauses'."

Write the job into the box, which carries the placeholder "Describe the processing in plain English...". Once you have a title and a description, Create becomes available.

Agent (workflow)

This kind runs a workflow your team has already built. When you draft a workflow with Create with AI, the agent can propose its policy for you, and you accept it beside the draft instead of creating it here. A picker replaces the description box. It offers your team's text-mode workflows — the rule applies the chosen workflow to every document it targets. Workflows that present their own interactive screens are not eligible here.

Nobody is there to fill in the workflow's inputs when a policy runs it, so the policy fills them. When you choose a workflow that has inputs, they appear under Inputs for every run, filled with the values stored in the workflow. Change any you need: your values apply to every run of this policy, and an input you leave at its stored value keeps following the workflow. A document you choose is read alongside each document the policy targets, so one workflow that checks contracts against standard terms can serve two policies, one comparing goods contracts with your goods terms and one comparing services contracts with your services terms. Create stays unavailable until every required input has a value. Drafts can't be chosen until you accept them.

If a workflow later gains a required input, loses a stored value the policy relied on, or a chosen document is deleted, the policy's runs fail and say which input needs a value. Edit the policy and fill it in.

If the team has no eligible workflow, the picker says "No text-mode workflows available in this team yet. Create one from the Workflows tab and come back." and Create stays unavailable until one exists.

Action: add to collection

This kind files matching documents into a collection the moment they match. Pick the collection from the Target collection menu, which lists the team's collections. The add is skipped for any document that is already a member, so the rule is safe to leave running.

If the team has no collections, the menu says "No collections available in this team yet." and Create stays unavailable. With a title and a collection chosen, Create becomes available.

Action: add tags, and Action: remove tags

These kinds add tags to matching documents, or take tags off them, the moment they match. Tick the tags under Tags to add or Tags to remove; the list shows your team's tags, so tag a document first if the tag you want is not there yet. A document that already has the tags, or already lacks them, is left as it is. They are offered while tags are switched on in your preferences.

Because a policy can choose documents by tag, a tag automation can set off another rule: tag every contract in Supplier contracts as supplier, and a policy that applies to documents tagged supplier runs on each of them. Renaming or merging a tag in Settings updates the automations that use it, and a tag an automation uses cannot be deleted until you change the automation.

Choose which documents it applies to

The Applies to section is the same whichever type you picked. It has three parts, and a preview.

  • Pinned documents (always match) — search for a document and pin it. A pinned document matches whatever the filters say.
  • Filters — Role, Collection, Tags, and Owner. Set each one to include a value or exclude it. Filters combine: a document has to pass every filter you have set. You manage the collections and tags themselves on the Documents page — see Manage collections and Manage tags.
  • Added — choose documents by when they were added to the library: Added after or Added before a date, Added in the last so many days, months, or years, or Added more than so long ago. Every one you fill in has to hold. Dates count in UTC.
  • Excluded documents (never match) — search for a document and add it. An excluded document never matches, even if you pinned it or a filter catches it.

The Preview below reports how many documents currently match and lists them, updating as you change the pins, filters, and exclusions.

A rule that uses Added in the last or Added more than … ago keeps up with time on its own: once a day, each document that has come into the range is picked up, so an automation set to untag documents more than a year old untags each one as it turns a year old. An agent policy with Added more than … ago runs on each document on the day it crosses the line. A document leaving the range is not undone. Only the date a document was added can be filtered on, not dates written inside it.

Leaving all three empty is allowed. Create stays available, and the rule matches nothing until you come back and scope it.

Set when it fires

The Firing section carries a Fire on control, set to Each new document version. Action types offer a further choice: apply the rule once to a document, or keep enforcing it.

Run a policy on a timetable

An agent policy normally runs on each matching document as it arrives. Set When it runs to On a timetable to have it run daily, weekly, or monthly instead, at a time in your time zone. Under Each time, choose what it does:

  • Make one digest of the documents works through the matching documents together and gives one answer, such as a weekly summary of new supplier contracts.
  • Re-check each document runs the agent on each matching document again, one result per document, such as checking every lease each month for break dates coming up. See Re-check documents on a timetable.

For a digest:

  • Each run covers the documents that arrived since the last run, or, if you prefer, every matching document. A run takes in at most 25 documents, the newest first, and says if it left any out.
  • If there is nothing new, the run is skipped. Tick Tell me when there is nothing new to hear about it instead.
  • If the service was down when a run was due, the policy runs once when it can, covering the whole missed period.
  • A scheduled policy that fails three times in a row switches itself off, and you are told.

With Save each result to documents, each digest becomes its own document, titled with its date and linked to the documents it covered.

Re-check documents on a timetable

A re-check reads documents again because the calendar has moved on, not because they changed: a break date that was a year away is now two months away. Each time it runs:

  • It re-checks up to 50 matching documents, each one a separate agent run. Those re-checked longest ago go first, and any beyond 50 wait for the next time, so a large set is covered in turn. The window tells you about how many runs each time will make, and asks you to confirm when more than 25 documents match.
  • Each document's result is its own, as with a policy that runs on each document: in Activity it reads Scheduled re-check of this document, and with Save each result to documents it becomes a new version of that document's earlier result.
  • You get at most one notice each time. Pair a re-check with When the agent flags something to hear only about documents newly flagged: a lease still flagged from last month is not announced again, though Activity still shows it. Selecting the notice opens the policy's activity.
  • A re-check does not also run when a document arrives; a new document is first checked the next time. Keep a separate policy that runs on each document if you need both.
  • If every re-check fails three times in a row, the policy switches itself off, and you are told.

Keep a policy's results and hear about its runs

An agent policy can save what it finds and tell you when it runs. Both settings sit near the bottom of its window.

  • Save each result to documents decides whether each run's result becomes a document you own, titled after the policy and linked to the document it ran on. For a policy that runs a workflow, As the workflow says follows the workflow's own setting, and is where a new policy starts; Save and Do not save decide for this policy whatever the workflow says. A policy with written instructions has no workflow to follow, so it saves only when set to Save. With Save, choose a collection under File it in to keep the results together. When the policy runs again on a new version of the same document, the result is saved as a new version of the earlier one, so each document has one result document. Saved results never set off another agent policy.
  • Tell me chooses when a notice appears in your notifications: When a run fails (the default), When the agent flags something, Whenever a run finishes, or Never. Select a notice to open the run in Activity. If a result cannot be saved, you are always told.

Hear only when something needs attention

Choose When the agent flags something and describe, under Flag when, what you want to hear about, in your own words: "an indemnity is uncapped", or "the break date falls in the next 90 days". Each run then says whether that holds, and you are told only when it does, or when a run fails. This suits a policy over many documents where only a few will need you. A digest on a timetable gives one answer for its whole period, naming the documents concerned.

In Activity, a run that flagged something shows Flagged and the reason above its result, with the passages from the document that the agent relied on quoted beneath it. The notice quotes the first of them, so you can see what triggered the flag without opening the document.

If a run could not say either way — for example because the document's text could not be read — you are told, and the run shows Could not tell, so a missed flag never passes silently.

If the condition cannot apply to a document at all, such as a break date on a confidentiality agreement caught by the same filter as your leases, the run shows Does not apply with the reason, and you are not told. Narrow the policy's documents if you see this often.

Activate and deactivate a policy

Select the Active control on the row to turn a rule on or off. A rule you created with Active on save unticked starts inactive; turn it on here whenever you are ready.

Edit a policy

Select Edit on the row. You can change anything except the type: the Type menu is disabled, under the caption "Type is fixed once the row is created." To change a rule's type, create a new rule and delete the old one.

Editing an older rule may show a type the create menu no longer offers — one that sets a document's role, or one that removes documents from a collection. The menu is disabled either way, so the rule keeps doing what it has always done.

Delete a policy

Select Delete on the row.

Act on several policies at once

Tick the rows you want. Four bulk actions are available:

  • Activate and Deactivate flip every selected rule accordingly, and the table updates as it happens. You can mix agent policies and automations in one selection.
  • Delete asks you to confirm, then deletes the rules you own. A team administrator can delete any of them; anything you cannot delete is left alone. A mixed selection is handled in the one confirmation.
  • Clear selection unticks everything.