Creating a Workflow Rule

Now that there we finished the function, save it and set up a workflow rule to trigger it! Settings > Automations > Workflow Rules

We want to trigger it out of the Customer Payments module, every time a new payment is created.

Workflow Rules in Zoho Books