with Freshsales and PushEngage?
The Freshsales API offers a suite of functionalities to enhance your CRM experience by automating sales processes, syncing customer data, and integrating with other business applications. By leveraging Pipedream's serverless platform, you can create custom automations that trigger actions within Freshsales or in other apps, based on events in Freshsales. This opens up possibilities for sales teams to streamline lead management, enhance customer engagement, and analyze sales performance.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
freshsales: {
type: "app",
app: "freshsales",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.freshsales.$auth.domain}.freshsales.io/api/leads/`,
headers: {
"Content-Type": `application/json`,
"Authorization": `Token token=${this.freshsales.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pushengage: {
type: "app",
app: "pushengage",
}
},
async run({steps, $}) {
return await axios($, {
url: ` https://api.pushengage.com/apiv1/notifications`,
headers: {
"api-key": `${this.pushengage.$auth.api_key}`,
},
})
},
})