with OpenPhone and Fly.io?
Emit new event when a call recording has finished.
Emit new event when an incoming call is completed, including calls not picked up or voicemails left.
Emit new event when a new event is created in Fly.io. See the documentation
Emit new event when an outgoing call has ended.
Create an app with the specified details in the request body. See the documentation
Retrieve the list of phone numbers and users associated with your OpenPhone workspace. See the documentation
Create a machine within a specific app using the details provided in the request body. See the documentation
Create a volume for a specific app using the details provided in the request body. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
openphone: {
type: "app",
app: "openphone",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.openphone.com/v1/phone-numbers`,
headers: {
"Authorization": `${this.openphone.$auth.api_key}`,
},
})
},
})
Fly.io is a platform that allows you to run full-stack apps and databases close to your users globally. The Fly.io API enables developers to manage applications, handle deployments, and scale their services dynamically. Using the Fly.io API with Pipedream provides a seamless way to automate these operations, integrate with other services, and enhance serverless workflow capabilities.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
fly_io: {
type: "app",
app: "fly_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.machines.dev/v1/apps`,
headers: {
Authorization: `Bearer ${this.fly_io.$auth.access_token}`,
},
params: {
org_slug: `${this.fly_io.$auth.org_slug}`,
},
})
},
})