with Outreach and n8n.io?
Adds an existing prospect to a specific sequence in Outreach. See the documentation
The Outreach API offers extensive capabilities to automate sales engagement processes and integrate with other tools seamlessly on Pipedream. With this API, you can sync lead and prospect data, automate outreach campaigns, and trigger actions based on sales interactions. The API provides endpoints to manage prospects, accounts, opportunities, and more, offering a rich set of data for custom workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
outreach: {
type: "app",
app: "outreach",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.outreach.io/api/v2/accounts`,
headers: {
Authorization: `Bearer ${this.outreach.$auth.oauth_access_token}`,
"Content-Type": `application/vnd.api+json`,
},
})
},
})
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}`,
},
})
},
})