Modern business phone for startups and small businesses
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 an outgoing call has ended.
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}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})