Templates / Get reCAPTCHA and Turnstile tokens with Cap.Guru

Get reCAPTCHA and Turnstile tokens with Cap.Guru

Ready for 3.0

by Cap.Guru · 2 views · created 2026-11-11 · Engineering

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 11 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). It uses only n8n's built-in nodes. It also calls api2.cap.guru over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Test values (Edit Fields (Set)): sets 4 fields: type, sitekey, pageurl…
  2. Build Cap.Guru task (Code): runs custom JavaScript code
  3. Send task to Cap.Guru (HTTP Request): calls api2.cap.guru
  4. Check task was created (Code): runs custom JavaScript code
  5. Wait: waits 10 seconds
  6. Get result from Cap.Guru (HTTP Request): calls api2.cap.guru
  7. Check result (Code): runs custom JavaScript code
  8. Token ready? (If): checks a condition and branches into true / false
  9. Return token (Edit Fields (Set)): sets 2 fields: token, taskId

HTTP calls to: api2.cap.guru

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (7)

From the author

Quick overview This workflow generates reCAPTCHA v2/v3 or Cloudflare Turnstile solution tokens by creating a task in Cap.Guru via its API, polling for completion, and returning the solved token for use in protected form submissions. How it works 1. Runs…

Excerpt from Cap.Guru's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.