Use this app to interact with the Discord API using a bot in your account
Emit new event for each message posted to one or more channels
Emits an event each time a new contact is created in Zoho CRM
Emit new events each time a new module/record is created in Zoho CRM
Converts a Lead into a Contact or an Account. See the documentation
Assign a role to a user. Remember that your bot requires the MANAGE_ROLES
permission. See the docs here
Downloads an attachment file from Zoho CRM, saves it in the temporary file system and exports the file path for use in a future step.
The Pipedream Discord app enables you to build event-driven workflows that interact with the Discord API. When you authorize the Pipedream app's access to your guilds, you can use Pipedream workflows to perform common Discord actions, or write your own code against the Discord API.
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}`,
},
})
},
})
Zoho CRM API is a powerful and versatile tool to create business applications.
It provides an easy to use platform for developers to create customer-facing
applications for businesses of all sizes. With the Zoho CRM API, developers can
create applications for sales, marketing, customer support, and even financial
data management.
The Zoho CRM API provides access to a comprehensive set of features that allow
developers to build efficient, reliable and intuitive business solutions. These
features include:
Here are some examples of what developers can build using the Zoho CRM API:
Once you've connected your account, you can run your workflow and fetch data from the API. You can change any of the code associated with this step, changing the API endpoint you'd like to retrieve data from, or modifying the results in any way.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_crm: {
type: "app",
app: "zoho_crm",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.zoho_crm.$auth.api_domain}/crm/v2/users?type=CurrentUser`,
headers: {
"Authorization": `Zoho-oauthtoken ${this.zoho_crm.$auth.oauth_access_token}`,
},
})
},
})