AIMay 8, 202611 min

AI marketing agents in n8n: three implementations from practice

Review creative generation from price lists, comment monitoring and Telegram replies through a language-model API. Includes implementation details and reported time savings from the original projects.

Article cover: AI marketing agents in n8n: three implementations from practice

“AI agents” is the main buzzword of 2026. Most of the articles on the topic are theoretical: “opportunities”, “horizons”, “paradigms”. I'll tell you about 3 production agents in n8n, which are working on my projects right now: auto-generation of creatives from the price list, sentiment monitoring of comments, auto-responses in the TG bot via Claude Sonnet 4.6. I’ll share workflow outlines and the time-saving figures from my notes.

Predictions about how AI agents will change marketing by 2030 are less useful to me than working examples. In April 2026, I needed automation I could put to use. Here are the workflows I built.

The AI agent is not a “revolution.” This is n8n + Claude API + 3 webhooks. The opening estimate in my notes is up to 2,000 ₽/month in API costs and 15–25 hours saved monthly. Its scope is not reconciled with the larger workflow totals below; use the individual estimates when planning. If you are interested in the overall picture of a marketer’s AI stack - overview of 9 tools in one summary.

Why n8n and not Make/Zapier

I tried three popular marketing automation platforms. I chose n8n for three reasons:

  • Self-hosted. I keep n8n on my own VPS for 400 RUB/month. This gives me control over the hosting and data handling, which matters for confidentiality requirements. Infrastructure and provider limits still apply.
  • Direct integration with Claude API. Via HTTP Request node - without third-party plugins. One POST to the endpoint, the response is parsed by the JSON node.
  • Visual workflow + code when needed. 80% of the work is drag-and-drop. When complex processing is needed, I write JavaScript inside a Code node, also through Claude Code.

The original workflow used n8n for control over its integrations. Compare the current plans and workload limits of n8n, Make and Zapier for your actual requirements. Self-hosting still has infrastructure, maintenance and provider limits; it is not unlimited or free to operate.

Agent 1. Price list → 50 creatives in Nano Banana Pro

Problem

An electronics e-commerce client adds a new price list to Google Sheets once a week. You need to: for each product, generate 5 creatives of different formats (Instagram stories 9:16, VK carousel 1:1, Telegram banner 16:9, landing hero, remarketing), upload them to S3, notify the team in Slack that it’s ready.

Manual work: ~30 minutes per product × 10 new products per week = 5 hours weekly for the designer.

n8n workflow architecture

  1. Trigger — Google Sheets watcher for changing the “New Products” sheet.
  2. Loop through new rows — for each row, parse: name, price, key characteristics, link to the original photo.
  3. Claude Sonnet (via HTTP Request) - generates a prompt for Nano Banana Pro, taking into account the client’s brand style (the prompt template is stored in Notion, n8n pulls it up).
  4. 5 parallel calls to Nano Banana Pro via kie.ai API - each with its own aspect ratio.
  5. Webhook → S3 upload — all 5 PNGs are uploaded to the client’s bucket.
  6. Slack notification — message in #marketing with preview and links.

Metrics

  • Time for 1 product: 30 minutes → 90 seconds
  • API costs: ~70 ₽ per product (5 × 14 ₽ for Nano Banana 1K + Claude prompt)
  • Monthly savings: 20 hours of designer work = ~80,000 ₽ at a rate of 4K ₽/hour
  • API costs monthly: ~3,000 ₽ (40 products × 70 ₽)
  • Estimated labor value after API fees: ~77,000 ₽/month per client

Agent 2. Sentiment monitoring of comments in VK + TG

Problem

Client in MedTech (dental brand) - once a day you need to collect new comments under posts in the VK community and TG channel, classify them (positive / neutral / negative / question needing an answer), add them to Notion as a feedback database, negative ones - instantly escalate them to Telegram support teams.

Manual work: The social media specialist spent 1 hour a day on manual review and classification. On a 30-day cycle - 30 hours.

Architecture

  1. Scheduled trigger — every day at 09:00 starts the workflow.
  2. VK API + Telegram Bot API — process authorized VK comments and Telegram discussion updates received and stored by the bot for the last 24 hours. The bot does not provide arbitrary access to historical comments.
  3. Claude Sonnet 4.6 — classifies each comment according to a 4-level scheme (positive / neutral / negative / question). Also extracts key topics (price, quality, support, brand).
  4. Switch node — splits flow by type:
    • Negative → Telegram alert in support chat + entry in Notion with the tag “escalated”
    • Question → Telegram alert in SMM chat “Answer needed”
    • Positive/Neutral → entry into the Notion table “feedback log”
  5. Daily-summary — at the end of the day, a separate flow counts the aggregates (how many are positive/negative, which topics predominate) and sends a Slack-summary to the CMO.

Metrics

  • SMM time: 1 hour/day → 5 minutes (summary check only)
  • Response time for negative comments: from 8–24 hours to 5–15 minutes
  • API costs: 0.04 ₽ per comment via Claude Sonnet 4.6 (easily included in the context window). For 200 comments/day - 8 ₽. For a month - 240 ₽.
  • Monthly savings: 25 hours of social media work = ~50,000 ₽ at a rate of 2K ₽/hour
  • Bonus: consistent classification rules can make review easier, although model errors still need monitoring

