FM
FlowMarket
AI Agents Beginner ⚡ 6 n8n Nodes

AI conversational agent with custom tool written in JavaScript

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 templat...

🔌 Nodes & Integrations Used (1)

n8n Core Logic

📖 Implementation & Setup Guide

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.

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save AI_conversational_agent_with_custom_tool_written_in_JavaScript.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related AI Agents Workflows

View All in AI Agents →