User login & payments for modern websites
Emit new event when a new member is created. See the docs
Emit new event when a new webhook event is received. Must create webhook in Memberstack UI using the http endpoint of this source. See the docs
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Retrieve a list of all members connected to your application. See the docs
Memberstack is an API that enables developers to easily add membership features
to their websites and apps. With Memberstack, developers can add features such
as login/logout, signup/login, payment processing, and more. Memberstack also
makes it easy to manage users and their data.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
memberstack: {
type: "app",
app: "memberstack",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://admin.memberstack.com/members`,
headers: {
"x-api-key": `${this.memberstack.$auth.secret_key}`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})