with OpenPhone and Ideal Postcodes?
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.
Validate email addresses using Ideal Postcodes. See the documentation
Retrieve the list of phone numbers and users associated with your OpenPhone workspace. See the documentation
Query for geographical places across countries. Each query will return a list of place suggestions, which consists of a place name, descriptive name, and id. See the documentation
Validates a phone number and returns information about it. 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}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ideal_postcodes: {
type: "app",
app: "ideal_postcodes",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ideal-postcodes.co.uk/v1/autocomplete/addresses`,
params: {
"q": `parkside`,
api_key: `${this.ideal_postcodes.$auth.api_key}`,
},
})
},
})