Zoho Creator

Low-code platform

Go to site

Integrate the Zoho Creator API with the Discord Bot API

Setup the Zoho Creator API trigger to run a workflow which integrates with the Discord Bot API. Pipedream's integration platform allows you to integrate Zoho Creator and Discord Bot remarkably fast. Free for developers.

Connect Zoho Creator

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    zoho_creator: {
      type: "app",
      app: "zoho_creator",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://creator.${this.zoho_creator.$auth.base_api_uri}/api/v2/applications`,
      headers: {
        "Authorization": `Zoho-oauthtoken ${this.zoho_creator.$auth.oauth_access_token}`,
      },
    })
  },
})

Connect Discord Bot

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}`,
      },
    })
  },
})