What do you want to automate

with chatra and MyOTP.App?

Prompt, edit and deploy AI agents that connect to chatra, MyOTP.App and 2,500+ other apps in seconds.

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

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Send OTP with the MyOTP.App API

Generate a One Time Password (OTP) and send it to the specified phone number. See the documentation

 
Try it
Verify OTP with the MyOTP.App API

Validate the OTP for successful verification. See the documentation

 
Try it
Integrate the chatra API with the MyOTP.App API
Setup the chatra API trigger to run a workflow which integrates with the MyOTP.App API. Pipedream's integration platform allows you to integrate chatra and MyOTP.App remarkably fast. Free for developers.

Overview of chatra

The Chatra API enables the automation of customer support processes by allowing the programmatic sending of messages, retrieval of chat history, and management of ongoing conversations. With Pipedream's serverless platform, you can harness this API to integrate real-time chat capabilities with other applications, set up automated responses based on specific triggers, and analyze customer interactions to enhance support strategies.

Connect chatra

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    chatra: {
      type: "app",
      app: "chatra",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://app.chatra.io/api/messages/XGDsxHtLppJTJ3vZk`,
      headers: {
        "Content-Type": `application/json`,
        "Authorization": `Chatra.Simple ${this.chatra.$auth.public_key}:${this.chatra.$auth.secret_key}`,
      },
    })
  },
})

Connect MyOTP.App

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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,
    })
  },
})

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

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo