Home/Insights/Automation

I Built a Full n8n Workflow in Minutes Using Claude AI (FREE TOOLS)

By Ani BjörkströmPublished 20 January 2026Reviewed 17 November 20267 min video + articleAutomation

I Built a Full n8n Workflow in Minutes Using Claude AI (FREE TOOLS)
▶ Watch the full 7-minute video · with chapters & transcript

AI TOOLS

How do you build a full n8n workflow in minutes with Claude AI and free tools?

In short: Claude generated a complete, importable n8n workflow JSON file from one detailed prompt, no manual node-building required.

Key takeaways

  • Claude generated a complete, importable n8n workflow JSON file from one detailed prompt, no manual node-building required.
  • Apify gives every account $5 in free credits per month, and at $1 per 1,000 results the YouTube scraper delivers up to 5,000 scraped results monthly at zero cost.
  • The finished workflow scraped YouTube and wrote results into Google Sheets, matching on the ID column so duplicate rows are never inserted twice.

Building an n8n workflow by hand means wiring nodes one by one; asking Claude for the JSON file skips straight to a working automation. The stack in this build by Ani Björkström, a Stockholm-based tech consultant, was entirely free: Claude's free tier, a self-hosted local n8n instance, Apify's monthly free credits, and Google Sheets for storage.

How does Claude create the n8n workflow for you?

Prompt Claude to "create an n8n workflow JSON file for a YouTube scraper that sends data to Google Sheets", followed by a detailed description of what it must do. A detailed prompt raises the odds the JSON works from the beginning; with a short prompt, you upload the file and return to Claude if anything breaks. When Claude finishes, one click on the download button gives you the workflow file ready for import.

Why use Apify as the scraping engine?

Apify is a platform full of ready-made scrapers, and every account receives $5 in free credits each month. The YouTube video and comment scraper costs about $1 per 1,000 results, so the free credits cover roughly 5,000 results every single month. In Apify, open the API button, choose API endpoints, scroll to "run actor synchronously and get key value", and copy that full URL including your token, then tell Claude to call that endpoint in the JSON it writes; never share the token, since anyone holding it can spend your credits.

ComponentRole in the workflowCost
ClaudeGenerates the importable n8n workflow JSONFree tier, limited prompts
n8nRuns the automation, self-hosted locallyFree
Apify YouTube scraperScrapes video data, $1 per 1,000 results$5 free credit monthly, about 5,000 results
Google SheetsStores results, deduplicated on the ID columnFree

How do you import and run the workflow in n8n?

In n8n, click the plus button for a new workflow, open the three-dots menu, choose "import from file", and select the JSON Claude produced. Executing the workflow opens a form with the scraper's parameters: search term (n8n in the demo), max videos per search, shorts and streams set to zero to exclude them, results sorted by view count, and any upload date, content type, and duration. The demo run scraped four n8n videos from YouTube and saved them straight into the connected sheet.

How do you stop duplicate rows in Google Sheets?

Set the Google Sheets node's "column to match on" to ID, so every incoming record is checked against existing rows before insertion. If the ID already exists the row is skipped; if not, it is added, which keeps repeated runs from filling the sheet with duplicates. The sheet's columns, ID, URL, title, channel name, and so on, mirror the fields n8n receives, and any unmapped field can be fixed by dragging and dropping it into place.

FAQ

Is the whole setup really free?

Yes. Claude's free tier generates the JSON, n8n runs self-hosted on a local computer at no cost, and Apify's $5 monthly free credit covers about 5,000 YouTube results.

What if the generated workflow does not work?

Go back to Claude, describe the error, and ask it to adjust the JSON. Then re-import the corrected file into n8n.

Which Apify endpoint does the workflow need?

The "run actor synchronously and get key value store" endpoint, copied with the token included, pasted into the workflow's URL field.

Want this working inside your finance team?

Ani Björkström

Ani Björkström — founder of QvantX Sweden AB, a Stockholm consultancy building AI solutions for banks, asset managers and finance teams. Anthropic partner. Every article starts from a real client build, minus the confidential parts. LinkedIn →