For example, reports show that your marketing expenses are regularly exceeding the allocated budget, prompting you to monitor the Marketing Spends account. Alternatively, if you're focused on maintaining a healthy cash flow, keeping a close eye on the Bad Debt account is important. In both scenarios, you can implement today's schedule to stay informed about the account balances.
1. Create a
Connection named
"zbooks" to successfully execute the function. You can watch the GIF attached below to know how to create the connection.

2. Create a custom field called
"Safe Limit" for the Chart of Accounts section. Here, you'll define the limit for the required expense accounts. Upon surpassing this limit, an email alert will be sent to the admin users. To create the field, go to Settings > Preferences > Accountant > Chart of Accounts Custom Fields, then select +New Custom field, input the details, and save.

3. Create another custom field called "Current Balance" for the Chart of Accounts section. This field serves as a reference point for the scheduler to determine whether an account balance has changed since the last notification.
For instance, let's consider the Marketing Spends account with a Safe Limit of $100. If an expense of $200 is recorded, exceeding the limit, the scheduler will send an email to the admin users at the scheduled time. However, the next day, the scheduler will run again and potentially send another email for the same account. To prevent this redundancy, the "Current Balance" field stores the balance of the expense account after each email notification is sent. When the scheduler runs the following day, it compares the closing balance with the balance stored in the custom field. If they match, no email notification is sent. However, if there's a difference and the account balance exceeds the safe limit, the email is triggered.