with Pembee and HelpDocs?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pembee: {
type: "app",
app: "pembee",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://webhooks.pembee.app/api/zapier/users`,
headers: {
Authorization: `Bearer ${this.pembee.$auth.api_key}`,
},
params: {
account_name: `${this.pembee.$auth.account_name}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
helpdocs: {
type: "app",
app: "helpdocs",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.helpdocs.io/v1/category`,
headers: {
Authorization: `Bearer ${this.helpdocs.$auth.api_key}`,
},
})
},
})