Skip to content

Files

Latest commit

83c9f5a · Mar 16, 2025

History

History
50 lines (30 loc) · 1.84 KB

n8n-nodes-langchain.toolworkflow.md

File metadata and controls

50 lines (30 loc) · 1.84 KB
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.
integration
reference
high

Custom n8n Workflow Tool node

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"

Node parameters

Name

Enter a name for your custom code. It can't contain whitespace or special characters.

Description

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.

Source

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"

Templates and examples

[[ templatesWidget(page.title, 'workflow-tool') ]]

Related resources

--8<-- "_snippets/integrations/builtin/cluster-nodes/tools-link.md"

--8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md" --8<-- "_glossary/ai-glossary.md"