Actions8
- Table Actions
- Endpoint Actions
- Pipeline Actions
- Query Actions
- Script Actions
Overview
This node allows you to run a script within the UbuntuFabric platform by starting a script run identified by an interface name or ID. It supports different run modes such as SHELL, API, and STREAMLIT, enabling flexible execution environments depending on your needs.
Common scenarios include:
- Automating script executions in different environments.
- Triggering data processing or transformation scripts hosted on UbuntuFabric.
- Integrating script runs into larger workflows where scripts need to be executed programmatically.
For example, you might use this node to start a data cleaning script (identified by its interface ID) in STREAMLIT mode to prepare data before further analysis.
Properties
| Name | Meaning |
|---|---|
| Interface Run Name or ID | Select or specify the script run to start by choosing from a list or providing an ID via expression. |
| Run Mode | Choose the mode in which to run the script. Options: SHELL, API, STREAMLIT. |
Output
The node outputs JSON data representing the response from the UbuntuFabric API when starting the script run. This typically includes details about the initiated run such as status, run identifiers, timestamps, or any messages returned by the service.
No binary data output is indicated.
Dependencies
- Requires an API key credential for authenticating with the UbuntuFabric platform.
- The node makes HTTP POST requests to the endpoint
api/interface_runs/on the base URLhttps://app.ubuntufabric.io/. - Proper configuration of the API authentication credential in n8n is necessary.
Troubleshooting
- Invalid Interface ID: If the provided interface ID does not exist or is incorrect, the API may return an error indicating the script run could not be found. Verify the ID or select from the dropdown list.
- Authentication Errors: Missing or invalid API credentials will cause authentication failures. Ensure the API key credential is correctly set up.
- Unsupported Run Mode: Providing a run mode outside the allowed options (
SHELL,API,STREAMLIT) will likely result in errors. Use only the supported values. - Network Issues: Connectivity problems to
https://app.ubuntufabric.io/can cause request failures. Check network access and proxy settings if applicable.
Links and References
- UbuntuFabric Documentation (general platform info)
- n8n Expressions Documentation (for using expressions in property fields)