← Discord + Zoho Assist integrations

Schedule Session with Zoho Assist API on New Message (Instant) from Discord API

Pipedream makes it easy to connect APIs for Zoho Assist, Discord and 2,400+ other apps remarkably fast.

Trigger workflow on
New Message (Instant) from the Discord API
Next, do this
Schedule Session with the Zoho Assist API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Discord trigger and Zoho Assist action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Message (Instant) trigger
    1. Connect your Discord account
    2. Configure Channels
    3. Configure discordApphook
  3. Configure the Schedule Session action
    1. Connect your Zoho Assist account
    2. Configure Title
    3. Configure Customer Email
    4. Configure Schedule Time
    5. Select a Time Zone
    6. Configure Reminder
    7. Select a Department ID
    8. Optional- Configure Notes
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emit new event for each message posted to one or more channels in a Discord server
Version:1.0.3
Key:discord-new-message

Discord Overview

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.

Trigger Code

import discord from "../../discord.app.mjs";
import sampleEmit from "./test-event.mjs";

export default {
  type: "source",
  key: "discord-new-message",
  name: "New Message (Instant)",
  description: "Emit new event for each message posted to one or more channels in a Discord server",
  version: "1.0.3",

  dedupe: "unique",
  props: {
    discord,
    channels: {
      type: "$.discord.channel[]",
      appProp: "discord",
      label: "Channels",
      description: "Select the channel(s) you'd like to be notified for",
    },
    // eslint-disable-next-line pipedream/props-label,pipedream/props-description
    discordApphook: {
      type: "$.interface.apphook",
      appProp: "discord",
      async eventNames() {
        return this.channels || [];
      },
    },
  },
  async run(event) {
    if (event.guildID != this.discord.$auth.guild_id) {
      return;
    }
    this.$emit(event, {
      id: event.id,
    });
  },
  sampleEmit,
};

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
DiscorddiscordappThis component uses the Discord app.
Channelschannels$.discord.channel[]

Select the channel(s) you'd like to be notified for

discordApphook$.interface.apphook

Trigger Authentication

Discord uses OAuth authentication. When you connect your Discord account, Pipedream will open a popup window where you can sign into Discord and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Discord API.

Pipedream requests the following authorization scopes when you connect your account:

botemailidentifyguilds

About Discord

Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.

Action

