with Nimble and MyOTP.App?
Generate a One Time Password (OTP) and send it to the specified phone number. See the documentation
Validate the OTP for successful verification. See the documentation
The Nimble API enables you to manage contacts, deals, activities, and more within your Nimble CRM. With Pipedream's serverless platform, you can create workflows that trigger on events in Nimble or other apps, process data, and perform actions back in Nimble or across various other services. By utilizing Pipedream's capabilities, you can automate tasks such as syncing contacts to other platforms, triggering custom actions based on deal updates, or aggregating customer interactions for analysis.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nimble: {
type: "app",
app: "nimble",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.nimble.com/api/v1/myself`,
headers: {
Authorization: `Bearer ${this.nimble.$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,
})
},
})