Insites Docs Instance APIControllersControllers Introduction

Controllers Introduction

Last updated on March 24, 2026.

Controllers are reusable blocks of logic that you define once and call from multiple places in your Instance. They help you avoid duplicating code and ensure that business logic is applied consistently, regardless of where it is triggered.

When a Controller is called, it receives any input you provide, runs the logic defined in its body, and returns a result. You can use that result immediately on the same page or pass it along to another process.

Please refer to the following article for more information on working with Controllers:

Have a suggestion for this page?

Didn't quite find what you are looking for or have feedback on how we can make the content better then we would love to hear from you. Please provide us feedback and we will get back to you shortly.