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 the generation status of an image gets updated.
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
Allows user to purchase an image and receive a direct public link. User must have sufficient credit balance. See the documentation
Creates a page from a parent page. The only valid property is title. See the documentation
Generates advanced customized images using a prompt from the user. 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 All-Images.ai API serves as a tool for processing images through AI-driven methods. With this API, you can enhance images, deblur them, remove backgrounds, and much more. All-Images.ai becomes more powerful when integrated into Pipedream’s serverless platform, allowing you to automate image processing in workflows that connect with other apps. You can trigger workflows with HTTP requests, email, and over 800 Pipedream-supported apps. These automations can save time and enhance productivity, especially for tasks involving bulk image processing or real-time image manipulation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
all_images_ai: {
type: "app",
app: "all_images_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.all-images.ai/v1/credit`,
headers: {
"Accept": `application/json`,
"api-key": `${this.all_images_ai.$auth.api_key}`,
},
})
},
})