Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Emit new event for each message posted to one or more channels in a Discord server
Emit new event for each command posted to one or more channels in a Discord server
Emit new event when a summary is created.
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`,
},
})
},
})
Inksprout is a platform that streamlines social media content creation by automatically generating succinct captions and summaries. With the Inksprout API on Pipedream, you can craft workflows that capitalize on its AI-driven content enhancement to elevate your social media management. Automate caption generation, schedule posts for optimal engagement, and analyze content performance all in one seamless pipeline. Harness Inksprout’s capabilities to maintain a consistent and engaging online presence, while freeing up precious time to focus on deeper strategy and content creation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
inksprout: {
type: "app",
app: "inksprout",
}
},
async run({steps, $}) {
const data = {
"url": `https://www.blogto.com/restaurants/minami-toronto/`,
"text": ``,
}
return await axios($, {
method: "post",
url: `https://inksprout.co/api/v1/summarize`,
headers: {
Authorization: `Bearer ${this.inksprout.$auth.api_key}`,
},
data,
})
},
})