All-in-one solution for form creation, submission management, and data integration.
Emit new event when a user submission to a form occurs. See the documentation
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: {
byteforms: {
type: "app",
app: "byteforms",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.forms.bytesuite.io/api/form`,
headers: {
"Authorization": `${this.byteforms.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})