← Google reCAPTCHA

Validate reCAPTCHA Response with Google reCAPTCHA API

Pipedream makes it easy to connect APIs for Google reCAPTCHA and 1000+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Validate reCAPTCHA Response with the Google reCAPTCHA API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

Trusted by 500,000+ developers from startups to Fortune 500 companies

Adyen logo
Brex logo
Carta logo
Checkr logo
Chameleon logo
DevRev logo
LinkedIn logo
Netflix logo
New Relic logo
OnDeck logo
Replicated logo
Scale AI logo
Teamwork logo
Warner Bros. logo
Xendit logo

Developers Pipedream

Getting Started

Create a workflow to Validate reCAPTCHA Response with the Google reCAPTCHA API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Validate reCAPTCHA Response action
    1. Connect your Google reCAPTCHA account
    2. Optional- Configure Remote IP Address
    3. Configure Token
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Validate reCAPTCHA Response with Google reCAPTCHA API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Google reCAPTCHA
 
Try it
Validate reCAPTCHA Response with Google reCAPTCHA API on New Message in Channel from Discord Bot API
Discord Bot + Google reCAPTCHA
 
Try it
Validate reCAPTCHA Response with Google reCAPTCHA API on New Submission from Typeform API
Typeform + Google reCAPTCHA
 
Try it
Validate reCAPTCHA Response with Google reCAPTCHA API on Custom Events from Zoom API
Zoom + Google reCAPTCHA
 
Try it
Validate reCAPTCHA Response with Google reCAPTCHA API on New Submission (Instant) from Jotform API
Jotform + Google reCAPTCHA
 
Try it

Details

This is a pre-built, source-available component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Validate reCAPTCHA Response on Google reCAPTCHA
Description:Validate a Google reCAPTCHA request (v2 or v3). [See docs here](https://developers.google.com/recaptcha/docs/verify)
Version:0.0.1
Key:google_recaptcha-validate-recaptcha

Code

import googleRecaptcha from "../../app/google_recaptcha.app.mjs";
import { defineAction } from "@pipedream/types";
export default defineAction({
    name: "Validate reCAPTCHA Response",
    version: "0.0.1",
    key: "google_recaptcha-validate-recaptcha",
    description: "Validate a Google reCAPTCHA request (v2 or v3). [See docs here](https://developers.google.com/recaptcha/docs/verify)",
    props: {
        googleRecaptcha,
        remote_ip: {
            type: "string",
            label: "Remote IP Address",
            description: "The IP Address originating the request. This whould be the user IP where the challenge was executed on the frontend.",
            default: "{{steps.trigger.event.client_ip}}",
            optional: true,
        },
        token: {
            type: "string",
            label: "Token",
            description: "The reCAPTCHA response token to validate. This is the response when the challenge is executed on the frontend.",
        },
    },
    type: "action",
    methods: {},
    async run({ $ }) {
        const response = await this.googleRecaptcha.validateRecaptcha({
            $,
            params: {
                response: this.token,
                remoteip: this.remote_ip,
            },
        });
        $.export("$summary", "reCAPTCHA validation request has been sent.");
        return response;
    },
});

Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
Google reCAPTCHAgoogleRecaptchaappThis component uses the Google reCAPTCHA app.
Remote IP Addressremote_ipstring

The IP Address originating the request. This whould be the user IP where the challenge was executed on the frontend.

Tokentokenstring

The reCAPTCHA response token to validate. This is the response when the challenge is executed on the frontend.

Authentication

Google reCAPTCHA uses API keys for authentication. When you connect your Google reCAPTCHA account, Pipedream securely stores the keys so you can easily authenticate to Google reCAPTCHA APIs in both code and no-code steps.

About Google reCAPTCHA

Security service that protects your websites from fraud and abuse.