Close Deals Faster in the Remote Sales World
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`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})