Knowledge Base Sections ▾

Navigation

▸ Start here By roles

Categories

Tools 32
Glossary 12

Tools

n8n + Gonka AI - automation with cheap AI

n8n is a powerful open-source platform for workflow automation. Featuring a visual builder, 400+ integrations, and self-hosted deployment, it gives you full control over your data. Since 2024, n8n has been actively developing AI features: AI Agent nodes, chatbots, and document processing with LLMs.

n8n's AI nodes support OpenAI-compatible APIs. This means JoinGonka Gateway connects via the standard interface — no custom nodes or plugins required.

The result: AI automation (email classification, response generation, data analysis) at $0.003/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 10M free tokens.
  3. Create jg-xxx key in Dashboard → API Keys.

Step 2: Configure n8n

In n8n, create a new Credential for OpenAI:

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

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

Model selection: in the Model field, enter MiniMaxAI/MiniMax-M2.7.

Example: AI email classifier

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

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

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

VolumeOpenAI GPT-5.5JoinGonka GonkaSavings
100 emails/day$0.75 — $5.00/day$0.0014/day~2,000x
1000 emails/day$7.50 — $50/day$0.014/day~2,000x
10,000 emails/day$75 — $500/day$0.14/day~2,000x

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

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

Model parameters: maximum response length — up to 8192 tokens (for all models in the network). This is more than enough for classification tasks and short response generation (email, chatbots).

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 10M free tokens →