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 when a new survey response is received in Zoho Surveys.
Emit new event for each command posted to one or more channels in a Discord server
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 Zoho Survey API enables you to integrate your surveys and their data with other applications, automating your workflows and allowing you to manage surveys and responses efficiently. Within Pipedream, you can harness this API to trigger workflows, process survey responses, create or update surveys, and sync your survey data with other services. This streamlined interaction facilitates real-time data collection and analysis, leading to informed decision-making and proactive engagement with your audience.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_survey: {
type: "app",
app: "zoho_survey",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://survey.${this.zoho_survey.$auth.base_api_uri}/survey/api/v1/private/userinfos`,
headers: {
Authorization: `Bearer ${this.zoho_survey.$auth.oauth_access_token}`,
},
})
},
})