Knowledge Base Sections ▾

Navigation

▸ Start here By roles

Categories

Tools 52
Glossary 12

Tools

n8n + Gonka AI - automation with cheap AI

n8n is a powerful open-source platform for workflow automation. Visual builder, 400+ integrations, self-hosted — full control over your data. Since 2024, n8n has been actively developing AI features: AI Agent node, chatbots, document processing with LLMs.

n8n's AI nodes support OpenAI-compatible APIs. That means JoinGonka Gateway connects through a standard interface — no custom nodes or plugins needed.

The result: AI automation (email classification, response generation, data analysis) for $0.0069/1M tokens instead of $2.50-15 with OpenAI.

Step 1: Get API Key

Standard procedure:

  1. Register at gate.joingonka.ai/register.
  2. Bonus of 3M free tokens.
  3. Create a jg-xxx key in Dashboard → API Keys.

Step 2: Configure n8n

In n8n, create a new Credential for OpenAI:

  1. Go to Settings → Credentials → Add Credential.
  2. Choose the type: OpenAI API.
  3. Fill in:
    • API Key: jg-your-key
    • Base URL (Custom): https://gate.joingonka.ai/v1
  4. Save.

Now when you create AI nodes (AI Agent, OpenAI Chat Model, etc.), select this Credential.

Choosing a model: in the Model field, enter MiniMaxAI/MiniMax-M2.7.

Example: AI email classifier

Typical workflow: automatic classification of incoming emails and generation of responses.

  1. Email Trigger: receiving a new email (Gmail, IMAP, etc.)
  2. OpenAI Chat Model (with Gonka): classification of the email → category (support, sales, spam, other)
  3. Switch: branching by category
  4. OpenAI Chat Model (with Gonka): generation of a response based on a template
  5. Email Send: sending the response

Cost: classification + response generation — ~3-5K tokens per email. Via Gonka: $0.000028-0.000048 per email. Via OpenAI: $0.0075-0.05.

VolumeOpenAI GPT-5.5JoinGonka GonkaSavings
100 emails/day$0.75 — $5.00/day$0.0042/day~670x
1000 emails/day$7.50 — $50/day$0.042/day~670x
10,000 emails/day$75 — $500/day$0.42/day~670x

For companies processing thousands of emails, switching to Gonka saves $2,000-15,000 per month—just on one workflow.

Other AI scenarios in n8n: chatbot for customer support (Telegram/Slack), automatic document summarization, content generation, feedback analysis, CRM data entry.

Model parameters: maximum response length is up to 8192 tokens (DeepSeek V4 Flash is up to 32768). For classification tasks and short response generation (email, chatbots), this is more than enough.

n8n + Gonka = AI automation for business at a fraction of the cost. Email classifier, chatbots, data analysis — all via standard n8n AI nodes. $0.014/day instead of $50/day with OpenAI.

Want to learn more?

Explore other sections or start earning GNK right now.

Get free tokens →