with Freshdesk and HR Partner?
Emit new event when a contact is created. See the documentation
Emit new event when a ticket is created. See the documentation
The Freshdesk API empowers you to interact programmatically with your customer support platform, creating possibilities for automating repetitive tasks, integrating with other services, and enhancing customer experiences. With Pipedream, you can effortlessly connect Freshdesk to a multitude of apps, tapping into triggers and actions that streamline workflows. For instance, you can automate ticket creation, sync customer issues with a CRM, or trigger notifications based on ticket updates, all within a serverless environment.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
freshdesk: {
type: "app",
app: "freshdesk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.freshdesk.$auth.domain}.freshdesk.com/api/v2/tickets`,
auth: {
username: `${this.freshdesk.$auth.api_key}:X`,
password: ``,
},
})
},
})
The HR Partner API provides a suite of tools to manage employee records, leave requests, recruitment processes, and more in a centralized HR system. With Pipedream, you can harness this API to create automated workflows that streamline HR tasks, sync data with other business systems, and trigger actions based on employee activities. The API enables you to programmatically interact with HR Partner's platform, allowing you to create, read, update, and delete various HR-related data points.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hr_partner: {
type: "app",
app: "hr_partner",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.hrpartner.io/company`,
headers: {
"x-api-key": `${this.hr_partner.$auth.api_token}`,
},
})
},
})