with Pembee and Picqer?
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: {
picqer: {
type: "app",
app: "picqer",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.picqer.$auth.subdomain}.picqer.com/api/v1/users`,
auth: {
username: `${this.picqer.$auth.api_key}`,
password: ``,
},
})
},
})