AI: Conversational agent with custom tool written in JavaScript
n8n template #1963Summary
Use templateThis workflow implements a custom tool via JavaScript code which returns a random color to users and excludes the given colors. Note that to use this template, you need to be on n8n version 1.19.4 or later.
Hand off to your agent
Prompt
Help me set up the n8n workflow "AI: Conversational agent with custom tool written in JavaScript" (https://n8n.io/workflows/1963). It uses: AI Agent, OpenAI Chat Model, Code Tool. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.
Paste into Claude Code and it will do the rest.
Apps and nodes
Similar workflows
NameViews
- Custom LangChain agent written in JavaScript14K
- AI Agent to chat with Airtable and analyze data13K
- Reconcile Rent Payments with Local Excel Spreadsheet and OpenAI6,737
- AI-powered multi-platform assistant with Google Suite, LinkedIn & Twitter6,037
- Explore n8n Nodes in a Visual Reference Library5,197
- 🤖 Build an Interactive AI Agent with Chat Interface and Multiple Tools5,090
- Query n8n Credentials with AI SQL Agent4,893
- Time logging on Clockify using Slack4,274