There are two types of nodes in the workflow editor:
- Custom Node: Create your own node by providing the node function and the UI schema.
- Template Nodes: Select pre-defined nodes that you can directly use as part of your workflow
There are several configurations available for nodes in the workflow editor.
-
Each input mapping has:
- Name: The parameter name in the node function
- Variable Type: How the input is provided
USER_INPUT
: Value provided by user through UI
WORKFLOW_VARIABLE
: Value from another node's output
CONSTANT
: Fixed value defined at node creation
IGNORE
: Input is ignored, useful for template nodes where you can't delete the existing inputs
- Source Node: For workflow variables, specifies which node provides the value. A node can take inputs from any ancestor node, not just the predecessor node.
- Output Name: For workflow variables, specifies the output name of the source node
- Required: For user inputs, whether the input is mandatory to be provided by the user
-
- Customize the UI form for user inputs using JSON and UI Schema. Refer JSON Schema Playground for AI Agents for more details.
- Supports: Text fields, File uploads, Checkboxes, Radio buttons, Dropdowns, Number inputs, Date inputs
- Node Function Name: Name of the Python function implementing the node's logic
- Source Code: The actual Python code for the node's function, which will be executed when the node is run. Use the abacusai module to interact with the Abacus.AI platform.
-
- Template Name: Identifier for the template being used
- Configs: Template-specific configuration values
-
- Sleep Time: Time in seconds to wait before re-executing the workflow (for periodic triggers)