with Twenty and CallerAPI?
Emit new event when a record is created, updated, or deleted.
Create, update, or delete a single record in Twenty. This action allows for dynamic handling of records based on specified action type. See the documentation
Retrieve detailed information about a specific phone number, including name, location, and carrier. See the documentation
Retrieve the profile picture associated with a phone number. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
twenty: {
type: "app",
app: "twenty",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.twenty.com/rest/people`,
headers: {
Authorization: `Bearer ${this.twenty.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
callerapi: {
type: "app",
app: "callerapi",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://callerapi.com/api/me`,
headers: {
"x-auth": `${this.callerapi.$auth.api_key}`,
},
})
},
})