rooyai-chat

Access 40+ powerful AI models from Rooyai.com in n8n! Get your free API key at https://rooyai.com and use models like Gemini, Claude, GPT-4, Llama, DeepSeek, and more with AI Agent, Basic LLM Chain, and other n8n AI nodes.

Package Information

Downloads: 40 weeklyΒ /Β 255 monthly
Latest Version: 0.5.23
Author: Rooyai

Documentation

n8n-nodes-rooyai-chat

npm version
License: MIT
n8n Community Node

πŸš€ Access 40+ Premium AI Models in n8n with Full AI Agent Support!

Connect to Rooyai.com and unlock access to 40+ powerful AI models including Gemini 2.5, Claude 3.5, GPT-4, Llama 3.3, DeepSeek R1, and more. Fully compatible with n8n's AI Agent for tool calling workflows!


πŸ€– AI Agent Support (Tool Calling)

This node provides full AI Agent compatibility with tool calling support. Your AI can:

  • βœ… Use HTTP Request tools to fetch live data from websites
  • βœ… Call custom functions defined in your n8n workflows
  • βœ… Chain multiple tools in a single conversation
  • βœ… Make intelligent decisions about when to use tools

Example AI Agent Workflow

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Chat Trigger     │────▢│    AI Agent      │────▢│   HTTP Request   β”‚
β”‚                  β”‚     β”‚ (Rooyai Model)   β”‚     β”‚     (Tool)       β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

The AI Agent uses the Rooyai Chat Model to:

  1. Understand user requests
  2. Decide which tools to use
  3. Call tools automatically
  4. Synthesize results into natural responses

✨ Why Rooyai?

Feature Description
πŸ€– 40+ AI Models Access the best models from OpenAI, Anthropic, Google, Meta, and more
πŸ”§ Full Tool Calling Complete AI Agent support with automatic tool detection and execution
πŸ”‘ Free API Key Sign up at rooyai.com to get started
πŸ’° Cost Tracking Built-in tracking of API costs per request
⚑ High Performance Fast, reliable API with real-time streaming responses
🌍 Enterprise Ready Production-grade infrastructure with 99.9% uptime

πŸ“¦ Installation

Via n8n Community Nodes (Recommended)

  1. Go to Settings β†’ Community Nodes
  2. Click Install
  3. Enter: n8n-nodes-rooyai-chat
  4. Click Install

Via npm

npm install n8n-nodes-rooyai-chat

Restart n8n after installation. The node appears under AI β†’ Language Models.


βš™οΈ Quick Start

1. Get Your Free API Key

πŸ”‘ Visit rooyai.com to get your free API key!

2. Create Credentials in n8n

  1. Go to Credentials β†’ Add Credential
  2. Search for "Rooyai API"
  3. Enter your API key from rooyai.com
  4. Click Save

3. Add to Your Workflow

For Basic LLM Chain:

[Rooyai Chat Model] ──▢ [Basic LLM Chain]

For AI Agent with Tools:

[Chat Trigger] ──▢ [AI Agent] ──▢ [Your Tools]
                       β”‚
               [Rooyai Chat Model]

🌟 Available Models (40+)

πŸ”₯ Top Picks

Model ID Best For
Gemini 2.5 Pro gemini-2.5-pro Most capable, complex reasoning
Gemini 2.5 Flash gemini-2.5-flash Fast, cost-effective
Claude 3.5 Sonnet claude-3.5-sonnet Creative writing, analysis
GPT-4 gpt-4 General purpose, reliable
DeepSeek R1 deepseek-r1 Advanced reasoning, math
Llama 3.3 70B llama-3.3-70b Open source, powerful

πŸ’‘ Specialized Models

Model ID Specialty
Qwen3 Coder qwen3-coder Code generation
DeepSeek V3 deepseek-v3 Technical tasks
Kimi K2 kimi-k2 Long context (200K+)
Devstral devstral Development assistant
GLM 4.5 glm-4.5-air Chinese/English

View all 40+ models at rooyai.com β†’


πŸ› οΈ Node Parameters

Parameter Description Default
Model AI model to use gemini-2.0-flash
Temperature Creativity level (0-1) 0.7
Max Tokens Maximum response length 4096

πŸ“– Usage Examples

Example 1: Simple Chat

Connect Rooyai Chat Model to a Basic LLM Chain for simple Q&A:

[Manual Trigger] ──▢ [Basic LLM Chain] ──▢ [Output]
                            β”‚
                    [Rooyai Chat Model]

Example 2: AI Agent with Web Search

Create an AI that can search the web and analyze results:

[Chat Trigger] ──▢ [AI Agent] ──▢ [HTTP Request Tool]
                        β”‚
                [Rooyai Chat Model]

Example 3: Multi-Tool Agent

Build a powerful agent with multiple capabilities:

                    β”Œβ”€β”€β–Ά [HTTP Request]
[Chat Trigger] ──▢ [AI Agent] ──▢ [Code Executor]
                    β”‚   └──▢ [Database Query]
            [Rooyai Chat Model]

πŸ”§ API Configuration

Default Endpoint

  • Base URL: https://rooyai.com/api/v1
  • Chat Endpoint: https://rooyai.com/api/v1/chat

Custom Headers

Add custom headers in credentials for:

  • Organization ID
  • Project tracking
  • Custom routing

πŸ› Troubleshooting

"API key not found"

"Tool calls not working"

  • Make sure you're using v0.5.17 or later
  • Verify tools are connected to the AI Agent
  • Check that the model supports tool calling

"Node not appearing"

  • Restart n8n completely after installation
  • Check n8n logs: docker logs <container_name>

πŸ—οΈ Development

Scripts

npm install     # Install dependencies
npm run build   # Build for production
npm run dev     # Watch mode
npm run lint    # Check code quality

Project Structure

n8n-nodes-rooyai-chat/
β”œβ”€β”€ credentials/
β”‚   └── RooyaiApi.credentials.ts    # API credentials
β”œβ”€β”€ nodes/Rooyai/
β”‚   β”œβ”€β”€ Rooyai.node.ts              # Main node
β”‚   β”œβ”€β”€ RooyaiLangChainWrapper.ts   # LangChain integration
β”‚   └── rooyai.svg                  # Node icon
└── package.json

πŸ“„ License

MIT License - Free for personal and commercial use.


🌐 Resources


Ready to build intelligent AI workflows?

Get Your Free API Key β†’

Access 40+ AI models with full tool calling support πŸš€

Discussion