Quick overview
This workflow solves Google reCAPTCHA v2 challenges using CaptchaSonic, supporting webhook-based requests, scheduled monitoring against the reCAPTCHA demo page, and a manual test mode that classifies an image challenge and formats the result for downstream steps.
How it works
- Receives a POST request on a webhook endpoint with the reCAPTCHA v2 site key, website URL, and optional proxy/user-agent settings.
- Sends the request to CaptchaSonic to generate a reCAPTCHA v2 solution token.
- Returns the CaptchaSonic solution data back to the caller as a JSON webhook response.
- Runs on an hourly schedule, sends the Google reCAPTCHA site key and URL to CaptchaSonic to generate a token, and submits the token to the Google reCAPTCHA demo page for validation.
- Checks the validation response content and outputs a “passed” or “failed” monitoring status with a timestamp.
- Optionally runs manually with a sample base64 image and question, sends them to CaptchaSonic for reCAPTCHA v2 image classification, and formats the solved result.
Setup
- Install the
n8n-nodes-captchasonic community node (requires a self-hosted n8n instance).
- Create and select a CaptchaSonic API key credential for the CaptchaSonic nodes.
- If using the webhook path, copy the webhook URL and send a POST body that includes at least
websiteKey and websiteURL (and optionally proxy, userAgent, and other fields used by the workflow).
- If using scheduled monitoring, update the target
websiteURL and websiteKey values (currently set to Google’s reCAPTCHA demo) and adjust the schedule interval as needed.