with Zoho Forms and MyOTP.App?
Emit new event when a specific form receive a new response.
Generate a One Time Password (OTP) and send it to the specified phone number. See the documentation
Fetches the meta information of all the forms present in a Zoho Creator application. See the documentation
Validate the OTP for successful verification. See the documentation
Zoho Forms API allows you to automate interactions with your forms and the data you collect. Leveraging Pipedream, you can harness this API to trigger workflows upon new form submissions, manipulate form entries, and sync data with other services. Pipedream’s serverless platform simplifies integrating Zoho Forms with hundreds of other apps, empowering you to create custom, scalable workflows without hosting or managing servers.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_forms: {
type: "app",
app: "zoho_forms",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://forms.zoho.com/api/zforms?zf_service=Pipedream`,
headers: {
"Authorization": `Zoho-oauthtoken ${this.zoho_forms.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
myotp_app: {
type: "app",
app: "myotp_app",
}
},
async run({steps, $}) {
const data = {
"phone_number": this.myotp_app.$auth.phone_number,
}
return await axios($, {
method: "post",
url: `https://api.myotp.app/generate_otp`,
headers: {
"X-API-Key": `${this.myotp_app.$auth.api_key}`,
},
data,
})
},
})