with SendPulse and Ablefy (formerly elopage)?
Make a GET request to https://api.sendpulse.com/emails/{email}
Make a POST request to https://api.sendpulse.com/addressbooks/{id}/emails/unsubscribe
The SendPulse API taps into the power of multi-channel marketing automation, enabling you to manage mailing lists, send emails, and analyze campaign performance. By leveraging Pipedream, you can stitch SendPulse into a network of apps to create automated workflows. Imagine syncing new sign-ups from your CRM to SendPulse, triggering personalized email sequences based on customer behavior, or pulling campaign stats into your analytics dashboard - All in real-time and without writing a single line of server-side code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sendpulse: {
type: "app",
app: "sendpulse",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sendpulse.com/senders`,
headers: {
Authorization: `Bearer ${this.sendpulse.$auth.oauth_access_token}`,
},
})
},
})
The elopage API allows you to automate processes around selling digital products, courses, memberships, and tickets. It provides endpoints to manage products, payments, users, and subscriptions. With Pipedream's serverless workflows, you can construct automations that respond to elopage events or orchestrate complex tasks involving multiple systems, streamlining your digital commerce operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
elopage: {
type: "app",
app: "elopage",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.myablefy.com/api/funnels/`,
params: {
key: `${this.elopage.$auth.api_key}`,
secret: `${this.elopage.$auth.api_secret}`,
},
})
},
})