Agendor is a sales improvement platform with web and mobile version designed for Brazilian companies with long sales cycles.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
The Agendor API can be used to build applications that allow users to manage
their contacts, sales opportunities, and tasks. Additionally, the API can be
used to create custom reports and dashboards.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
agendor: {
type: "app",
app: "agendor",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.agendor.com.br/v3/users/me`,
headers: {
"Authorization": `Token ${this.agendor.$auth.api_token}`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})