with Float and Notion (API Key)?
Emit new event when a new comment is created in a page or block. See the documentation
Emit new event when a database is created. See the documentation
Emit new event when a page is created or updated in the selected database. See the documentation
Emit new event when a page is created in the selected database. See the documentation
Emit new event when the selected page or one of its sub-pages is updated. See the documentation
Append new and/or existing blocks to the specified parent. See the documentation
Create a comment in a page or existing discussion thread. See the documentation
Create a page from a database. See the documentation
Create a new page copied from an existing page block. See the documentation
The Float API allows you to interact with Float's resource scheduling platform programmatically. With it, you can manage projects, tasks, people, and time off, as well as retrieve reports on workload and capacity. On Pipedream, the API can be leveraged to create automated workflows that link Float's scheduling capabilities with other apps, streamlining project management processes, syncing with calendars, and dynamically updating team schedules.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
float: {
type: "app",
app: "float",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.float.com/v3/accounts`,
headers: {
Authorization: `Bearer ${this.float.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
notion_api_key: {
type: "app",
app: "notion_api_key",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.notion.com/v1/users/me`,
headers: {
Authorization: `Bearer ${this.notion_api_key.$auth.api_secret}`,
"Notion-Version": `2021-08-16`,
},
})
},
})