with PlanSo Forms 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 PlanSo Forms API allows for the automation of form-related tasks and the seamless integration of form data into various applications or workflows. On Pipedream, this translates to crafting serverless workflows that trigger upon form submissions, manipulating and routing the data to other services for analysis, storage, or further action. With this API, you can trigger events, process form inputs, and integrate with countless other apps in the Pipedream ecosystem to streamline processes and enhance data management.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
planso_forms: {
type: "app",
app: "planso_forms",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.planso_forms.$auth.company_token}.planso.de/api/v2/methods_table_list_tables`,
headers: {
"Apikey": `${this.planso_forms.$auth.api_key}`,
"Apipass": `${this.planso_forms.$auth.api_password}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})