Custom node in AI Panel

Describe the problem/error/question

Anyone know how to put my custom node on the AI Panel? I also want to make a group of actions like Anthropic, OpenAI, etc. shown here. I’ve tried adding “Root Nodes” in the “AI” subcategory field.

Information on your n8n setup

  • n8n version: 1.117.3
  • Database (default: SQLite): default
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): npm
  • Operating system: WSL

To make your custom node appear in the AI Panel, you need to add `usableAsTool: true` to your node’s configuration and set the environment variable `N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true` as mentioned in the [github.com](Custom Node as an AI tool · Issue #12593 · n8n-io/n8n · GitHub) issue.

For creating grouped actions like Anthropic/OpenAI, you’ll need to structure your custom node as a cluster node with a root node and sub-nodes. Check the [community.n8n.io](Custom AI Tool) discussion where users explain that the TypeScript definitions might not include `usableAsTool` yet, so you may need to use `//@ts-ignore` to compile.

The AI Panel specifically looks for nodes with the proper AI tool configuration - simply adding “Root Nodes” to the AI subcategory won’t be enough without the `usableAsTool` property and proper cluster node structure.