Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Receives a text and returns a JSON object containing a list of analyzed sentences. See the docs here
Receives two texts and returns a JSON object containing the text similarity score. See the docs here
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 Codeq Natural Language Processing API provides powerful text analysis capabilities. It parses and understands complex structures in text, extracting meaningful insights. On Pipedream, you can harness this API to analyze text data from various sources, automate content categorization, sentiment analysis, or even construct rich profiles of user feedback. With Pipedream's serverless platform, these processes can be automated, triggered by events, and integrated with numerous other apps to create robust, data-driven workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
codeq_natural_language_processing_api: {
type: "app",
app: "codeq_natural_language_processing_api",
}
},
async run({steps, $}) {
const data = {
"user_id": `${this.codeq_natural_language_processing_api.$auth.user_id}`,
"user_key": `${this.codeq_natural_language_processing_api.$auth.user_key}`,
"text": `{your_text}`,
}
return await axios($, {
method: "post",
url: `https://api.codeq.com/v1`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})