with n8n.io and Instantly?
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
Adds a lead or leads to a campaign for tracking or further actions. See the documentation
Updates the interest status of a lead in a campaign. See the documentation
The n8n.io API provides a platform for automating workflows in a node-based structure that allows for integrations across various services and apps. Leveraging this API within Pipedream enables you to orchestrate complex operations, connect disparate systems, and trigger actions conditionally, transforming and passing data between services without writing extensive code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
n8n_io: {
type: "app",
app: "n8n_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.n8n_io.$auth.domain}.app.n8n.cloud/api/v1/workflows`,
headers: {
"Accept": `application/json`,
"X-N8N-API-KEY": `${this.n8n_io.$auth.api_key}`,
},
})
},
})
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}`,
},
})
},
})