Sending data from the app

You may want your app to communicate with the AI agent and send data to it. In Alan AI, the app can send data to the dialog script in the following ways:

authData

Learn how to send any kind of authentication or configuration data from the app to the dialog script.

Visual state

Learn how to send the state of the app to the dialog script. It can be helpful if you want to inform Alan AI about the current visual context and adjust the logic in the dialog, accordingly. For example, you can filter out some commands, give responses applicable to the open page or screen and so on.

Project API

Learn how to send some information to the dialog script or perform actions — play messages, call functions, set variable values — without a voice or text command.

See also