with TestLocally and Mailmodo?
Emit new events when a new template is created. See the docs
Emit new event when a new test is run or completed in TestLocally. See the documentation
Get details of a specific test in TestLocally. See the documentation
Allows to trigger campaigns with personalization parameter added to the email template. See the docs here
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
testlocally: {
type: "app",
app: "testlocally",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://testlocal.ly/api/v0/me`,
headers: {
Authorization: `Bearer ${this.testlocally.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
Mailmodo's API turns email marketing into a more powerful tool by allowing you to automate and personalize your email campaigns. Through Pipedream, you can trigger workflows based on events from other apps, update customer data in real time, send transactional emails without leaving your app, and analyze the performance of your campaigns. By leveraging Pipedream's serverless platform, you can integrate Mailmodo with countless apps to enhance your marketing strategies, improve customer engagement, and streamline your communication processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailmodo: {
type: "app",
app: "mailmodo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.mailmodo.com/api/v1/campaigns?type=CONTACT_LIST`,
headers: {
"Content-Type": `application/json`,
"mmApiKey": `${this.mailmodo.$auth.api_key}`,
},
})
},
})