Online survey platform with unlimited responses.
Emit new event every time a new form submission is received.
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
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}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})