Web-based software for online inventory management, order fulfillment and manufacturing using bills of materials.
Emit new event for each message posted to one or more channels in a Discord server
Emit new event for each command posted to one or more channels in a Discord server
Emit new event when a new product is created. See the docs.
Insert or update a product in the database. See the docs.
Insert or update a purchase order in the database. See the docs.
Insert or update a sales order in the database. See the docs.
Send a simple or structured message (using embeds) to a Discord channel
Megaventory is a robust inventory management API allowing for detailed tracking of products, orders, and the supply chain. You can automate the updating of stock levels, manage sales and purchase orders, and generate detailed reports. With Megaventory and Pipedream, you can craft automation workflows to streamline inventory operations, synchronize data across platforms, and trigger actions based on inventory changes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
megaventory: {
type: "app",
app: "megaventory",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.megaventory.com/v2017a/json/reply/ProductGet?APIKEY=${this.megaventory.$auth.api_key}`,
headers: {
"Authorization": `Token token=${this.megaventory.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})
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`,
},
})
},
})