with Acumbamail 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.
Acumbamail API offers a suite of features to automate email marketing workflows. It enables users to create, send, and manage email campaigns, subscriber lists, and reports. Using Acumbamail with Pipedream, you can listen to various triggers, such as new subscribers or campaign status updates, and initiate actions in other apps. This integration facilitates seamless synchronization of your email marketing efforts with CRM systems, customer databases, or any other tools in your business stack.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
acumbamail: {
type: "app",
app: "acumbamail",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://acumbamail.com/api/1/getLists/`,
params: {
auth_token: `${this.acumbamail.$auth.auth_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})