with Picqer and Formatting?
Emit new event when Picqer sends a webhook matched with selected event. See the documentation
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: ``,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})