Python Script Node in Workflow
Demonstrates using the built-in Python Script node inside a workflow: write arbitrary Python inline, access inputs dict, and return results to downstream nodes.
Graph Preview
Execution Flow
Pass input data to Python Script node
Python code runs with inputs dict available
Return dict keys map to output ports
Downstream nodes receive computed results
Node Breakdown
Integrations
Tags
Source
workflows/python_script_node.json
General workflow demonstrating core patterns
Related Examples
Browse all →Image Resizer Node
beginnerResize an image to target dimensions using Pillow. Supports aspect-ratio preservation and multiple resample filters (LANCZOS, BILINEAR, etc.). Outputs the saved path and final dimensions.
ForEach Iteration Pattern
beginnerCanonical ForEach usage: pass a list into ForEach, process each item through a sub-chain, collect results with Collect node, and output the aggregated list.
If/Else Branching
beginnerRoute execution through one of two branches based on a boolean condition. The canonical conditional pattern in Vibrante-Node exec-flow graphs.