Best-in-class membership software for independent creators, publishers, educators, podcasters, and more.
Emit new event in Pipedream when a subscribed event is triggered in memberful.
Retrieves a list of your available Documint templates. 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 Documint API enables automated document generation with dynamic content, offering a robust solution for creating tailored PDFs or other document types from templates. With this API, you can insert custom data into predefined fields, generate documents on the fly, and streamline the creation of invoices, contracts, reports, and more. Integrating Documint with Pipedream allows for the orchestration of serverless workflows that react to various triggers, like webhooks, emails, or schedule timings, to produce documents as part of a larger automated process.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
documint: {
type: "app",
app: "documint",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.documint.me/1/templates`,
headers: {
"api_key": `${this.documint.$auth.api_key}`,
},
})
},
})