with Memberful and OnlineCheckWriter?
Emit new event in Pipedream when a subscribed event is triggered in memberful.
Create an email check for a payee. See the documentation
Registers a new payee within the system.See the documentation
Mails a PDF document to a destination. 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
}
}
}
}
}
}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
onlinecheckwriter: {
type: "app",
app: "onlinecheckwriter",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.onlinecheckwriter.$auth.environment}/api/v3/bankAccounts`,
headers: {
Authorization: `Bearer ${this.onlinecheckwriter.$auth.api_key}`,
},
})
},
})