Building Your First Marketing AI Agent: Five Steps With n8n
By Joris van Huët
Enterprise Interim CMO & Marketing Leader · 15 years · 50+ orgs
Updated
2026-10-07
Published 2026-02-03
The short answer: pick one task that is frequent, valuable and well defined; build it as a workflow with a single AI step in n8n, Make or Zapier; and have a person approve every output for the first two weeks. When the outputs are right without edits, let the workflow run on its own if it only produces internal output, such as a summary, and keep a person on anything a customer or the public will see. My target for a first useful agent is two weeks.
Getting started in five steps:
- Pick one task by scoring candidates on frequency, time cost, clarity of "done" and cost of a mistake.
- Write down what good looks like: three to five real examples, and a short checklist the reviewer applies.
- Build the smallest workflow that works: a trigger, the data it needs, one AI step, and a place to deliver the result. A node-by-node example follows.
- Keep a person in the loop, and log every approval, edit and rejection. Every correction becomes a rule or an example in the instructions.
- Decide what runs alone, then pick the next task.
I have run agent workflows in production since 2023, built with n8n, Zapier, Make and Claude. The sections below say what to do in each step, in what order, and what it costs.
Is a workflow with one AI step an agent?
Strictly, no. Anthropic's guide defines workflows as systems where models and tools are orchestrated through predefined code paths, and agents as systems where the model dynamically directs its own process and tool use. n8n draws the same line. Its Basic LLM Chain node sets a prompt for a model as one step in a fixed flow, while its AI Agent node lets the model decide how to process a request with the information and resources it has (n8n).
Start with the chain. Anthropic recommends finding the simplest solution possible and adding complexity only when needed. Promote the step to an agent when a fixed path fails on real cases. The scale in what is agentic marketing calls the chain level 3 and the agent level 4.
Step 1: Pick one task
Score each candidate from 1 to 5 on four questions.
- Frequency: 5 is daily, 4 weekly, 3 a few times a month, 2 monthly, 1 rarely.
- Time cost per run: 5 is over an hour, 4 thirty to sixty minutes, 3 fifteen to thirty, 2 five to fifteen, 1 under five.
- Clarity: 5 means you can write the acceptance test today, 1 means you will know it when you see it.
- Safety: 5 means internal output that is trivial to reverse, 1 means public or irreversible.
Pick the highest total among tasks that score at least 3 on clarity and at least 4 on safety. This is an illustration with assumed scores:
| Candidate task | Frequency | Time cost | Clarity | Safety | Total |
|---|---|---|---|---|---|
| Weekly performance summary for one channel | 4 | 4 | 4 | 5 | 17 |
| Drafted replies to brand mentions, posted by a person | 5 | 3 | 3 | 4 | 15 |
| Research notes before sales calls | 3 | 4 | 3 | 4 | 14 |
| First drafts of product descriptions | 3 | 3 | 3 | 4 | 13 |
| Replies posted automatically | 5 | 3 | 2 | 1 | 11 |
The last row fails the clarity and safety gates, whatever its total. The weekly summary wins. The walk-through in step 3 uses the reply queue instead, because it needs every part of the pattern, a branch and an approval queue included. If you want the safest first agent, build the weekly summary with the same five steps.
Step 2: Write down what good looks like
You cannot review an output against nothing. Before you build, write four things.
- Three to five real examples of the output a skilled person would sign off. If none exist, write them yourself.
- A checklist the reviewer applies to every output. For reply drafts: it answers the question asked; it states no price, date or promise that is not in the approved facts; it contains no personal data; it matches the tone of the examples; and it hands complaints and legal or safety questions to a person instead of drafting.
- A fixed output format. For each post: the category (question, praise, complaint or other), a draft for question and praise only, the facts used and a one-line reason. A fixed format is what makes the review sheet in step 3 possible.
- An approved-facts list. Product names, policies, opening hours, links. The model may cite only from the list, and anything else is marked "needs a fact".
Step 3: Build the smallest workflow that works
The example is a reply queue for brand mentions on X. The workflow reads mentions, makes one model call per post that returns a category and, where a person can answer, a draft, routes by category, and puts the drafts in a sheet. It never posts. The node names follow n8n's documentation; check each node's options in your version before you rely on this list.
| # | n8n node | Setting | Purpose |
|---|---|---|---|
| 1 | Schedule Trigger | Every hour | Starts the run. Publish the workflow, or the schedule does not run. |
| 2 | X, operation Search tweets | Query: mentions of your own handle, without retweets | Fetches recent mentions. Needs an X developer app and an OAuth2 credential. |
| 3 | Remove Duplicates | Operation: remove items processed in previous executions, compared on the post ID | Keeps only posts the workflow has not handled before. |
| 4 | Basic LLM Chain with an Anthropic Chat Model | System message: rules, examples, approved facts. Turn on Require Specific Output Format and connect a Structured Output Parser for category, draft, facts used and reason. | The single AI step: one model call per post that classifies and drafts. |
| 5 | Switch | Rules on the category: question and praise continue, complaint and other go to a person | Keeps posts a person should answer unaided out of the draft queue. |
| 6 | Google Sheets, operation Append Row | Columns: date, post link, post text, category, draft, facts used, status, final text, edit note | The review queue. |
| 7 | Slack, send a message | Names the reviewer and links the sheet | Tells the reviewer drafts are waiting. |
| 8 | Slack, send a message (complaint and other branch) | Post link only, no draft | Hands those posts to a person. |
| 9 | Workflow settings, Error workflow | A second workflow that starts with the Error Trigger node and alerts a person | Tells you when a run fails. |
Why the workflow never posts. The first reason is the approval rule in step 4. The second is X's rules. Its developer guidelines list an app that auto-replies to anyone mentioning a keyword as unsolicited interaction, and an AI-powered app that generates and posts replies as requiring prior approval from X. They also prohibit storing X data to train models. Those rules concern apps that post. A person who reads a draft and posts it by hand is doing what any account holder does. If you want the workflow itself to post, read the guidelines and get X's approval first.
What the X side costs. X sells API access as pay-per-usage credits, and its pricing page lists $0.005 per post read (X). Ask only for posts newer than the last run, using the search endpoint's since_id or start_time parameter (X). Recent search covers the last seven days, so an unfiltered hourly query returns the same posts again, and X bills each post once per day.
Step 4: Keep a person in the loop for two weeks
Review the queue every working day. For each draft the reviewer sets the status to approved, edited or rejected, and writes one line on why for every edit or rejection. Every correction becomes a rule or an example in the instructions, applied on a fixed day each week so the changes stay traceable. n8n's documentation gives the same advice for AI tools: start with human review enabled, then reduce oversight as confidence grows.
Count the drafts approved without an edit in a row. That is evidence, and how much depends on how many outputs you reviewed. For comparable outputs, if none was wrong in n reviewed, the 95% upper limit on the true error rate is roughly 3 divided by n, the "rule of three" (Hanley and Lippman-Hand, JAMA, 1983).
| Outputs approved in a row | The error rate could still be as high as (about) |
|---|---|
| 10 | 30% |
| 20 | 15% |
| 30 | 10% |
| 60 | 5% |
My recommendation for internal output is 30 in a row before you cut review to a weekly sample. That is my threshold, not a standard, and it needs enough outputs. A weekly summary produces two in two weeks, which tells you little, so keep approving it until you have around 20, or keep the approval for good, since reading a summary takes minutes. Anything a customer or the public sees keeps its approval step. The two weeks is a target for the first useful version, not a statistical guarantee.
Step 5: Decide what runs alone, then pick the next task
Sort each output by who sees it. Output that stays inside the team, such as a summary posted to Slack, can run without review once it passes step 4, with a weekly sample check. Output that a customer or the public sees keeps a person on the last step. In the reply queue, the person posts.
Then score the next task with the table in step 1. The data connections, the credentials, the review sheet and the habit of reviewing all carry over to the second agent, so expect less setup work for it.
Choosing between n8n, Make and Zapier
The pattern is the same in all three. What differs is what you are billed for and which controls you get, as stated on the vendors' pages on 7 October 2026.
| n8n | Make | Zapier | |
|---|---|---|---|
| What the plan bills | Workflow executions on Cloud: a full run counts once, whatever the number of steps | Credits: one per module run by default; the Router and error handler modules use none, according to Make's pricing FAQ | Tasks: each successful action step; triggers, Filter, Paths, Formatter and Delay steps do not count. An AI by Zapier step counts as 1x, 3x or 5x tasks by model tier |
| Free option | Self-hosted Community edition | Free plan, up to 1,000 credits a month | Free plan, 100 tasks a month and two-step Zaps |
| Entry paid price | Starter, 20 euros a month billed annually, 2,500 executions | Core, $12 a month on monthly billing, 10,000 credits | Professional, from $19.99 a month |
| Conditional logic | If and Switch nodes | Router | Paths and Filters, on paid plans |
| Error handling | Error workflow with an Error Trigger node | Error handlers attached to a module | Custom error handling, on paid plans |
Zapier has conditional logic and error handling too, on its paid plans. n8n is source-available under its Sustainable Use License, not open source in the usual sense. The license allows free use for your own internal business purposes, and the free option is the self-hosted Community edition (n8n). n8n Cloud is a paid subscription. n8n documents a human-approval step in Slack and human review of AI Agent tool calls (n8n), so check that Make and Zapier offer an equivalent before you choose either for step 4. Prices change, so read each pricing page before you commit.
The billing unit matters more than the entry price. Assume the reply workflow runs every hour, so 24 × 30 = 720 runs a month, with four billable steps per run (search, model call, append row, one Slack message) and something to process every time, which is the worst case.
- n8n Cloud counts 720 executions, inside the 2,500 in Starter.
- Make counts 720 × 4 = 2,880 credits at one credit per step, inside the 10,000 in Core. Some AI modules use more.
- Zapier counts 720 × 4 = 2,880 tasks at the standard AI tier, which is above its 2,000-task tier and needs its 5,000-task tier.
- Polled every 10 minutes instead, the workflow runs 144 × 30 = 4,320 times, above Starter's 2,500 executions.
On n8n Cloud, polling frequency drives the cost. On Make and Zapier, steps times frequency does.
What a first agent costs to run
Assume 40 posts a week to process, one model call per post, and 1,500 input tokens and 200 output tokens per call. Anthropic lists Claude Sonnet 5.5 at $2 per million input tokens and $10 per million output tokens (Anthropic pricing).
- Calls per week: 40.
- Input: 40 × 1,500 = 60,000 tokens = 0.06 million tokens × $2 = $0.12.
- Output: 40 × 200 = 8,000 tokens = 0.008 million tokens × $10 = $0.08.
- X reads: 40 posts × $0.005 = $0.20, at X's price per post read.
- Total: $0.12 + $0.08 + $0.20 = $0.40 a week, about $1.73 a month.
The money is not the cost that matters. Reviewing 40 drafts at two minutes each is 80 minutes a week, and that review time is what a first agent costs you. The platform comes on top: no license fee for the self-hosted n8n Community edition if you run the server yourself, or a plan from the table above.
When not to build one
- The task is a fixed sequence. Build automation.
- The output reaches customers or the public with nobody reading it first.
- The input includes personal data and you have not checked your model provider's data terms.
- The task produces too few outputs for two weeks to tell you anything. Review it for longer, or keep the approval step.
Frequently Asked Questions
What is the difference between an AI agent and a chatbot?
A chatbot answers messages in a conversation. An agent is given a goal and chooses steps and tools to reach it, such as searching, drafting and writing a row in a sheet. The line blurs in practice: a chatbot with tools becomes an agent, and a workflow with one AI step, like the one in this guide, is neither. The scale in what is agentic marketing places each one.
Do I need to be a programmer to build one?
Not for the first workflow. n8n, Make and Zapier use visual steps, and the five steps above need no code. You do need to set up credentials for each service, such as an X developer app, read a JSON response when something fails, and write clear instructions. A developer helps if you self-host n8n.
How much does it cost to build and run one?
Model and API costs for the reply queue come to about two dollars a month in the estimate above, and the review time is the larger cost. Platform costs depend on the billing unit: executions on n8n Cloud, credits on Make, tasks on Zapier. Self-hosting the n8n Community edition has no license fee for internal business use, and you pay for the server.
What other tasks suit a first agent?
A weekly performance summary, research notes before sales calls, first drafts of product descriptions, or the reply queue above. Score them with the table in step 1. Two natural next agents are a marketing intelligence agent and a brand agent.
Can the agent post replies for me?
Not in this design. X's developer guidelines treat keyword-triggered auto-replies as unsolicited and require prior approval for AI-generated replies posted by an app, and step 4 keeps a person on anything public. The workflow drafts, and a person posts.
ABOUT THE AUTHOR
Joris van Huët is an enterprise interim CMO and marketing leader with 15+ years of experience across ING, P&G, Nestlé, BNP Paribas, WeTransfer, Vinted, and 50+ other organizations. He specializes in innovation projects (venture building, design sprints), agentic marketing (AI agent setup and orchestration), and hands-on multi-channel management. See the track record.
I wrote and published this with AI assistance, and I answer for it. Claims about my own experience are limited to the track record above, and a statistic links to its source or is labelled as an example. I sell interim and fractional CMO work, which is why this site exists. How this site is written.
The agents in this article, built into your workflows and handed over to your team: the first one within two weeks.