Plivo

SMS API and Voice API platform

Integrate the Plivo API with the Azure OpenAI Service API

Setup the Plivo API trigger to run a workflow which integrates with the Azure OpenAI Service API. Pipedream's integration platform allows you to integrate Plivo and Azure OpenAI Service remarkably fast. Free for developers.

Chat with Azure OpenAI Service API on New Completed Call from Plivo API
Plivo + Azure OpenAI Service
 
Try it
Chat with Azure OpenAI Service API on New SMS Received (Instant) from Plivo API
Plivo + Azure OpenAI Service
 
Try it
Classify Items Into Categories with Azure OpenAI Service API on New Completed Call from Plivo API
Plivo + Azure OpenAI Service
 
Try it
Classify Items Into Categories with Azure OpenAI Service API on New SMS Received (Instant) from Plivo API
Plivo + Azure OpenAI Service
 
Try it
Create Image with Azure OpenAI Service API on New Completed Call from Plivo API
Plivo + Azure OpenAI Service
 
Try it
New Completed Call from the Plivo API

Emit new event when a call is completed. See the docs.

 
Try it
New SMS Received (Instant) from the Plivo API

Emit new event when a new SMS is received. See the docs.

 
Try it
Make A Call with the Plivo API

Makes a call. See the docs.

 
Try it
Chat with the Azure OpenAI Service API

Create completions for chat messages with the GPT-35-Turbo and GPT-4 models. See the documentation

 
Try it
Classify Items Into Categories with the Azure OpenAI Service API

Classify items into specific categories. See the documentation

 
Try it
Create Image with the Azure OpenAI Service API

Creates an image given a prompt, and returns a URL to the image. See the documentation

 
Try it
Plays An Audio with the Plivo API

Plays audio on a call. See the docs.

 
Try it

Overview of Plivo

The Plivo API taps into the power of cloud communication, allowing you to programmatically send SMS messages, make voice calls, and manage user verifications among other telephony functions. With Pipedream's serverless platform, you can easily integrate Plivo into workflows that automate these communication tasks, react to incoming messages or calls, and connect with numerous other apps for comprehensive automation solutions.

Connect Plivo

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: {
    plivo: {
      type: "app",
      app: "plivo",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.plivo.com/v1/Account/${this.plivo.$auth.auth_id}/Message/`,
      auth: {
        username: `${this.plivo.$auth.auth_id}`,
        password: `${this.plivo.$auth.auth_token}`,
      },
    })
  },
})

Overview of Azure OpenAI Service

The Azure OpenAI Service API provides access to powerful AI models that can understand and generate human-like text. With Pipedream, you can harness this capability to create a variety of serverless workflows, automating tasks like content creation, code generation, and language translation. By integrating the API with other apps on Pipedream, you can streamline processes, analyze sentiment, and even automate customer support.

Connect Azure OpenAI Service

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    azure_openai_service: {
      type: "app",
      app: "azure_openai_service",
    }
  },
  async run({steps, $}) {
    const data = {
      "messages": [{ role: 'user', content: "Hello, world!" }],
    }
    return await axios($, {
      method: "post",
      url: `https://${this.azure_openai_service.$auth.resource_name}.openai.azure.com/openai/deployments/${this.azure_openai_service.$auth.deployment_name}/chat/completions?api-version=2023-05-15`,
      headers: {
        "Content-Type": `application/json`,
        "api-key": `${this.azure_openai_service.$auth.api_key}`,
      },
      data,
    })
  },
})