import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
moaform: {
type: "app",
app: "moaform",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.moaform.com/v1/forms`,
headers: {
Authorization: `Bearer ${this.moaform.$auth.api_key}`,
},
})
},
})
Emit new event every time a new form submission is received.
Moaform uses API keys for authentication. When you connect your Moaform account, Pipedream securely stores the keys so you can easily authenticate to Moaform APIs in both code and no-code steps.