with Notion (API Key) and Dialpad?
Emit new call event subscription. See Event doc and webhook doc
Emit new contact event subscription. See Event doc and webhook doc
Emit new SMS event subscription. See Event doc and webhook doc
Emit update contact event subscription. See Event doc and webhook doc
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
notion_api_key: {
type: "app",
app: "notion_api_key",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.notion.com/v1/users/me`,
headers: {
Authorization: `Bearer ${this.notion_api_key.$auth.api_secret}`,
"Notion-Version": `2021-08-16`,
},
})
},
})
The Dialpad API taps into the core of Dialpad's communication platform, allowing for the automation of voice and messaging workflows. By leveraging this API through Pipedream, you can interact with call data, manage users, and automate sending of SMS messages, among other tasks. This enables the creation of intricate, automated processes that can enhance business communication efficiency, customer support, and team collaboration within your organization.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dialpad: {
type: "app",
app: "dialpad",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://dialpad.com/api/v2/users/me`,
headers: {
Authorization: `Bearer ${this.dialpad.$auth.oauth_access_token}`,
},
})
},
})