---
title: "How to Create Automation Rules"
description: "Set up Automation Rules to label, categorize, forward, or export documents automatically. Build rules with the AI generator or manually, and monitor every run."
url: https://help.receiptor.ai/en/articles/12087609-how-to-create-automation-rules
collection: "Automation Rules"
updated: 2026-11-03
language: en
---

# How to Create Automation Rules

Set up Automation Rules to label, categorize, forward, or export documents automatically. Build rules with the AI generator or manually, and monitor every run.

Automation rules let Receiptor AI do the repetitive work for you — labeling, exporting, filing, and more — without any manual steps. Set them up once and they run automatically every time a document matches your conditions.

* * *

## What is an Automation Rule?

Every automation rule has three components:

-   **Trigger** — what event starts the rule. Options: **Document is created**, **Document is edited**, **Document is deleted**, **All**, or **On Schedule** (for time-based runs).
    
-   **Conditions** — optional filters that narrow which documents the rule applies to. You can filter on any document field: vendor, amount, document type, payment status, label, source, and more.
    
-   **Actions** — what happens when the trigger fires and conditions are met. Options: **Send Email** (forward the document), **Store In** (save to Google Drive or Dropbox), **Send to Integration** (push to Xero or QuickBooks), or **Set Value** (update any field on the document, such as a label or category).
    

A rule can have multiple conditions and multiple actions.

* * *

## How to Create a Rule

1.  Go to **Automations** in the left sidebar.
    
2.  Click **Create Rule**.
    
3.  Choose how you want to build it: with the **AI Generator** (recommended for most users) or **manually**.
    

## Using the AI Generator

1.  Click **AI Generator**.
    
2.  Describe what you want in plain English — for example: “Label any receipt from Amazon as ‘Software’ and export it to Xero.”
    
3.  Receiptor AI generates the rule for you. Review the trigger, conditions, and actions.
    
4.  Click **Save** to activate the rule.
    

## Building Manually

1.  Click **Build Manually**.
    
2.  Select a **Trigger** from the dropdown.
    
3.  Add one or more **Conditions** using the condition builder. Choose a field, operator (is, is not, contains, greater than, etc.), and value.
    
4.  Add one or more **Actions**. For each action, choose the action type and configure its settings.
    
5.  Click **Save**.
    

* * *

## Built-In Presets

Receiptor AI includes ready-made automation presets for the most common use cases — things like syncing new documents to Xero or saving everything to Google Drive. Go to **Automations** to browse available presets and turn them on with a single click, no configuration needed.

* * *

## Automation Runs

Every time a rule fires, Receiptor AI logs the event in **Automation Runs**. This gives you full visibility into what happened to each document.

To view runs, go to **Automations** and click **Runs** (or click into a specific rule and open its Runs tab).

For each run you can see:

-   **Document** — which document triggered the rule
    
-   **Rule** — which rule fired
    
-   **Status** — whether the run succeeded or failed
    
-   **Timestamp** — when it ran
    
-   **Details** — what action was taken and on what document fields
    

This is useful for auditing, troubleshooting rules that aren’t behaving as expected, or simply confirming that a document was exported or labeled correctly.

* * *

## Practical Examples

## Example 1 — Auto-label software expenses

-   **Trigger**: Document is created
    
-   **Condition**: Vendor contains Notion, Figma, GitHub, AWS (add each as a separate condition with OR logic)
    
-   **Action**: Set Value → Label → Software
    

Every time a receipt from one of those vendors is extracted, it gets the “Software” label automatically.

## Example 2 — Auto-export all invoices to Xero

-   **Trigger**: Document is created
    
-   **Condition**: Document Type is Invoice
    
-   **Action**: Send to Integration → Xero
    

New invoices land in Xero as Bills the moment they are extracted, with no manual export step.

## Example 3 — Schedule a weekly CSV export

-   **Trigger**: On Schedule → Every Monday at 8:00 AM
    
-   **Conditions**: Date is within the past 7 days
    
-   **Action**: Send Email → your accountant’s email address, format CSV
    

Your accountant receives a weekly digest automatically without you doing anything.

* * *

## Common Questions

**Q: What happens if a document matches more than one rule?**

A: All matching rules run. There is no conflict, each rule executes independently with a priority you can define.

**Q: Can I pause a rule without deleting it?**

A: Yes. Use the toggle next to any rule in the Automations list to enable or disable it.

**Q: Does the Send Email action require any special setup?**

A: Yes. To auto-send emails, you need to authorize email sending permissions on your connected inbox. Go to Settings > Inbox Settings > Permissions > Authorize email sending.

* * *

## Support

Contact us via the in-app chat or at [info@receiptor.ai](mailto:info@receiptor.ai).
