Custom Functions (Automation)

Custom Functions are small automation scripts that run automatically when something happens in Rentablez — for example, when an order is created, a customer is updated, or an invoice is deleted. They let your organization tailor the platform to your workflow without changing anything by hand: send a notification, stamp a field, sync data to another system, or enforce a rule the moment a record changes.

The Custom Functions page in Settings is where you review the automations configured for your organization and check whether they are running successfully. It is a monitoring and transparency tool — a read-only window into the automation running on your account.

Setup is handled for you. Writing and deploying a custom function is a developer-facing task carried out by the Rentablez team as part of your onboarding or a custom request. You cannot create or edit scripts directly from this page. Reach out to Rentablez support if you need a new automation or a change to an existing one.

Where to Find It

Open Settings, then in the left sidebar expand Integrations and choose Custom Functions.

Viewing this page requires access to Settings. Because scripts can touch data across many modules, this area is intended for administrators.

What a Custom Function Is Made Of

Every custom function is tied to a module and a trigger event. Together they answer the question: “When should this automation run?”

PartWhat it means
ModuleThe area of the app the automation watches — for example Orders, Customers, Invoices, Maintenance, or Assets.
Trigger eventThe action that fires the script — On Create, On Update, or On Delete.
StatusWhether the automation is currently Active (running) or Inactive (paused).
ScriptThe logic that runs. Shown read-only for reference.

So a function on the Orders module with an On Create trigger runs every time a new order is saved. Custom Functions can be attached to a wide range of modules across the platform, including orders, customers, enquiries, invoices, payments, maintenance, inspections, contracts, and more.

Browsing Your Functions

The list shows one row per automation with its Name, Module, Trigger, and Status.

To find a specific automation:

  1. Type into the Search functions box to match by name.
  2. Use the All Modules dropdown to narrow the list to a single module.
  3. Page through results using the pager at the bottom.

If you see “No custom functions configured for your organization,” nothing has been set up yet. That is normal — most accounts run without any custom automation.

Viewing a Function’s Details

Click the view (eye) icon on any row to open its detail page. Here you can review everything about the automation in one place:

  • Function Name and Description — a plain-language summary of what it does.
  • Source Module and Trigger Event — when it runs.
  • Status — Active or Inactive.
  • Script — the underlying logic, shown in a read-only code panel for reference.

Use Back to List in the top-left to return to the overview.

Checking Execution Logs

Every time a custom function runs, Rentablez records the result. From a function’s detail page, click Execution Logs to open a history of its recent runs.

The logs panel gives you an at-a-glance summary and a run-by-run timeline:

Summary statMeaning
SuccessNumber of runs that completed without error.
ErrorsNumber of runs that failed.
Avg DurationHow long the function typically takes to run.
SDK CallsHow much work the function did behind the scenes.

Use the filter chips — All, Success, Error, Timeout — to focus on a status. Click any run in the timeline to expand it and see:

  • The Error message, if the run failed.
  • The Console Output logged while the script ran.
  • The Trigger Payload — the data the record contained when the automation fired.

Troubleshooting tip: If an automation isn’t behaving as expected, open its Execution Logs and filter to Error. The error message and trigger payload together usually point straight to the cause. Share that detail with Rentablez support to speed up a fix.

Turning Automations On or Off

The Active / Inactive status controls whether a function currently runs. Because scripts are managed by the Rentablez team, changing a function’s status — or pausing one temporarily — is done through support rather than from this page. If an automation is causing problems, note its name and contact support to have it paused.