title | description | contentType | priority | ||
---|---|---|---|---|---|
Custom n8n Workflow Tool node documentation |
Learn how to use the Custom n8n Workflow Tool node in n8n. Follow technical documentation to integrate Custom n8n Workflow Tool node into your workflows. |
|
high |
The Workflow Tool node is a tool that allows an agent to run another n8n workflow and fetch its output data.
On this page, you'll find the node parameters for the Workflow Tool node, and links to more resources.
--8<-- "_snippets/integrations/builtin/cluster-nodes/sub-node-expression-resolution.md"
Enter a name for your custom code. It can't contain whitespace or special characters.
Enter a custom code a description. This tells the agent when to use this tool. For example:
Call this tool to get a random color. The input should be a string with comma separated names of colors to exclude.
Tell n8n which workflow to call. You can choose either:
- Database and enter a workflow ID.
- Parameter and copy in a complete workflow JSON.
Schema Type: Define the input structure and validation. You have two options to provide the schema:
--8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-sub-nodes/schema-type-structuring.md"
[[ templatesWidget(page.title, 'workflow-tool') ]]
--8<-- "_snippets/integrations/builtin/cluster-nodes/tools-link.md"
--8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md" --8<-- "_glossary/ai-glossary.md"