with DevRev and Notion (API Key)?
Emit new event when a new comment is created in DevRev.
Emit new event when a new comment is created in a page or block. See the documentation
Emit new event when a new work item is created in DevRev.
Emit new event when a database is created. See the documentation
Emit new event when a page is created or updated in the selected database. See the documentation
Creates a new comment on a work item in DevRev. See the documentation
Append new and/or existing blocks to the specified parent. See the documentation
Create a comment in a page or existing discussion thread. See the documentation
The DevRev API bridges the gap between developers and customers, enabling teams to interact with customer data, handle support issues, and integrate with various development workflows. Within Pipedream, you can wield this API to automate tasks like syncing customer feedback with your issue trackers, updating CRM records, or triggering custom notifications based on customer interactions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
devrev: {
type: "app",
app: "devrev",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.devrev.ai/dev-users.self`,
headers: {
"Authorization": `${this.devrev.$auth.personal_access_token}`,
},
})
},
})
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`,
},
})
},
})