with Google reCAPTCHA and Typebot?
Emit new event when a zapier step is triggered. See the docs
Validate a Google reCAPTCHA request (v2 or v3). See docs here
Google reCAPTCHA API helps you detect abusive traffic on your website without any user friction. It does this by presenting CAPTCHA challenges to users they need to solve before submitting forms, ensuring these actions are not generated by bots. The API returns a score, helping you decide what action to take for your website: for instance, you might require further verification for low-scoring users. With Pipedream's ability to integrate with various APIs, you can create custom workflows that trigger upon the result of a reCAPTCHA verification, streamlining both security and user experience.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_recaptcha: {
type: "app",
app: "google_recaptcha",
}
},
async run({steps, $}) {
const data = {
"secret": `${this.google_recaptcha.$auth.secret}`,
"response": ``,
"remoteip": ``,
}
return await axios($, {
method: "post",
url: `https://www.google.com/recaptcha/api/siteverify`,
data,
})
},
})
Typebot is a conversational form builder that allows you to create interactive and engaging forms for data collection. With Typebot API on Pipedream, you can automate the processing of form submissions, synchronize data with other services, and trigger customized workflows. Utilize the data gathered from Typebot in real-time, enrich it with other services, and streamline processes like lead generation, surveys, and feedback collection.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
typebot: {
type: "app",
app: "typebot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://typebot.io/api/users/me`,
headers: {
Authorization: `Bearer ${this.typebot.$auth.api_token}`,
},
})
},
})