with Acelle Mail and Formatting?
The Acelle Mail API opens doors for you to engage with your audience through crafted email campaigns, subscriber management, and analytics directly through Pipedream. By leveraging Pipedream's capabilities, you can automate workflows that respond to new subscribers, trigger campaigns based on external events, and analyze the performance of your email marketing efforts, all in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
acelle_mail: {
type: "app",
app: "acelle_mail",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.acelle_mail.$auth.api_endpoint}/api/v1/plans`,
params: {
api_token: `${this.acelle_mail.$auth.api_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})