with Invoiced and Notion?
Emit new event when an invoice is paid in full. See the documentation
Emit new event when a new customer is created. See the documentation
Emit new event when a new invoice is created. See the documentation
Emit new event when a new comment is created in a page or block. See the documentation
Emit new event when a data source is created. See the documentation
Creates a new customer in Invoiced. See the documentation
Append new and/or existing blocks to the specified parent. See the documentation
Creates a new invoice in Invoiced. 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
Creates a new payment in Invoiced. See the documentation
The Invoiced API empowers users to automate billing and invoicing processes with ease. It facilitates the creation, sending, and management of invoices, along with tracking payments and customer interaction. By harnessing the Invoiced API on Pipedream, you can craft workflows that respond to business events in real-time, sync invoice data with accounting software, or trigger customer engagement actions upon payment statuses.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
invoiced: {
type: "app",
app: "invoiced",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.invoiced.$auth.environment}/invoices`,
auth: {
username: `${this.invoiced.$auth.api_key}`,
password: ``,
},
})
},
})
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日`,
},
})
},
})