Autorun AI Docs

UI Function

UI functions (also called UI processes) are the frontend logic of an Autorun application. They run in the browser, attached to a button, a page load, a field change, or any other component event.

This section covers:

UI process code written for the previous frontend will not run

Flat helpers such as context.createEntity, context.getEntity, context.updateComponentByName, and context.mutate no longer exist. Data goes through context.sdk.entities.*. Component control goes through context.component.*. See Coming from the previous frontend.

On this page