Guided Workflow Screen Components - reCAPTCHA
Updated
Overview
Google reCAPTCHA can be added as an input component to ensure that the user completing the form or using the website is a human, not an automated bot. This security measure is essential for preventing spam and protecting websites from malicious activity. When integrated, reCAPTCHA presents challenges to the user, such as selecting images or simply checking a box, to confirm their identity. If the user fails to complete the reCAPTCHA correctly, they will not be able to proceed to the next step or screen. To implement reCAPTCHA, site administrators must provide both the site and secret keys, which are essential for authenticating the interaction. Google reCAPTCHA v2 is a highly effective tool in distinguishing human users from bots, enhancing website security.
Key Characteristics of reCAPTCHA v2
"I'm Not a Robot" Checkbox:
The most common implementation of reCAPTCHA v2 involves a simple checkbox that asks the user to verify they are not a robot.
When users check the box, reCAPTCHA analyses their behavior to confirm they are likely human (based on factors like mouse movements).
In some cases, the system may present additional challenges, such as image recognition tasks, if it detects suspicious activity.
Image Challenges:
If the system cannot determine whether the user is human based on the checkbox alone, it may prompt the user with an image-based challenge. Users are asked to select all images that contain a specific object (e.g., buses, traffic lights, or crosswalks).
This helps to verify that the user is not a bot by testing visual perception.
Security:
Helps protect sites from automated bots that may try to submit forms, scrape content, or engage in fraudulent activities.
It reduces the risk of spam, bot-driven attacks, and other forms of abuse.
Note: You need to add your reCAPTCHA v2 credentials to the Sprinklr platform before you can use it in your reCAPTCHA v2 component. To do the same, follow the steps below.
Steps to Add reCAPTCHA v2 Credentials in the Sprinklr Platform
To add an external Credential, go to All Settings > Manage Customer > External Authentication > Add Credential > enter the External Credential Name, set the Authentication Type as Key-Based Auth, and enter the Public Key and Secret Key.
Note: If you are an admin and want to allow users to add their Public Key and Secret Key for external authentication, create a role with the below permissions and assign it to the appropriate users or user groups.
Steps to Add reCAPTCHA v2 Credentials in the reCAPTCHA v2 Component
In the reCAPTCHA v2 under input components of Screen Node, select the previously added reCAPTCHA v2 Credential from the reCAPTCHA v2 credential dropdown and click Save.
Various Fields in reCAPTCHA v2
API Name: It is the unique identifier that can be used as a reference to the value of this component.
reCAPTCHA v2 Credentials: The reCAPTCHA error will be fixed in the final output if a valid credential is used.