with Nozbe Teams and Discord?
The Nozbe Teams API enables automation of task and project management within the Nozbe Teams app. With this API on Pipedream, you can create, read, update, and delete tasks, projects, and comments, as well as manage team members and their activities. By tapping into this functionality, teams can streamline their workflows, synchronize project activities with other business tools, and enhance overall productivity with custom automation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nozbe_teams: {
type: "app",
app: "nozbe_teams",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api4.nozbe.com/v1/api/teams`,
headers: {
"Accept": `application/json`,
"Authorization": `${this.nozbe_teams.$auth.api_token}`,
},
})
},
})
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`,
},
})
},
})