with Memberful and CleverReach?
Emit new event in Pipedream when a subscribed event is triggered in memberful.
Emit new event when a new subscriber is added to a selected group. See the documentation
Emit new event when a receiver unsubscribes. See the documentation
Adds a new subscriber to a mailing list. See the documentation
Updates the information of an existing subscriber. See the documentation
The Memberful API lets you handle memberships and subscriptions with precision. Using Pipedream, you can automate tasks around Memberful's robust features, like syncing member data, managing subscriptions, or triggering events based on membership changes. Pipedream's serverless platform turns these tasks into workflows you can build, run, and observe with ease.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
memberful: {
type: "app",
app: "memberful",
}
},
async run({steps, $}) {
return await axios($, {
method: "POST",
url: `https://${this.memberful.$auth.site}.memberful.com/api/graphql`,
headers: {
Authorization: `Bearer ${this.memberful.$auth.api_key}`,
"Content-Type": `application/json`,
},
params: {
query: `{
members(first: 10) {
totalCount
pageInfo {
endCursor
hasNextPage
}
edges {
node {
id
email
fullName
subscriptions {
id
plan {
id
name
priceCents
}
}
}
}
}
}`,
},
})
},
})
The CleverReach API lets you automate email marketing operations and integrate with your data sources for personalized campaigns. On Pipedream, use this API to craft and manage subscriber lists, send targeted emails, and track campaign performance. With an event-driven platform like Pipedream, you can trigger workflows from numerous sources, manipulate data, and connect CleverReach to other apps to automate complex tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cleverreach: {
type: "app",
app: "cleverreach",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rest.cleverreach.com/v3/groups.json`,
headers: {
Authorization: `Bearer ${this.cleverreach.$auth.oauth_access_token}`,
},
})
},
})