Create captivating email campaigns with the most complete and reliable platform.
Creates or updates a contact based on email address within Flexmail. See the documentation
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Flexmail API offers a way to automate your email marketing campaigns by allowing you to manage contacts, send out emails, and track results. With Pipedream's ability to integrate with hundreds of services, you can set up complex workflows that respond to events from various apps by updating contact lists, sending personalized content, or triggering sequences of marketing actions based on user behavior or data changes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
flexmail: {
type: "app",
app: "flexmail",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.flexmail.eu`,
auth: {
username: `${this.flexmail.$auth.account_id}`,
password: `${this.flexmail.$auth.personal_access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})