with 123FormBuilder 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 123FormBuilder API enables you to automate form and data management tasks, allowing seamless integration with Pipedream's serverless platform. With this API, you can fetch submitted form data in real-time, update form structures, or manage respondents and their submissions programmatically. Harnessing the power of the 123FormBuilder API in Pipedream workflows unlocks the potential for dynamic data collection, efficient data processing, and connectivity with a myriad of other services for an enhanced data-driven ecosystem.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
a123formbuilder: {
type: "app",
app: "a123formbuilder",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.a123formbuilder.$auth.region}.123formbuilder.com/v2/users`,
params: {
JWT: `${this.a123formbuilder.$auth.oauth_access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})