with Launch27 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.
Launch27 is a robust platform aimed at helping businesses manage bookings and appointments seamlessly. Leveraging the Launch27 API on Pipedream, users can automate various business processes by connecting their scheduling system with other apps and services. This can include automations like syncing new bookings with a Google Calendar, triggering SMS or email reminders when an appointment is nearing, or compiling customer feedback collected through Launch27 into a CRM platform.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
launch27: {
type: "app",
app: "launch27",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.launch27.$auth.domain}.launch27.com/v1/settings`,
headers: {
Authorization: `Bearer ${this.launch27.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})