Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
Emit new event when a new event for the specified business appears in your feed.
Emit new event when a database is created. Note: Databases must be shared with your Pipedream Integtration to trigger event.
Emit new event when a page or one of its sub-pages is updated.
Creates and appends blocks to the specified parent. See the documentation
Creates a page from a parent page. The only valid property is title. See the documentation
Start tracking a business to receive notifications when changes occur. See the documentation
Stop tracking a business that you are currently tracking. See the documentation
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`,
},
})
},
})
The KnowFirst API enables users to tap into a wealth of news and information by categorizing articles and providing insights based on content and trends. In Pipedream, you can harness this API to trigger workflows from new content alerts, analyze news data, or integrate with other apps to keep your team informed about relevant industry updates. By creating serverless workflows, you can automate actions based on the info received from KnowFirst, such as sending notifications, updating databases, or generating reports.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
knowfirst: {
type: "app",
app: "knowfirst",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.knowfirst.ai/v1/user`,
headers: {
"x-api-key": `${this.knowfirst.$auth.api_key}`,
},
})
},
})