The most valuable thing about this agent isn’t even the hours it saves. It is the speed of responding to negative feedback. When a client writes “the doctors at the clinic are rude,” the source aims for a response in 15 minutes rather than 12 hours. Set a realistic response target with the support team.

Agent 3. Auto-responses in TG-bot via Claude Sonnet 4.6

Problem

EdTech client - TG bot for lead generation of online courses. Leads per day – 50–100. Every second lead asks standard questions: “when does the next cohort start”, “is there an installment plan”, “what is included in the course”, “what is the difference between the plans”, “are there any discounts”. Managers responded manually, with an average response time of 4–8 hours.

The goal is to automatically answer 80% of standard questions in 30 seconds, and escalate 20% of complex questions (individual consultation, contract, corporate formats) to a manager.

Architecture

  1. Telegram Bot webhook → n8n receives every message
  2. Code node — filters system messages, leaving only real text messages
  3. Claude Sonnet 4.6 with system prompt:
    • Context: full FAQ + information about courses + prices + current promotions
    • Instruction: answer standard questions, for complex ones - return JSON { escalate: true, reason }
    • Style: client’s voice (mature, no emoji, factual)
  4. Switch node:
    • If the response is from Claude - send to TG to the user
    • If the response contains escalate: true - forward the message to the manager + reply to the user “the manager will respond within 30 minutes” only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target only if the team has agreed to and can meet that service target
  5. Logging — record every request and response in Notion for quality review

Metrics

  • Average response time: 4–8 hours → 30 seconds
  • Reported auto-response rate: 78% (above the source’s 75% target; answer quality needs separate review)
  • Reported lead-to-sale conversion change: +18% (the notes do not specify the denominator or isolate the effect of faster responses)
  • API costs: 1.2 ₽ per dialogue on average (included in Claude Sonnet 4.6 input/output ratio). For 100 dialogues/day - 120 ₽. For a month - 3,600 ₽.
  • Freed 1 manager from 70% of routine tasks to focus on complex conversations and sales

Architectural Patterns I Reuse

Pattern 1. Claude as router

Don’t run the entire flow through strict “if/else” rules. Better - Claude receives the input data, returns JSON with classification, and the Switch node in n8n works with this JSON. The useful part is that you can change the classification rules with one phrase in system-prompt.

Pattern 2. Notion as “persistent memory”

All logs, FAQ, context are stored in Notion databases. n8n reads the context for each request from there and writes the results there. Advantage: the project owner sees and edits data directly in the Notion interface, without touching the code.

Pattern 3. Slack/TG for alerts and summary

Do not send every event - otherwise you will drown in notifications. Only:

  • Real escalations (negative comments, complex questions)
  • Daily summary at the end of the day
  • Weekly digest on Mondays

Pattern 4. Cost monitoring

Each flow is logged into a separate Notion table: the number of requests, tokens, costs. Once a week - summary. Without this, AI costs quickly grow out of control.

Where automation fell short

Failure 1. Auto-generation of posts in the TG channel

I tried to make a flow “news from RSS → Claude rewrites in channel style → publication.” It worked on small channels. On channels with a distinctive voice - a failure: even Claude Sonnet 4.6 does not maintain the characteristic author's voice over time. After 2 weeks, subscribers began to complain “the channel has become faceless.” Rolled it back.

Lesson from this workflow: keep editorial review for content with a distinctive voice. Automatic drafts can still be useful when a person edits them.

Failure 2. Auto-bidding in VK Ads via API

Idea: Claude analyzes CPL by ad group and suggests bid changes. After 3 weeks, it turned out worse than VK’s built-in auto-bidding. VK has its own auction signals that are not available externally. Closed.

Lesson from this test: a custom workflow did not outperform the platform’s bidding system. Their auction signals may include data your workflow cannot access.

Cost and ROI: summary table

AgentAPI costs/monthHours savedEstimated labor value after API fees
Creatives from the price list~3 000 ₽20 designer hours+77K ₽
Sentiment monitoring~240 ₽25 hours of social media work+50K ₽
Auto-responses TG-bot~3 600 ₽40 manager hours + 18% conversion+90K ₽
Total~7 000 ₽85 hours+217K ₽/month

The source’s 30x ratio compares estimated labor value with API fees; it is not a cash-return calculation. Setup, maintenance, review time and realized staffing savings are not included. This is on one client; Similar agents work for me in other projects.

How to build a similar workflow

  1. Choose a supported n8n deployment — use the hosted service or follow the official self-hosting instructions for a persistent server setup. Ordinary Vercel serverless hosting is not a substitute for this setup. Review n8n's Docker guidance.
  2. Configure authorized API access — check the provider's current billing, supported region and usage limits, then set a budget and failure behavior. Do not assume a free credit is available.
  3. Start with the simplest agent — sentiment-monitoring or auto-tagging FAQ. Not immediately with auto-generation of content.
  4. Log everything — every request in Notion, including costs. Review the first 2 weeks of logs for an initial cost estimate; a representative workload and all operating costs are needed to assess unit economics.
  5. Don't automate voice-critical content right away — start with classification, filtering, routing. Auto-creative generation - later.

If you want me to analyze your case, write @dipustovalov. In a 30-minute call, we can identify 3-5 processes worth evaluating and estimate whether the potential time savings justify the setup and running costs.

Related materials: CPA calculator, KPI dashboard template, a complete guide to performance marketing.

More on the topic