Powerful Helpdesk Plugin for WordPress. Automate your support ticketing tasks with workflows and super fast shared inbox.
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}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})