Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Create a new project with an optional task in DeskTime. See the documentation
Starts tracking time for a given project and optionally a task. See the documentation
Stop tracking time for a given project and optionally a task. See the documentation
Send a simple or structured message (using embeds) to a Discord channel
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 DeskTime API enables you to hook into vital data concerning productivity tracking, employee attendance, and project management. Integrating this API with Pipedream allows you to automate workflows, synchronize productivity data with other tools, and trigger actions based on team performance metrics. For instance, you can set up a system that notifies a project manager when an employee logs overtime or integrates time tracking data with payroll software.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
desktime: {
type: "app",
app: "desktime",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://desktime.com/api/v2/json/company`,
params: {
apiKey: `${this.desktime.$auth.api_key}`,
},
})
},
})