π§ Solve Google reCAPTCHA v2 challenges with CaptchaSonic and webhooks
β‘ 8 views Β· π§ Miscellaneous
Description
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-captchasoniccommunity 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
websiteKeyandwebsiteURL(and optionallyproxy,userAgent, and other fields used by the workflow). - If using scheduled monitoring, update the target
websiteURLandwebsiteKeyvalues (currently set to Googleβs reCAPTCHA demo) and adjust the schedule interval as needed.
π Nodes Used
HTTP Request, Webhook, Schedule Trigger
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File