App scripting and events overview

Use JavaScript almost anywhere, control behavior, and respond to user actions with Retool apps.

You can write JavaScript in Retool apps to transform data, control behavior, and configure component properties. You can also configure event handlers that perform actions based on user interactions, such as a button clickโ€”without needing to write any code.

Get started

Learn how to add an event handler to apps, then start implementing your own to handle to user interactions.