Trigger workflows on new emails, and send emails to yourself as part of a Pipedream workflow.
Customize and send an email to the email address you registered with Pipedream. The email will be sent by notifications@pipedream.com.
export default defineComponent({
async run({ $ }) {
const options = {
subject: 'Your subject here',
text: 'Your text here'
};
$.send.email(options);
},
});
Mailwizz offers a potent API that enables automation of email marketing tasks, subscriber management, campaign tracking, and more. Using Pipedream, you can harness this API to create custom workflows that trigger on specific events, process data, or synchronize with other apps. Pipedream's serverless architecture allows you to handle workflows at scale without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailwizz: {
type: "app",
app: "mailwizz",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.mailwizz.$auth.url}/lists`,
headers: {
"X-API-KEY": `${this.mailwizz.$auth.api_key}`,
},
})
},
})