AI development
Connect Claude to n8n and Make
Step-by-step guide to integrating the Claude API into your n8n or Make.com workflows — for lead scoring, email triage, content generation, and more.

Introduction
You've heard the pitch: "connect AI to your workflows and automate everything." The reality is more specific than that. You need to pick a model, figure out the API, wire it into your automation platform, and write prompts that return structured, usable output instead of rambling paragraphs.
This guide walks you through connecting Claude AI to n8n and Make.com, step by step. We'll cover the API setup, the exact HTTP configuration for both platforms, real workflow recipes you can steal, and the prompt engineering patterns that make automation outputs reliable. If you've been building AI-powered automation systems or thinking about it, this is the practical starting point.
Why Claude for workflow automation
A model integration should be selected through task testing. Compare supported models on the same inputs and evaluate valid output, factual errors, tool behavior, latency and total cost. This guide focuses on wiring Claude into n8n or Make once that choice fits the task.
Instruction following. Claude is unusually good at following complex, multi-step system prompts. When you tell it to return JSON with exactly four fields, score a lead on a 1-10 scale, and explain the reasoning in under 50 words, it does that. Consistently. This matters in automation where the next node in your workflow expects a specific format.
200K context window. Claude can process long inputs. If you're classifying support tickets that include entire email threads, or generating content briefs from 20-page research documents, you won't hit context limits the way you do with smaller models.
Structured output. Claude handles JSON output well. You can instruct it to return nothing but valid JSON, and it will. No markdown wrappers, no extra commentary. This is critical for automation — your n8n or Make.com workflow needs to parse the response without manual intervention.
Reasoning on complex tasks. For tasks like lead scoring, email triage, or content generation, Claude tends to produce more nuanced output than alternatives. It won't just parrot back keywords from the input; it will reason about intent, context, and priority.
If you're building AI and machine learning systems for your business, Claude's API is one of the most automation-friendly options available.
Prepare credentials and a current model choice
Create the appropriate API access and store credentials in the platform’s credential manager or server-side secret configuration. Confirm spending limits and the model available to the account. A chat subscription does not automatically cover API use.
Use the current Claude API documentation for request fields and authentication. Record the model identifier in configuration so it can be evaluated and updated without rebuilding the whole workflow.
Begin with a harmless test input. Inspect the returned content blocks, stop reason, errors and usage. Do not assume every response is a successful text answer or valid JSON.
Connect Claude in n8n
Choose the supported Anthropic node or an HTTP request node that fits the task. Configure credentials separately from the workflow data. Map only the fields needed from the trigger and keep the instruction text under version control.
Select an available model and set an appropriate output limit. If the next step requires structured data, use supported output constraints and validate the returned values before proceeding. A valid object is not automatically a valid business decision.
Route failures to an error path with an owner. Test a timeout, missing field, invalid output and duplicate event. Keep customer-facing sends or database writes behind application checks rather than directly attaching them to an unreviewed generated response.
Connect Claude in Make
Choose the module and connection route, then confirm where model access is billed. Map the incoming fields explicitly and inspect a sample run before turning on a schedule.
Use a router or error handler for missing information and failed requests. Keep a durable event identifier so rerunning a failed scenario does not duplicate a completed action. Store only the execution data necessary for debugging, with appropriate access and retention.
Read Make’s credit rules for the selected AI connection. Credits and provider token usage should be counted in the same cost estimate.
Practical workflow recipes
Here are four workflows you can build today. Each one follows the same pattern: trigger → collect data → send to Claude → parse response → take action.
1. Lead scoring from form submissions
Trigger: Webhook receives form data from your website.
System prompt:
You are a lead scoring assistant for a B2B service company.
Score each lead from 1-10 based on company size, stated need,
and buying intent. Respond with ONLY valid JSON in this format:
{"score": number, "priority": "high"|"medium"|"low", "reason": "string under 30 words", "next_step": "schedule_call"|"send_info"|"add_to_nurture"}User message: Insert the form fields — name, company, message, source.
Action: Route based on priority. High-priority leads get an immediate Slack ping and automated follow-up sequence. Medium leads go to an email nurture. Low leads get logged for review.
This is one of the highest-ROI automations you can build. We've written about AI lead qualification for service businesses in more detail if you want to go deeper on the scoring logic.
2. Email triage and auto-response
Trigger: New email arrives (via IMAP node in n8n, or Gmail/Outlook module in Make.com).
System prompt:
You are an email triage assistant. Classify each email and
draft a response. Return ONLY valid JSON:
{"category": "support"|"sales"|"billing"|"spam"|"other",
"urgency": "high"|"medium"|"low",
"draft_response": "string",
"needs_human": true|false}User message: The full email body and subject line.
Action: If needs_human is false and category is "support," send the draft response automatically. If needs_human is true, create a task for your team with the draft as a starting point. Spam gets archived. Sales inquiries get forwarded to your pipeline.
Businesses that handle high email volume can pair this with a conversational AI chatbot to cover both email and live chat channels simultaneously.
3. Content brief to draft article
Trigger: New row added to a Google Sheet or Airtable with a content brief (topic, target keywords, word count, audience).
System prompt:
You are a content writer. Write an article based on the brief
provided. Follow these rules:
- Match the specified word count within 10%
- Use the target keyword naturally 3-5 times
- Write in a conversational, expert tone
- Include a meta description under 155 characters
Return JSON: {"title": "string", "meta_description": "string", "body": "string in markdown"}Action: Push the draft to a Google Doc, Notion page, or your CMS. Flag it for human review before publishing.
4. Customer support ticket classification
Trigger: New support ticket created in your helpdesk (via webhook or integration module).
System prompt:
Classify this support ticket. Return ONLY valid JSON:
{"category": "bug"|"feature_request"|"account"|"billing"|"how_to",
"product_area": "string",
"severity": "critical"|"high"|"medium"|"low",
"suggested_response": "string under 100 words"}Action: Auto-assign the ticket to the right team based on category and product_area. If severity is critical, trigger a PagerDuty or Slack alert. Attach the suggested_response as an internal note for the support agent.
These automations are the kinds of systems we build through our AI automation services. The patterns are repeatable across industries — what changes is the system prompt and the specific actions after Claude responds.
System prompt best practices for automation
Writing prompts for automation is different from writing prompts for interactive chat. In automation, you don't get a second chance. The prompt runs, the response gets parsed, and the next node either works or breaks. Here's what matters.
Always demand structured output. Start your system prompt with "Respond with ONLY valid JSON" or "Return ONLY a JSON object." Include the exact schema you expect. Claude follows these instructions reliably when they're explicit.
Include an example. One-shot examples dramatically improve consistency. Add something like:
Example input: "John from Acme Corp, 200 employees, wants CRM integration"
Example output: {"score": 7, "priority": "high", "reason": "Mid-market company with specific integration need"}Be specific about constraints. "Under 30 words" is better than "be concise." "Score from 1-10" is better than "rate the lead." Vague instructions produce vague output.
Set the role clearly. "You are a lead scoring assistant for a B2B HVAC service company" gives Claude the context it needs to make reasonable judgments about industry-specific signals.
Don't over-prompt. If your system prompt is 2,000 words long, something is wrong. Keep it under 500 words. The shorter and more specific the prompt, the more consistent the output.
For voice AI systems and real-time applications, these same principles apply — you just need even tighter constraints on response length and format.
Error handling and reliability
Any production automation needs to handle failures gracefully. Here's what to watch for with the Claude API.
Rate limits (429 errors). Anthropic enforces rate limits based on your usage tier. New accounts start with lower limits. When you hit them, you get a 429 response with a retry-after header. In n8n, set the HTTP Request node to retry on failure. In Make.com, use the built-in error handler module with a Sleep module before retrying.
Timeouts. Claude can take 10-30 seconds on complex requests. Set your HTTP timeout to at least 60 seconds in both platforms. In n8n, this is under the HTTP Request node's settings. In Make.com, it's in the HTTP module's advanced settings.
Invalid JSON responses. Even with clear instructions, Claude occasionally wraps JSON in markdown code blocks or adds a brief explanation. Defend against this in your parsing step:
let text = $input.first().json.content[0].text;
// Strip markdown code blocks if present
text = text.replace(/```json\n?/g, '').replace(/```\n?/g, '').trim();
const parsed = JSON.parse(text);
return { json: parsed };Fallback logic. If Claude's API is down or returns an error after retries, don't let your workflow silently fail. Send the original input to a queue (Google Sheet, database, or internal notification) for manual processing. No automation should be a black hole where leads or tickets disappear.
If you want a team to handle the reliability engineering for you, our process covers how we build and monitor these systems for clients.
Budget from measured usage
Record input, output and any tool usage for representative runs. Include retries, branching and the workflow platform’s own billing units. Reduce unnecessary history or duplicated context only after confirming that quality remains acceptable.
Compare a capable baseline with a lower-cost available model on the same inputs. Use cost per correctly completed task, rather than selecting a model solely by its token rate. Review current rates when workload or provider configuration changes.
Frequently asked questions
Do I need coding skills to connect Claude to n8n or Make.com? Minimal. Both platforms are visual workflow builders. The main "code" you'll write is a small JavaScript snippet to parse Claude's JSON response, and you can copy the examples from this guide directly. If you can edit a JSON object, you can build this integration.
How fast does Claude respond through the API? Simple requests (classification, scoring) typically return in 2-5 seconds. Longer content generation tasks can take 10-30 seconds. Set your HTTP timeout to 60 seconds to be safe.
Is there a native Claude integration for n8n or Make.com? n8n has a community node for Anthropic that simplifies the setup. Make.com does not have a native Anthropic module as of early 2026, so you use the generic HTTP module. Both approaches work fine — the HTTP module method gives you more control over request parameters.
What happens if I exceed the API rate limits? Anthropic returns a 429 error with a retry-after header. Your workflow should retry automatically after the specified delay. For most small-to-medium businesses, the default rate limits are more than sufficient. If you need higher limits, you can request a tier upgrade through the Anthropic console.
Can I use Claude for real-time customer interactions, not just background workflows? Yes. Claude's response times are fast enough for near-real-time use. You can connect it to live chat widgets, SMS auto-responders, and phone systems. The same API call structure applies — you just need lower latency on your middleware.
How do I keep my API key secure in n8n or Make.com? In n8n, store the API key as a credential (Settings → Credentials → HTTP Header Auth). In Make.com, use the built-in connection storage. Never hardcode API keys into workflow configurations that might be shared or exported.
Get started
You now have everything you need to connect Claude to n8n or Make.com: the API setup, the HTTP configuration for both platforms, parsing logic, four workflow recipes, and the prompt patterns that produce reliable structured output.
Start with one workflow. Lead scoring is the easiest win for most businesses — it's a single API call that turns unstructured form data into a prioritized, actionable score. Once that's running, expand to email triage, content generation, or ticket classification.
If you'd rather have a team build and maintain these integrations for you, get in touch. We design AI and machine learning systems that connect to your existing tools and run reliably without babysitting. Schedule a free consultation and we'll map out which workflows will move the needle for your business.
For implementation, explore Luminous services or discuss your project.