Making everyone an internet entrepreneur. Explore a playground for digital products, memberships & communities.
Emit new event for each message posted to one or more channels in a Discord server
Emit new event when a membership goes valid. See the documentation
Emit new event for each command posted to one or more channels in a Discord server
Creates a new checkout session in Whop. See the documentation
Creates a new promo code with the given parameters in Whop. See the documentation
Permanently invalidates a specified membership using its unique ID, effectively unfulfilling the user's product experiences. Termination is irreversible. See the documentation
Send a simple or structured message (using embeds) to a Discord channel
The Whop API provides access to a marketplace for buying and selling software companies. On Pipedream, you can leverage the Whop API to craft serverless workflows that automate tasks like tracking sales, managing memberships, and integrating with other services for a comprehensive business management solution. It’s great for creating custom alerts, syncing data across platforms, and much more, all without writing a line of server-side code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
whop: {
type: "app",
app: "whop",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.whop.com/api/v2/memberships`,
headers: {
Authorization: `Bearer ${this.whop.$auth.api_key}`,
},
})
},
})
The Discord API interacts seamlessly with Pipedream, empowering you to craft customized automations and workflows for your Discord server. With this powerful integration, you can automate tasks like message posting, user management, and notifications, based on a myriad of triggers and actions from different apps. These automations can enhance the Discord experience for community moderators and members, by synchronizing with external tools, organizing community engagement, and streamlining notifications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
discord: {
type: "app",
app: "discord",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://discord.com/api/users/@me`,
headers: {
Authorization: `Bearer ${this.discord.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})