Backend Script Node
| Description | The Backend - Script node allows executing custom code on the backend (server side) during the flow execution. |
| Available in | Authentication, Admin, Self Service, API, Consent, Library, Custom, User Defined |
| Node Name | Backend - Script |
Script Configurations
Script Execution URL
Is the URL of the docker component **io-executor-script** that runs in the environment and will execute the script. Example: `http://io-script-executor-id-1:8089/{{flow.domain_id}}/common/script-executor/2.0/Scripts/run`Script to execute
Allows defining **custom JavaScript** that is executed at **backend level (server side)**. Since the script runs on the server side, it is suitable for handling sensitive data and secure operations.Available Node modules
The **Available Node Modules** section allows loading external **Node.js packages** that can be used within the backend script. Packages are retrieved from the public npm registry and made available for use in the script.Variable Output Table
The **Variable Output Table** defines the possible outputs of the node and allows you to create **custom outputs** that can be used during the flow execution. Each custom output represents a possible **exit path** from the node and can be triggered from a **script** executed inside the node using a **callback function**. **Callback example from the script:** `return callback({"output": "next", "data": response)`Save in the Flow store
Attributes can be saved **into a variable** for reuse by other nodes. See [Common Configurations]({filename}/pages/io/io-nodes/io-node-types/common-configurations.md#save-in-the-flow-store) for details.Default Output Node
- Failure
Note: By default, the Backend Script node only has a Failure exit. Any other outputs must be defined in the Variable Output Table configuration.