with FormTitan and Formatting?
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 FormTitan API enables interaction with FormTitan's form-building and lead-capture capabilities programmatically. With Pipedream, you can harness this API to automate form data processing, synchronize data across various platforms, and trigger actions based on form submissions. This can streamline complex workflow scenarios, such as lead nurturing, survey data analysis, and customer feedback management, without the need to manually intervene.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
formtitan: {
type: "app",
app: "formtitan",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.formtitan.$auth.account}.formtitan.com/api/v1/users`,
headers: {
"ftAPIKey": `${this.formtitan.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})