Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Creates an order from your customers for your goods or services.
Creates an organisation. Organisations are recorded on your database, e.g Customers, Suppliers, Partners, Competition.
Creates a person. People are recorded in your database, e.g a contact, an employee.
Returns and order if exists otherwise creates a new one.
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 Workbooks CRM API unlocks a treasure trove of possibilities for automating customer relationship management tasks. With this API, you can seamlessly sync contact info, manage sales leads, automate follow-up tasks, and build custom reports to unlock actionable insights. Harnessing the power of the Workbooks CRM API on Pipedream allows you to supercharge these functionalities, triggering workflows on custom events, and connecting to numerous other apps to streamline your CRM processes even further.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
workbooks_crm: {
type: "app",
app: "workbooks_crm",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://secure.workbooks.com/activity/tasks.api`,
headers: {
"Cookie": `Workbooks-Session=${this.workbooks_crm.$auth.session_id}`,
},
})
},
})