Knowledge Base Sections ▾

Tools

n8n + Gonka AI - automation with cheap AI

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

n8n AI nodes support OpenAI-compatible APIs. This means that JoinGonka Gateway connects through a standard interface - without custom nodes and plugins.

Result: AI automation (email classification, response generation, data analysis) for $0.001/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 Qwen/Qwen3-235B-A22B-Instruct-2507-FP8.

Example: AI email classifier

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

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

Cost: classification + response generation — ~3-5K tokens per email. Through Gonka: $0.000003-0.000005 per email. Through OpenAI: $0.0075-0.05.

VolumeOpenAI GPT-4oJoinGonka GonkaSavings
100 emails/day$0.75 — $5.00/day$0.0003/day~10,000x
1000 emails/day$7.50 — $50/day$0.003/day~10,000x
10,000 emails/day$75 — $500/day$0.03/day~10,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: chatbot for customer support (Telegram/Slack), automatic document summarization, content generation, review analysis, CRM population.

Model parameters: maximum response length — 2048 tokens. For classification tasks and generating short responses (email, chatbots), this is more than sufficient.

n8n + Gonka = AI automation for business for pennies. Email classifier, chatbots, data analysis - all via standard n8n AI nodes. $0.003/day instead of $50/day with OpenAI.

Want to learn more?

Explore other sections or start earning GNK right now.

Get 10M free tokens →