Agendor is a sales improvement platform with web and mobile version designed for Brazilian companies with long sales cycles.
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}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})