with Fluent Support and Housecall Pro?
The Fluent Support API lets you interact with your Fluent Support ticketing system programmatically, enabling you to automate ticket management, sync customer data, and trigger actions based on ticket events. With Pipedream, you can harness this functionality to create custom workflows that respond to ticket creation, updates, and status changes, or to integrate ticket data with other apps and services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
fluent_support: {
type: "app",
app: "fluent_support",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.fluent_support.$auth.url}/wp-json/fluent-support/v2/tickets`,
auth: {
username: `${this.fluent_support.$auth.username}`,
password: `${this.fluent_support.$auth.application_password}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
housecall_pro: {
type: "app",
app: "housecall_pro",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.housecallpro.com/company`,
headers: {
"accept": `application/json`,
"authorization": `Token ${this.housecall_pro.$auth.api_key}`,
},
})
},
})