Richpanel is the help desk software that helps you create a seamless support experience for both the customer & support teams.
Adds a message to an existing ticket. See the documentation
Creates a new support ticket in Richpanel. See the documentation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
richpanel: {
type: "app",
app: "richpanel",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.richpanel.com/v1/users`,
headers: {
"accept": `application/json`,
"x-richpanel-key": `${this.richpanel.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})