The #1 Route Planner for Field Sales.
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}`,
},
})
},
})
Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.
This includes installing PyPI packages, within your code without having to manage a requirements.txt
file or running pip
.
Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:
def handler(pd: "pipedream"):
# Reference data from previous steps
print(pd.steps["trigger"]["context"]["id"])
# Return data for use in future steps
return {"foo": {"test":True}}