Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Emit new event for each message posted to one or more channels in a Discord server
Emits a new event anytime there is a new customer. See the documentation
Emit new event for each command posted to one or more channels in a Discord server
Emits an event when an order changes status to reserved in Booqable. See the documentation
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`,
},
})
},
})
The Booqable API provides programmatic access to rental shop functions such as inventory management, orders, and customers. Within Pipedream, you can leverage this API to automate tasks, sync data across platforms, and create custom workflows. The API's endpoints allow you to programmatically check item availability, manage bookings, and update customer information, making it suitable for integrating with a wide range of other apps and services to streamline operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
booqable: {
type: "app",
app: "booqable",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.booqable.$auth.company_slug}.booqable.com/api/1/customers`,
params: {
api_key: `${this.booqable.$auth.api_key}`,
page: `1`,
per: `1`,
},
})
},
})