with Parseur and Discord Bot?
Emit new event when a new document is not processed. It is triggered when a document fails to process with status New Template Needed
. See the docs
Emit new event for each message posted to one or more channels
Emit new event when a new document is processed. It is useful for endpoints that don't support deep JSON structures as it will flatten your table fields. See the docs
Emit new event when a new document is processed with list items. The payload format is the same as when viewing the document and clicking on view as JSON
. See the docs
Assign a role to a user. Remember that your bot requires the MANAGE_ROLES
permission. See the docs here
Create a new invite for the channel. See the docs here
Parseur is a powerful email parsing tool that automates the extraction of data from emails and documents. With its API, you can unlock the data trapped in emails and documents and transform it into structured data. On Pipedream, you can use Parseur to trigger workflows from parsed email data, connecting it to hundreds of other services for endless automation possibilities. This can streamline business processes like lead management, invoice processing, and data entry by automating the extraction and flow of critical information.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
parseur: {
type: "app",
app: "parseur",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.parseur.com/parser`,
headers: {
"Authorization": `Token ${this.parseur.$auth.api_token}`,
},
})
},
})
The Discord Bot API unlocks the power to interact with Discord users and channels programmatically, making it possible to automate messages, manage servers, and integrate with other services. With Pipedream's serverless platform, you can create complex workflows that respond to events in Discord, process data, and trigger actions in other apps. This opens up opportunities for community engagement, content moderation, analytics, and more, without the overhead of managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
discord_bot: {
type: "app",
app: "discord_bot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://discord.com/api/users/@me`,
headers: {
"Authorization": `Bot ${this.discord_bot.$auth.bot_token}`,
},
})
},
})