with TOPdesk and Notion?
Emit new event when an incident is updated. See the documentation
Emit new event when an incident is assigned to a new user. See the documentation
Emit new event when a new incident is created. See the documentation
Emit new event when an incident is assigned to a new group. See the documentation
Emit new event when a new memo reply is created. See the documentation
Creates a new incident. See the documentation
Append new and/or existing blocks to the specified parent. See the documentation
Returns an incident by ID. See the documentation
Use this action to finalize a mode=multi_part file upload after all of the parts have been sent successfully. See the documentation
Get incident actions by incident ID. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
topdesk: {
type: "app",
app: "topdesk",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.topdesk.$auth.api_url}/tas/api/incidents`,
auth: {
username: `${this.topdesk.$auth.username}`,
password: `${this.topdesk.$auth.app_token}`,
},
})
},
})
Notion's API allows for the creation, reading, updating, and deleting of pages, databases, and their contents within Notion. Using Pipedream's platform, you can build workflows that connect Notion with various other services to automate tasks such as content management, task tracking, and data synchronization. With Pipedream's serverless execution, you can trigger these workflows on a schedule, or by external events from other services, without managing any infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
notion: {
type: "app",
app: "notion",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.notion.com/v1/users/me`,
headers: {
Authorization: `Bearer ${this.notion.$auth.oauth_access_token}`,
"Notion-Version": `2021年08月16日`,
},
})
},
})