Description:Schedule a remote support session. [See the documentation](https://www.zoho.com/assist/api/schedulesession.html)
Version:0.0.1
Key:zoho_assist-schedule-session

Zoho Assist Overview

The Zoho Assist API provides remote support and access functionalities, enabling automated session management, customer support, and IT operations. By integrating it with Pipedream, you can craft serverless workflows that respond to various triggers and perform actions like creating support sessions, fetching session details, or managing users. The API's versatility in Pipedream allows for streamlined coordination between support requests and responses, facilitating seamless IT support and management tasks.

Action Code

import { defineAction } from "@pipedream/types";
import app from "../../app/zoho_assist.app.mjs";
import { getValidDate } from "../../common/methods.mjs";
import { TIMEZONE_OPTIONS } from "../../common/constants.mjs";
export default defineAction({
    name: "Schedule Session",
    description: "Schedule a remote support session. [See the documentation](https://www.zoho.com/assist/api/schedulesession.html)",
    key: "zoho_assist-schedule-session",
    version: "0.0.1",
    type: "action",
    props: {
        app,
        title: {
            type: "string",
            label: "Title",
            description: "Title of the scheduled session",
        },
        customerEmail: {
            type: "string",
            label: "Customer Email",
            description: "The customer's email address to whom the session will be scheduled.",
        },
        scheduleTime: {
            propDefinition: [
                app,
                "date",
            ],
            label: "Schedule Time",
        },
        timeZone: {
            type: "string",
            label: "Time Zone",
            description: "The time zone in which the session is scheduled.",
            options: TIMEZONE_OPTIONS,
        },
        reminder: {
            type: "integer",
            label: "Reminder",
            description: "A reminder time for joining the session.",
        },
        departmentId: {
            propDefinition: [
                app,
                "departmentId",
            ],
        },
        notes: {
            type: "string",
            label: "Notes",
            description: "Schedule session description.",
            optional: true,
        },
    },
    methods: {
        getValidDate,
        getUtcOffset(tz) {
            return tz.match(/[+-][0-9]{2}:[0-9]{2}/)?.[0] ?? "00:00";
        },
    },
    async run({ $ }) {
        const { title, customerEmail, scheduleTime, timeZone, reminder, departmentId, notes, } = this;
        const params = {
            $,
            data: {
                mode: "SCHEDULE",
                title,
                customer_email: customerEmail,
                schedule_time: this.getValidDate(scheduleTime),
                utc_offset: this.getUtcOffset(timeZone),
                time_zone: timeZone,
                reminder,
                department_id: departmentId,
                notes,
            },
        };
        const { representation } = await this.app.scheduleSession(params);
        $.export("$summary", `Successfully scheduled session (ID: ${representation.schedule_id})`);
        return representation;
    },
});

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
Zoho AssistappappThis component uses the Zoho Assist app.
Titletitlestring

Title of the scheduled session

Customer EmailcustomerEmailstring

The customer's email address to whom the session will be scheduled.

Schedule TimescheduleTimestring

Timestamp in ISO 8601 format.

Time ZonetimeZonestringSelect a value from the drop down menu:(UTC-12:00) International Date Line West(UTC-11:00) Coordinated Universal Time-11(UTC-10:00) Hawaii(UTC-09:00) Alaska(UTC-08:00) Baja California(UTC-07:00) Pacific Daylight Time (US & Canada)(UTC-08:00) Pacific Standard Time (US & Canada)(UTC-07:00) Arizona(UTC-07:00) Chihuahua, La Paz, Mazatlan(UTC-07:00) Mountain Time (US & Canada)(UTC-06:00) Central America(UTC-06:00) Central Time (US & Canada)(UTC-06:00) Guadalajara, Mexico City, Monterrey(UTC-06:00) Saskatchewan(UTC-05:00) Bogota, Lima, Quito(UTC-05:00) Eastern Time (US & Canada)(UTC-04:00) Eastern Daylight Time (US & Canada)(UTC-05:00) Indiana (East)(UTC-04:30) Caracas(UTC-04:00) Asuncion(UTC-04:00) Atlantic Time (Canada)(UTC-04:00) Cuiaba(UTC-04:00) Georgetown, La Paz, Manaus, San Juan(UTC-04:00) Santiago(UTC-03:30) Newfoundland(UTC-03:00) Brasilia(UTC-03:00) Buenos Aires(UTC-03:00) Cayenne, Fortaleza(UTC-03:00) Greenland(UTC-03:00) Montevideo(UTC-03:00) Salvador(UTC-02:00) Coordinated Universal Time-02(UTC-01:00) Azores(UTC-01:00) Cape Verde Is.(UTC) Casablanca(UTC) Coordinated Universal Time(UTC) Edinburgh, London(UTC+01:00) Edinburgh, London(UTC) Dublin, Lisbon(UTC) Monrovia, Reykjavik(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague(UTC+01:00) Brussels, Copenhagen, Madrid, Paris(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb(UTC+01:00) West Central Africa(UTC+01:00) Windhoek(UTC+02:00) Athens, Bucharest(UTC+02:00) Beirut(UTC+02:00) Cairo(UTC+02:00) Damascus(UTC+02:00) E. Europe(UTC+02:00) Harare, Pretoria(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius(UTC+03:00) Istanbul(UTC+02:00) Jerusalem(UTC+02:00) Tripoli(UTC+03:00) Amman(UTC+03:00) Baghdad(UTC+02:00) Kaliningrad(UTC+03:00) Kuwait, Riyadh(UTC+03:00) Nairobi(UTC+03:00) Moscow, St. Petersburg, Volgograd, Minsk(UTC+04:00) Samara, Ulyanovsk, Saratov(UTC+03:30) Tehran(UTC+04:00) Abu Dhabi, Muscat(UTC+04:00) Baku(UTC+04:00) Port Louis(UTC+04:00) Tbilisi(UTC+04:00) Yerevan(UTC+04:30) Kabul(UTC+05:00) Ashgabat, Tashkent(UTC+05:00) Yekaterinburg(UTC+05:00) Islamabad, Karachi(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi(UTC+05:30) Sri Jayawardenepura(UTC+05:45) Kathmandu(UTC+06:00) Nur-Sultan (Astana)(UTC+06:00) Dhaka(UTC+06:30) Yangon (Rangoon)(UTC+07:00) Bangkok, Hanoi, Jakarta(UTC+07:00) Novosibirsk(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi(UTC+08:00) Krasnoyarsk(UTC+08:00) Kuala Lumpur, Singapore(UTC+08:00) Perth(UTC+08:00) Taipei(UTC+08:00) Ulaanbaatar(UTC+08:00) Irkutsk(UTC+09:00) Osaka, Sapporo, Tokyo(UTC+09:00) Seoul(UTC+09:30) Adelaide(UTC+09:30) Darwin(UTC+10:00) Brisbane(UTC+10:00) Canberra, Melbourne, Sydney(UTC+10:00) Guam, Port Moresby(UTC+10:00) Hobart(UTC+09:00) Yakutsk(UTC+11:00) Solomon Is., New Caledonia(UTC+11:00) Vladivostok(UTC+12:00) Auckland, Wellington(UTC+12:00) Coordinated Universal Time+12(UTC+12:00) Fiji(UTC+12:00) Magadan(UTC+12:00) Petropavlovsk-Kamchatsky - Old(UTC+13:00) Nuku'alofa(UTC+13:00) Samoa
Reminderreminderinteger

A reminder time for joining the session.

Department IDdepartmentIdstringSelect a value from the drop down menu.
Notesnotesstring

Schedule session description.

Action Authentication

Zoho Assist uses OAuth authentication. When you connect your Zoho Assist account, Pipedream will open a popup window where you can sign into Zoho Assist and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Zoho Assist API.

Pipedream requests the following authorization scopes when you connect your account:

ZohoAssist.sessionapi.ALLZohoAssist.userapi.READZohoAssist.reportapi.READ

About Zoho Assist

Enterprise-grade remote support software. Secure Unattended remote access software.

More Ways to Connect Zoho Assist + Discord

Create Session with Zoho Assist API on Message Deleted (Instant) from Discord API
Discord + Zoho Assist
 
Try it
Create Session with Zoho Assist API on New Guild Member (Instant) from Discord API
Discord + Zoho Assist
 
Try it
Create Session with Zoho Assist API on Reaction Added (Instant) from Discord API
Discord + Zoho Assist
 
Try it
Get Session Reports with Zoho Assist API on Message Deleted (Instant) from Discord API
Discord + Zoho Assist
 
Try it
Get Session Reports with Zoho Assist API on New Guild Member (Instant) from Discord API
Discord + Zoho Assist
 
Try it
New Message (Instant) from the Discord API

Emit new event for each message posted to one or more channels in a Discord server

 
Try it
Message Deleted (Instant) from the Discord API

Emit new event for each message deleted

 
Try it
New Command Received (Instant) from the Discord API

Emit new event for each command posted to one or more channels in a Discord server

 
Try it
New Guild Member (Instant) from the Discord API

Emit new event for each new member added to a guild

 
Try it
Reaction Added (Instant) from the Discord API

Emit new event for each reaction added to a message

 
Try it
Send Message with the Discord API

Send a simple message to a Discord channel

 
Try it
Send Message (Advanced) with the Discord API

Send a simple or structured message (using embeds) to a Discord channel

 
Try it
Send Message With File with the Discord API

Post a message with an attached file

 
Try it
Create Session with the Zoho Assist API

Create a remote support or screen sharing session. See the documentation

 
Try it
Get Session Reports with the Zoho Assist API

Fetch the reports of previously conducted sessions. See the documentation

 
Try it

Explore Other Apps

1
-
24
of
2,400+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Premium
Salesforce
Salesforce
Web services API for interacting with Salesforce
Premium
HubSpot
HubSpot
HubSpot's CRM platform contains the marketing, sales, service, operations, and website-building software you need to grow your business.
Premium
Zoho CRM
Zoho CRM
Zoho CRM is an online Sales CRM software that manages your sales, marketing, and support in one CRM platform.
Premium
Stripe
Stripe
Stripe powers online and in-person payment processing and financial solutions for businesses of all sizes.
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Premium
WooCommerce
WooCommerce
WooCommerce is the open-source ecommerce platform for WordPress.
Premium
Snowflake
Snowflake
A data warehouse built for the cloud
Premium
MongoDB
MongoDB
MongoDB is an open source NoSQL database management program.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
Premium
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Premium
Twilio SendGrid
Twilio SendGrid
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Premium
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
Premium
Zendesk
Zendesk
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.