Transaction Rules
Automations (also called Rules) let you automatically update transactions based on conditions you define. Instead of manually categorizing the same types of transactions over and over or renaming transactions, you can create rules that do it for you.
How it works
- Create a rule with conditions that match certain transactions
- Define actions to apply when conditions are met
- Rules run automatically on new transactions, or you can run them manually on existing ones
You likely don't need automations for setting categories if you've turned on auto categorization. Skwad will automatically categorize and learn from your category changes overtime.
Rules maybe helpful for situations where the similar transactions need to be categorized differently. For example: a gym subscription vs a one-time class you gifted to a friend.
Creating a rule
Navigate to Automations from the settings page to create your first rule.
- Click Create your first rule (or the + button if you already have rules)
- Give your rule a name (e.g., "Categorize Amazon purchases")
- Add conditions to match transactions
- Add actions to apply when matched
- Click Save
Conditions
Conditions determine which transactions your rule applies to. You can combine multiple conditions with AND/OR logic.
Available condition fields
| Field | Operators | Example |
|---|---|---|
| Payee | contains, starts with, exact match, not equal, not contains | Payee contains "AMAZON" |
| Merchant | equals, not equal | Merchant is "Amazon" |
| Category | equals, not equal | Category is "Uncategorized" |
| Account | equals, not equal | Account is "Chase Checking" |
| Amount | equals, greater than, less than, etc. | Amount greater than 100 |
| Date | before, after, on, on or before, on or after | Date after Jan 1, 2024 |
Combining conditions
- Use AND when all conditions must match
- Use OR when any condition should match
- Feel free to nest conditions
Example: Match Amazon transactions over $50:
Payee contains "AMAZON"
AND Amount greater than 50
Example: Match Netflix or Spotify:
Payee contains "NETFLIX"
OR Payee contains "SPOTIFY"
Actions
Actions define what happens when a transaction matches your conditions. You can chain multiple actions together.
Available actions
| Action | Description |
|---|---|
| Update payee | Set the payee to a specific value |
| Replace payee text | Replace part of the payee (e.g., remove "PURCHASE" suffix) |
| Update merchant | Set the merchant |
| Update category | Set the category |
| Update account | Move to a different account |
| Update memo | Set the memo field |
| Add tag | Add a tag/list to the transaction |
| Remove tag | Remove a tag/list from the transaction |
| Delete | Archive the transaction |
Action behavior
Each action can be set to:
- Continue - Keep evaluating more rules after this one
- Stop - Stop evaluating rules after this action
Rules are evaluated in order from top to bottom. Use the drag handle to reorder rules. The first matching rule with "Stop" behavior will prevent subsequent rules from running.
Viewing matching transactions
Before running a rule, you can see how many transactions would be affected:
- Click on a rule to expand it
- View the match count showing affected transactions
- Click the count to filter your transactions view to see exactly which ones match
This helps you verify your conditions are correct before applying changes.
Running rules
Automatic execution
Rules run automatically on new transactions about 1 minute after they're processed.
Toggle the Enabled switch on a rule to control whether it runs.
Manual execution
To apply a rule to existing transactions:
- Click the Apply button on the rule
- Confirm the number of transactions that will be affected
- The rule will be queued for processing
Manual runs are useful when:
- You create a new rule and want to apply it to past transactions
- You've imported transactions that need bulk updates
- You want to re-run a rule after fixing conditions
Viewing execution history
The Execution History panel shows all rule runs:
- Status: Pending, Running, Completed, or Failed
- Rule name: Which rule was executed
- Transactions: How many were processed
- Duration: How long the execution took
- Type: Manual (you triggered it) or Automatic (system triggered)
Filtering history
Use the dropdown to filter by:
- All - Show all executions
- Manual - Show only manually triggered runs
- Automatic - Show only system-triggered runs
Execution history updates in real-time. You'll see progress as rules process transactions.
Rule ordering
Rules are evaluated in order from top to bottom. Drag rules using the handle on the left to reorder them.
Why order matters:
- If a rule with "Stop" behavior matches, later rules won't run
- More specific rules should come before general ones
- Put cleanup rules (like removing text from payees) before categorization rules
Best practices
- Start specific, then broaden - Create specific rules first, then add broader catch-all rules
- Use "Stop" wisely - Only use "Stop" when you don't want other rules to apply
- Test with filters first - Use the transaction filter to verify your conditions before creating a rule
- Check match counts - Always verify the match count before running rules manually
- Keep names descriptive - Use clear names like "Categorize Amazon as Shopping" not "Rule 1"
Troubleshooting
My rule isn't matching transactions I expect
Check that:
- The transaction status is "Processed" (pending transactions aren't matched)
- Your condition operators are correct (e.g., "contains" vs "exact match")
- The rule is enabled
My rule matched too many transactions
If you accidentally ran a rule on wrong transactions:
- Use the transactions filter to find affected records
- Use bulk edit to revert changes
- Update your rule conditions to be more specific
- Consider adding an Account or Date condition to narrow matches
Why didn't my new transaction get processed automatically?
Automatic rule execution has a 1-minute delay. If your transaction is very new:
- Wait a few minutes for processing
- Check the execution history for any errors
- Verify your rule is enabled
My execution shows "Failed" status
Common causes:
- Referenced category, merchant, or account was deleted
Try running the rule again. If it continues to fail, check that all referenced items (categories, accounts, tags) still exist.
Can I undo a rule execution?
There's no automatic undo. However:
- Use the transactions filter to find affected transactions
- Use bulk edit to manually revert changes
- For future, check match counts before running rules