with Xola and Notion?
Emit new event when an experience is deleted. See the documentation
Emit new event when an experience is updated. See the documentation
Emit new event when a new experience is created. See the documentation
Emit new event when a new order is created. See the documentation. This source has been deprecated. Please use the 'New Purchase Created (Instant)' source instead.
Emit new event when a new purchase is created. See the documentation
Append new and/or existing blocks to the specified parent. See the documentation
Creates a new schedule for an experience. 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
Deletes a schedule from an experience. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
xola: {
type: "app",
app: "xola",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.xola.$auth.api_url}/api/experiences`,
headers: {
"x-api-key": `${this.xola.$auth.api_key}`,
},
})
},
})
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`,
},
})
},
})