StackAI Project
The Stack AI Project Node allows you to run (or "call") another Stack AI project from within your current workflow. This is useful for reusing logic, chaining projects, and modularizing complex workflows.
When to Use:
You want to repeat the same logic across multiple projects. Create a project with the repeat logic, then import it in your other projects with a StackAI Project Node.
You want to chain projects together. Create a separate orchestration project and import all the projects you'd like to chain as StackAI Project Nodes.
You want to make a complex project more modular and easier to understand for other builders. Put each branch or section into a separate project and import them as StackAI Project Nodes.
How does it work?
Inputs:
Project: You select which Stack AI Project you want to execute. This is required.
Input Data: You provide the input(s) for the project. This is a list of strings. If you want to run the project multiple times (once for each item), you can enable Loop Mode. Make sure the inputs you select here match the inputs in the project you are importing.
Loop Mode (optional): If enabled, the node will execute the selected project for each item in the input data list, returning a list of results. When turning this ON, encode this input as a JSON list: ["input1", "input2"]
Outputs:
Results: After execution, the node outputs the results from the called Stack AI Project. If Loop Mode is enabled, you get a list of results (one per input); otherwise, you get a single result.
Typical Use Cases
Reusing a pre-built project (like a custom data processor or AI agent) in multiple workflows.
Chaining together multiple projects for advanced automation.
Running a project in bulk on a list of inputs (using Loop Mode).
Example
Suppose you have a project that summarizes text. You can use the Stack AI Project node to call this summarizer from another workflow, passing in user input or data from another node, and then use the summary in your current flow.
Last updated
Was this helpful?