with Instantly and Notion (API Key)?
Emit new event when a new background job has completed. See the documentation
Emit new event when a new email is received. See the documentation
Emit new event when an activity occurs in your Instantly workspace.
Emit new event when a new lead is created. See the documentation
Emit new event when a new comment is created in a page or block. See the documentation
Adds a lead or leads to a campaign for tracking or further actions. 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
import { axios } from "@Pipedream/platform"
export default defineComponent({
props: {
instantly: {
type: "app",
app: "instantly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.instantly.ai/api/v2/accounts`,
headers: {
Authorization: `Bearer ${this.instantly.$auth.api_key}`,
},
})
},
})
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`,
},
})
},
})