At a glance
| What you get | Summaries, classifications and drafts produced automatically inside a workflow |
|---|---|
| Typical cost | Free self-hosted n8n + pay-per-use Claude API tokens |
| Skill level | Intermediate |
| Runs on | Your server or computer (or n8n Cloud) |
What you get
n8n's Anthropic node can message a model, analyse a document, analyse an image, manage uploaded files and generate or improve prompts. A typical workflow has three steps: a trigger (a new form entry, email or file), the Anthropic node with your instructions, and an output (a chat message, a spreadsheet row or an email draft).
Examples: summarise each support form into three bullet points; label incoming emails by topic; extract invoice numbers and totals from PDFs into a sheet for review.
What it costs
n8n's hosting docs say that without a licence key, n8n runs as the free Community edition. Your costs are the computer or server it runs on, and Claude API tokens. On n8n Cloud there is also an option to use n8n's gateway credits instead of your own Anthropic account; our n8n record did not capture cloud plan prices.
| Assumption | Amount |
|---|---|
| Text sent per summary | About 500 input tokens |
| Summary returned | About 200 output tokens |
| Claude Haiku 5.5 price | $0.10 input, $0.50 output per million tokens |
| Monthly token cost | 150,000 x $0.10/M + 60,000 x $0.50/M = $0.045 |
Token counts are illustrative; long documents cost more. Even so, for short texts the API bill is often cents, and the bigger cost is keeping n8n running reliably.
Set it up
- Install n8n. Its hosting docs recommend a one-line setup that needs Docker on Linux or macOS, or WSL on Windows:
curl -fsSL https://get.n8n.io | sh- Create an API key in the Claude Console and add it in n8n as an Anthropic credential.
- Build a workflow: a trigger node, then the Anthropic node with the Message a Model operation and clear instructions, then an output node.
- Run it on a few test inputs and read every result before switching it on.
If the node lacks an operation you need, n8n's docs suggest calling Anthropic's API through the HTTP Request node with the same credential.
A first job to try
Build the smallest useful version first: a Manual Trigger node, the Anthropic node and nothing else. Paste a real support email into the prompt with an instruction such as:
Summarise this customer email in one sentence, then label it
billing, bug, feature request or other. Reply in JSON with keys summary and label.Run it ten times on ten different emails. Only when the labels are right almost every time, replace the Manual Trigger with your real email or form trigger and add the step that posts the result.
Privacy and safety checks
- Only send personal or client data to an AI service when you have a lawful reason and the people involved would expect it.
- Keep a human review step for anything that is sent to customers or changes records.
- Watch your API usage in the Claude Console, especially for workflows that run on every new email or file.
- Keep your n8n instance updated and protected with a login if it is reachable from the internet.
Sources
Checked
Checked
Checked
Related records: N8N pricing record · Claude pricing record
Setup steps and facts come from the official documentation linked on each page, checked on the date shown. We have not tested every combination on every computer; cost examples are illustrative.