with Loomio and Discord?
The Loomio API empowers you to automate your collaborative decision-making processes, integrating your group discussions, proposals, and decisions with other apps and services. By leveraging Pipedream's capabilities, you can seamlessly connect Loomio with hundreds of other applications, creating custom workflows that trigger actions based on events in Loomio, such as new discussions, votes, or comments. This enables you to streamline communication, enhance project management, and foster transparent governance.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
loomio: {
type: "app",
app: "loomio",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.loomio.org/api/b1/memberships`,
params: {
api_key: `${this.loomio.$auth.api_key}`,
},
})
},
})
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`,
},
})
},
})