Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

AI: Conversational agent with custom tool written in JavaScript

n8n template #1963
This 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
  1. Custom LangChain agent written in JavaScript14K
  2. AI Agent to chat with Airtable and analyze data13K
  3. Reconcile Rent Payments with Local Excel Spreadsheet and OpenAI6,737
  4. AI-powered multi-platform assistant with Google Suite, LinkedIn & Twitter6,037
  5. Explore n8n Nodes in a Visual Reference Library5,197
  6. 🤖 Build an Interactive AI Agent with Chat Interface and Multiple Tools5,090
  7. Query n8n Credentials with AI SQL Agent4,893
  8. Time logging on Clockify using Slack4,274
Buy me a coffee