Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
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`,
},
})
},
})
Namely is a Human Resources Information System (HRIS) designed to simplify HR, payroll, benefits, and talent management. By leveraging the Namely API on Pipedream, you can automate employee data synchronization across various platforms, streamline HR operations by triggering workflows based on employee lifecycle events, and even analyze workforce data to gain insights. It's a potent tool for HR professionals looking to integrate their HR tech stack and automate repetitive tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
namely: {
type: "app",
app: "namely",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.namely.$auth.subdomain}.namely.com/api/v1/profiles/me`,
headers: {
Authorization: `Bearer ${this.namely.$auth.oauth_access_token}`,
},
})
},
})