Set category rule
set_category_ruleTeach the categoriser: merchants matching a pattern get this category from now on (on the phone too). Optionally re-categorise the existing transactions that match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Regex tested against the merchant, case-insensitive, e.g. '^arabia taxi' or 'talabat' | |
| category_id | Yes | ||
| apply_to_existing | No | Also update unreviewed past transactions whose merchant matches. Default false |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||