CompanyHub is a sales automation CRM for sales teams that can be completely tailored for your industry.
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
The CompanyHub API offers a platform for seamless CRM automation, enabling you to streamline sales processes, manage customer interactions, and analyze data efficiently. With it, you can automate tasks like data entry, lead tracking, and follow-ups, saving time and eliminating manual errors. Pipedream's integration capabilities allow you to connect CompanyHub with other apps to create custom, automated workflows that trigger actions based on events, sync data across platforms, or generate real-time notifications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
companyhub: {
type: "app",
app: "companyhub",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.companyhub.com/v1/me`,
headers: {
"Authorization": `${this.companyhub.$auth.subdomain} ${this.companyhub.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS