Form builder, reimagined. Reinventing your form building experience. Your one-stop, pay-as-you-go form builder.
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.
The FormCan API enables automation and integration of FormCan form submissions into various workflows on Pipedream. With this API, you can trigger actions when new submissions come in, read and manage your forms, and interact with submitted data in real-time. This opens a plethora of possibilities to connect your FormCan data with other apps and services, streamline data processing, and enhance the overall responsiveness of your form-related operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
formcan: {
type: "app",
app: "formcan",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.formcan.com/v4/me/`,
headers: {
Authorization: `Bearer ${this.formcan.$auth.oauth_access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})