Turn your website into a lead generating machine with forms.
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 Tapform API furnishes a way to automate and integrate form data handling in Pipedream's serverless environment. With it, you can manipulate form submissions, manage user data, and connect forms to other services for complex workflows. This opens endless possibilities to streamline data collection processes, react in real-time to user submissions, and connect form data to more than 500+ apps available on Pipedream.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tapform: {
type: "app",
app: "tapform",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://apimvp.tapform.io/api/leads/zapier-leads`,
headers: {
"tapform-api-key": `${this.tapform.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})