with Badger Maps and Enrichley?
The Badger Maps API offers interaction with a platform designed for field sales; it allows you to optimize routes, manage territories, and explore customer locations. Combining the Badger Maps API with Pipedream's capabilities enables the automation of sales processes, integration with CRM systems, and enhancement of data analytics. You can build workflows that respond to events in real-time, sync data across multiple platforms, and create custom triggers and actions that cater specifically to your sales strategies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
badger_maps: {
type: "app",
app: "badger_maps",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://badgerapis.badgermapping.com/api/2/profiles/`,
headers: {
"Token": `${this.badger_maps.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
enrichley: {
type: "app",
app: "enrichley",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.enrichley.io/api/v1/me`,
headers: {
"accept": `application/json`,
"X-API-Key": `${this.enrichley.$auth.api_key}`,
},
})
},
})