with Notion (API Key) and Zoho Desk?
Emit new event when a new comment is created in a page or block. See the documentation
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
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
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`,
},
})
},
})
Zoho Desk API empowers you to streamline and automate customer service processes. With Pipedream, you can tap into Zoho Desk's capabilities to manage tickets, fetch customer info, and coordinate your support team's efforts. Imagine syncing support tickets to your internal systems, triggering alerts for high-priority issues, or even analyzing support trends over time. Pipedream's serverless platform lets you connect Zoho Desk to hundreds of other apps with minimal hassle, transforming how you attend to customer needs.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_desk: {
type: "app",
app: "zoho_desk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://desk.${this.zoho_desk.$auth.region}/api/v1/myProfile`,
headers: {
"Authorization": `Zoho-oauthtoken ${this.zoho_desk.$auth.oauth_access_token}`,
},
})
},
})