with Mailmodo and IPinfo.io?
Emit new events when a new template is created. See the docs
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}`,
},
})
},
})
IPinfo.io API offers a fast and simple way to gather IP address data, such as geolocation, ISP details, and more. When used within Pipedream, this API becomes a powerful tool to enrich data workflows, trigger location-based actions, and analyze web traffic. With Pipedream's serverless platform, you can easily integrate IPinfo.io with numerous apps to create custom automations without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ipinfo_io: {
type: "app",
app: "ipinfo_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://ipinfo.io/8.8.8.8`,
headers: {
Authorization: `Bearer ${this.ipinfo_io.$auth.api_token}`,
},
})
},
})