Building a marketing AI agent: platforms, triggers and three architectures
Plan an agent in n8n, Make or a custom application, connect a language model and define triggers. Includes architectures for lead qualification, content planning and analytics alerts.

In 2026, a marketing AI agent can do more than draft an email in ChatGPT. It can decide which image to generate and whom to send it to. A prompt gives the model a single task; an agent connects decisions and actions into a workflow.
I have been building AI agents in n8n since the summer of 2024. One current agent collects news, analyzes it with Claude, drafts posts and sends them to Telegram for approval. There are currently 8 agents on 6 projects.
An AI agent needs ongoing attention. After setting mine up, I fixed it daily in the first week and every two days in the second. By the fourth week, I forgot about it—and it failed.
1. What is an AI agent
Script: if CPL is above 500 → alert. AI agent: CPL increased to 700 → Claude analyzes why → recommends reducing the bid by 15% and sends the analysis for human review before any change. The difference is flexibility.
2. Platform selection
n8n — self-hosted, with running and maintenance costs. 400+ integrations, full control. On my projects, 6 out of 8 agents are on n8n.
Make.com — cloud, from $9/month. Easier, faster. There are fewer integrations.
Custom - your code. Full control; the source estimates development time at 5-10 times higher, without a matched scope comparison.
| Parameter | n8n (self-hosted) | Make.com | Custom |
|---|---|---|---|
| Starting cost | 500-1000 ₽/month | $9-29/month | 0 ₽ platform fee; development and running costs excluded |
| Time to build the first agent | 2-4 hours | 1-2 hours | 2-5 days |
| Integrations | 400+ | 200+ | Any |
| Best suited to | Experienced marketer | No-code users | Developer |
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
The table contains source estimates for setup time, cost and integration counts. They are planning examples, not current provider specifications or delivery commitments.
3. Which LLM powers the workflow?
Claude - my main choice. My notes from 8 agents report ~94% decision accuracy versus ~87% for GPT-4o. The test set, scoring method and comparable task mix were not documented, so these figures cannot establish general model superiority.
GPT-4o - better for text generation and creative tasks.
Local LLM — for tasks where data cannot be sent to the cloud. Qwen 2.5 32B is one option to evaluate against your task requirements and hardware.
4. Lead generation agent architecture
New lead → Claude checks BANT → if qualified → add to amoCRM + alert the manager in Telegram → otherwise, add to a nurturing list. On a B2B SaaS project, the reported qualified-lead conversion rate moved from 35% to 58%. The notes do not isolate the agent’s effect from other changes.
5. Content plan agent architecture
Collects daily news from RSS and Telegram feeds → Claude selects topics → generates drafts → in Notion for approval. The agent prepares drafts for approval; it does not publish them.
6. Analytics agent architecture
Once an hour, pulls data from the API → Claude compares it with the plan → if the deviation is greater than the threshold → alert in TG. On EZ KATKA I caught CPL increases 2-4 hours before the manager.
7. Five mistakes
1. One agent for everything. One task - one agent.
2. Access to actions without moderation. Require human review before consequential actions.
3. No timeout. An agent can get stuck in a loop without a timeout.
4. No logs. The agent is a black box without logs.
5. A weak LLM for complex decisions. For qualification, evaluate a capable model such as Claude Sonnet or GPT-4o against your own examples.
8. Conclusion
AI agents can help with repeatable work when the workflow is well defined. My original notes describe n8n + Claude API as suitable for 90% of tasks; that is a personal estimate, not a general benchmark. Start with a small pilot, review its output and improve it before expanding.
Related: 10 n8n scenarios, ChatGPT: 30 tasks, AI team transformation in 90 days.
If you want to analyze your specific situation, write to Telegram or use the contact form. The initial consultation is free.