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

# PEX Auto Tagger

> Create dynamic rules that auto tag transactions with PEX tags. Creating rules reduces reconciliation time and enhances reporting.

***Watch a step-by-step demonstration [here](https://pex.navattic.com/3mo0z2j)!***

> [!NOTE]
>
> **Note:**
>
> To use this app, tags must be enabled and set up on your PEX account. If your account does not include tags, please contact [adminsupport@pexcard.com](mailto:adminsupport@pexcard.com).

## Install

To use the app:

* Log in to [http://dashboard.pexcard.com/](http://dashboard.pexcard.com/?utm_source=support)
* Navigate to [Apps > Available](https://dashboard.pexcard.com/apps/available?utm_source=support)
* Locate **Auto Tagger**.
* Click **More info** > **Install** > **Launch**.

> [!NOTE]
>
> **Note:**
>
> To install the app, you need to enable the following permissions: *Edit business settings & apps*, *View card transactions*. You can enable them in [My Profile -> Permissions](https://dashboard.pexcard.com/account/permissions?utm_source=support).

## Create Rules

To start, click **Create Rule** on the top right.

![](https://mintcdn.com/pextest/1V_7FmbkFmoW14LH/images/administrator-guide/image-252.avif?fit=max\&auto=format\&n=1V_7FmbkFmoW14LH\&q=85\&s=5b60c900913737acddf9b4c02b65b1fe)

**Step 1**

Set a **name** for the rule (e.g., Fuel, see sample below).

**Step 2**

Select the **category** from the dropdown including Cardholder First Name, Cardholder Last Name, Group, Merchant Category, Merchant MCC Code, Merchant Name, Transaction Any Note, Transaction Approval Status, Transaction Description, or Transaction Type.

* Merchant categories usually include more than one merchant category code. You can add custom merchant categories under [Business Settings -> Merchant categories](https://dashboard.pexcard.com/business-settings/merchant-categories?utm_source=support).

**Step 3**

Specify the condition (e.g., Contains, Does Not Contain) and the value for the rule. The contents will populate based on the information in your profile. *Note: If "Ignore Capitalization" is selected, this criteria will be omitted from the rule selection.*

**Step 4**

Indicate the **PEX tag** and associated value that you would like to use for this rule. Note: Only active PEX tags will be populated. Tags are managed within Business settings > Tag manager.

**Step 5**

Select **Create**.

![](https://mintcdn.com/pextest/1V_7FmbkFmoW14LH/images/administrator-guide/image-253.avif?fit=max\&auto=format\&n=1V_7FmbkFmoW14LH\&q=85\&s=353be107ac139b01e79c946ecfda2f5d)

Once the rule has been created, you will be able to view the ***Priority*** or order to which the rules are applied, ***Name*** that you gave your rule, ***Description*** of what the rule does, ***Enabled*** shows the status of the rule (active/inactive), and ***Updated By*** shows the admin who last updated the rule.

![](https://mintcdn.com/pextest/1V_7FmbkFmoW14LH/images/administrator-guide/image-254.avif?fit=max\&auto=format\&n=1V_7FmbkFmoW14LH\&q=85\&s=e0e822b4dd93a53aea1356cb0d1972c3)

## Add multiple conditions and tags

**Step 1**

Select **Advanced Mode**\*.\*

![](https://mintcdn.com/pextest/1V_7FmbkFmoW14LH/images/administrator-guide/image-255.avif?fit=max\&auto=format\&n=1V_7FmbkFmoW14LH\&q=85\&s=fe5f2eb771c025b97b3e18a27fcf71c1)

**Step 2**

Select **Create Rule**\*.\*

![](https://mintcdn.com/pextest/1V_7FmbkFmoW14LH/images/administrator-guide/image-256.avif?fit=max\&auto=format\&n=1V_7FmbkFmoW14LH\&q=85\&s=e8495ab986b41da5c9a73c86f339b402)

**Step 3**

Add a name and description.

![](https://mintcdn.com/pextest/1V_7FmbkFmoW14LH/images/administrator-guide/image-257.avif?fit=max\&auto=format\&n=1V_7FmbkFmoW14LH\&q=85\&s=096764d854090e72869d6d8d830c07c1)

You can autogenerate a description after you add at least one specification and one tag value. Until then the "Generate" button will be disabled.

**Step 4**

Add specifications. To enter more than one specification, select **+ Add Specification**.

![](https://mintcdn.com/pextest/1V_7FmbkFmoW14LH/images/administrator-guide/image-258.avif?fit=max\&auto=format\&n=1V_7FmbkFmoW14LH\&q=85\&s=a981251c8807c16507c62e2788521ae6)

Note that the "**Condition**" field might have "**Regex Matches**" option for some properties. Example: Property - Merchant Name, Condition - Regex Matches, Value - (\[Ww]almart|\[Tt]arget). If you are interested in regular expressions, you can use [this tool](https://regexr.com/7kmgm).

**Step 5**

Add tags. To enter more than one tag, select ***+ A*****dd Tag Value**\*.\*

![](https://mintcdn.com/pextest/1V_7FmbkFmoW14LH/images/administrator-guide/image-259.avif?fit=max\&auto=format\&n=1V_7FmbkFmoW14LH\&q=85\&s=484de063bfdece0127695e77e71d8a9e)

**Step 6**

Select **Create**\*.\*

![](https://mintcdn.com/pextest/1V_7FmbkFmoW14LH/images/administrator-guide/image-260.avif?fit=max\&auto=format\&n=1V_7FmbkFmoW14LH\&q=85\&s=b07a4e63270c1d73a3e483f96c87fc54)

## Update rules

At any time Admins can edit rules previously created including change the priority of rules to be applied, delete rules, or edit the categories.

**Step 1**

Click on the edit icon to the right of the rule.

**Step 2**

From here you can update the rule name, category & tag values and the priority of the rule.

**Step 3**

Click **Update**.

![](https://mintcdn.com/pextest/1V_7FmbkFmoW14LH/images/administrator-guide/image-261.avif?fit=max\&auto=format\&n=1V_7FmbkFmoW14LH\&q=85\&s=5908f3e6b76e9e6a146fca2d92789407)

## Run Rules

Admins can:

* View the time of last sync.
* Disable all rules from processing:
  * Click on the Manage tab, you'll be able to view if the Auto Tagger is enabled or disabled and the last time of sync.
  * If you would like to disable all active rules from processing, click "DISABLE AUTO TAGGING".
* Admin can also run ad-hoc auto tagging. You don't need to enable auto tagging to run ad-hoc auto tagging.

![](https://mintcdn.com/pextest/1V_7FmbkFmoW14LH/images/administrator-guide/image-262.avif?fit=max\&auto=format\&n=1V_7FmbkFmoW14LH\&q=85\&s=54edb678e999d556b29ff98252740b25)

## Auto Tagger Custom Options

You can set custom options when running ad-hoc auto tagging:

* Click **Run now**.
* Click **Custom options**.
  * Select a start date. Transactions after this date will be processed.
    * Start date must be less than 1 year ago.
    * Leave empty to default to 2 weeks ago.
  * Select an end date. Transactions after this date will not be processed.
    * Leave empty to default to today.
  * Decide if to process closed cardholders.
    * By default, Auto Tagger skips closed cardholder accounts.
  * Decide if to reprocess transactions.
    * By default, Auto Tagger skips transactions it has already tagged.
* Click **Run**.

## FAQ

> [accordion] What transactions does Auto Tagger run my rules against?
>
> Auto Tagger runs your rules only against:
>
> * Active cards' transactions.
> * Settled transactions.
> * Transactions in the "Not Reviewed" and "Rejected" statuses.
>   * If a transaction in the "Rejected" status is tagged, its status reverts to "Not Reviewed".
> * Purchase transactions.
> * Transactions up to 2 weeks in the past and on a go forward basis.

> [accordion] When are the rules applied to transactions?
>
> For first time rule set-up, Auto Tagger will be applied to transactions up to 2 weeks in the past. Once a rule is active, Auto Tagger will update transactions every 60 minutes. To view past tags, click on a transaction and look at the details.

> [accordion] Can I add more than one condition or tag?
>
> Yes. Please visit the adding multiple conditions and tags above.

> [accordion] Are split tags supported?
>
> At this time, split tags are not supported.

> [accordion] Can I auto tag transactions older than two weeks?
>
> Yes, but only manually. To perform this action, follow these steps:
>
> **Step 1**
>
> Click on "Manage"
>
> **Step 2**
>
> Select "Run Now"
>
> **Step 3**
>
> Choose "Custom Options"
>
> **Step 4**
>
> In the Custom Options section, specify the desired start date. Please note that the start date cannot be more than one year in the past.
>
> **Step 5**
>
> Adjust any other options as necessary.
>
> **Step 6**
>
> Finally, click on "Run" to initiate the process.

> [accordion] Why doesn't Auto Tagger retag my transactions?
>
> Auto Tagger tag transactions only once. Auto Tagger adds a transaction note when it tags a transaction. To reprocess and retag transactions, follow these steps:
>
> **Step 1**
>
> Click on "Manage"
>
> **Step 2**
>
> Select "Run Now"
>
> **Step 3**
>
> Choose "Custom Options"
>
> **Step 4**
>
> In the Custom Options section, specify the desired start date. Please note that the start date cannot be more than one year in the past.
>
> **Step 5**
>
> Adjust any other options as necessary.
>
> **Step 6**
>
> Finally, click on "Run" to initiate the process.


## Related topics

- [PEX Connector for Sage Intacct (Credit)](https://support.pexcard.com/administrator-guide/pex-connector-for-sage-intacct-charge.md)
- [PEX Connector for Sage Intacct (Prepaid)](https://support.pexcard.com/administrator-guide/pex-connector-for-sage-intacct-prepaid.md)
- [PEX Connector for Aplos (Credit)](https://support.pexcard.com/administrator-guide/pex-connector-for-aplos-charge.md)
- [PEX Connector for Aplos (Prepaid)](https://support.pexcard.com/administrator-guide/pex-connector-for-aplos-prepaid.md)
- [PEX Connector for Xero (Credit)](https://support.pexcard.com/administrator-guide/pex-connector-for-xero-charge.md)


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