# Rule Builder

**URL:** <https://community.monzo.com/t/rule-builder/7937>\
**Category:** Feedback & Ideas\
**Created:** [20 March 2017 12:58 UTC](https://community.monzo.com/t/rule-builder/7937 "2017-03-20T12:58:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tommy5dollar](https://dub1.discourse-cdn.com/monzo/user_avatar/community.monzo.com/tommy5dollar/32/90042_2.png) [@tommy5dollar](https://community.monzo.com/u/tommy5dollar)\
**Post date:** [20 March 2017 12:58 UTC](https://community.monzo.com/t/rule-builder/7937/1 "2017-03-20T12:58:44Z")

</div>

I’ve seen a number of people make requests around notifications and various seemingly custom actions they want performed.

It would be really good if Monzo looked at creating a rule builder (in the long-term) which allowed you to set actions to be taken when particular events occur. Whilst I’m sure this could be done using the API and IFTTT it would also be good to bring it to ordinary people via the app.

A few examples:

1. ON [transaction] IF [account.oldBalance] \>= 100 AND [account.newBalance] \< 100 THEN [send\_sms=“Balance low”]
2. ON [transaction] IF [merchant.tag] = “Salary” AND [transaction.amount] \> 500 THEN [transferTo(“Savings”)]

There are obviously hundreds of combinations and this could take place of a large number of the threads on the forum.

---

<div class="post-metadata">

**Author:** ![Andy1](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@Andy1](https://community.monzo.com/u/Andy1)\
**Post date:** [20 March 2017 13:19 UTC](https://community.monzo.com/t/rule-builder/7937/2 "2017-03-20T13:19:11Z")

</div>

I suggested something before regarding ‘intelligent regular transfers’

> [@Set up regular transfers with intelligence](https://community.monzo.com/t/set-up-regular-transfers-with-intelligence/7662):
>
> I see that initiate payments via the API is on the roadmap, so those of us with the skills (and the time and inclination) can set something like this up ourselves easily. But for everyone else I was wondering what everyone though of the following feature: Allow users to set up regular payments with a level of ‘intelligence’. For example, on payday transfer 75% of last month’s remaining money to one account and the rest to an internal savings pot. Payday could be determined either by the date …

I think your idea is better, it will allow more versatility.

---

<div class="post-metadata">

**Author:** ![AlexM](https://dub1.discourse-cdn.com/monzo/user_avatar/community.monzo.com/alexm/32/29189_2.png) [@AlexM](https://community.monzo.com/u/AlexM)\
**Post date:** [20 March 2017 17:25 UTC](https://community.monzo.com/t/rule-builder/7937/3 "2017-03-20T17:25:21Z")

</div>

+1! This is a great idea and would be incredibly versatile. Fingers crossed for the future 👊

---

<div class="post-metadata">

**Author:** ![tommy5dollar](https://dub1.discourse-cdn.com/monzo/user_avatar/community.monzo.com/tommy5dollar/32/90042_2.png) [@tommy5dollar](https://community.monzo.com/u/tommy5dollar)\
**Post date:** [5 April 2017 08:45 UTC](https://community.monzo.com/t/rule-builder/7937/4 "2017-04-05T08:45:50Z")

</div>

Another use case; reclassifying transactions from a vendor into the right category. For instance:

ON [transaction] IF [[merchant.ID](http://merchant.ID)] = “Tesco” AND [transaction.Description].Contains(“fuel”) THEN [setCategory(“Transport/Fuel”)]

ON [transaction] IF [[merchant.ID](http://merchant.ID)] = “Tesco” AND [transaction.Location] = “123” THEN [setCategory(“Eating Out/Lunch”)]  
ON [transaction] IF [[merchant.ID](http://merchant.ID)] = “Tesco” AND [transaction.Time].Equals(“13:00”, WithinOneHour) THEN [setCategory(“Eating Out/Lunch”)]

ON [transaction] IF [[merchant.ID](http://merchant.ID)] = “PayPal” AND [transaction.Description.Contains(“Spotify”) THEN [setCategory(“Entertainment/Music”)]

I even see that Monzo/the community could pre-build a large number of rules (into sets) such as identifying particular merchant locations as fuel stations, etc.

---

<div class="post-metadata">

**Author:** ![jzw95](https://dub1.discourse-cdn.com/monzo/user_avatar/community.monzo.com/jzw95/32/5896_2.png) [@jzw95](https://community.monzo.com/u/jzw95)\
**Post date:** [5 April 2017 11:51 UTC](https://community.monzo.com/t/rule-builder/7937/5 "2017-04-05T11:51:16Z")

</div>

As an addition to any rule feature, it would be great if the iOS version could tie into the amazing [Workflow](https://www.workflow.is). I realise that how Workflow integrations will work in the future is a bit up in the air, given Apple’s recent acquisition. But I’m sure there will be an opportunity there, whether with Workflow as an app, or if it is integrated into iOS. The power of Workflow is just incredible, so could be really useful. If :monzo: decides to implement some sort of rule builder, hopefully the Workflow integration path will be clear by then. 😃

---

<div class="post-metadata">

**Author:** ![tommy5dollar](https://dub1.discourse-cdn.com/monzo/user_avatar/community.monzo.com/tommy5dollar/32/90042_2.png) [@tommy5dollar](https://community.monzo.com/u/tommy5dollar)\
**Post date:** [5 April 2017 12:12 UTC](https://community.monzo.com/t/rule-builder/7937/6 "2017-04-05T12:12:15Z")

</div>

I’m not an expert on Workflow but surely as long as Monzo expose everything by API and give powerful enough webhooks then everything needed for Workflow should be covered?

---

<div class="post-metadata">

**Author:** ![jzw95](https://dub1.discourse-cdn.com/monzo/user_avatar/community.monzo.com/jzw95/32/5896_2.png) [@jzw95](https://community.monzo.com/u/jzw95)\
**Post date:** [5 April 2017 12:43 UTC](https://community.monzo.com/t/rule-builder/7937/7 "2017-04-05T12:43:12Z")

</div>

I don’t fully understand the technical details of how it works, but I think Workflow requires x-callback URLs in the Monzo app. At the moment. Apple recently (within the past couple of weeks) bought Workflow. Whether they will change the integration model in the future remains to be seen. But I guess all of this could be assessed if/when Monzo start designing a rule builder.

To be clear, I think that even without Workflow support, your rule builder idea is great! It’s just that being able to tie it into other iOS apps/processing would make it even better. 😃
