with Enormail and Zoho FMS?
The Enormail API brings email marketing campaigns to your fingertips, allowing you to automate subscriber management and email sending. You can craft workflows that respond to subscriber actions, update lists, and send targeted emails based on user behavior or predefined triggers. Pipedream's serverless platform magnifies Enormail's potential by enabling integrations with a multitude of apps to create custom automation chains, streamlining your marketing processes without having to write extensive code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
enormail: {
type: "app",
app: "enormail",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.enormail.eu/api/1.0/account.json`,
auth: {
username: `${this.enormail.$auth.api_key}`,
password: ``,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_fms: {
type: "app",
app: "zoho_fms",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://fsm.${this.zoho_fms.$auth.api_domain}/fsm/v1/users`,
headers: {
Authorization: `Bearer ${this.zoho_fms.$auth.oauth_access_token}`,
},
})
},
})