Coder Social home page Coder Social logo

zoom / catbot Goto Github PK

View Code? Open in Web Editor NEW
9.0 12.0 8.0 1.01 MB

Send cat photos in Zoom Chat

Home Page: https://marketplace.zoom.us/docs/guides/chatbots/using-the-chatbot-cli

License: Other

JavaScript 92.99% CSS 2.35% Shell 0.99% Handlebars 3.66%
sample-app

catbot's Introduction

Catbot

Use of this sample app is subject to our Terms of Use.

This is a sample Chatbot app using the Zoom Chatbot CLI NPM Package.

Zoom Chatbot Message Action

To create this Chatbot from scratch with the Chatbot CLI, click here to follow the step by step tutorial on our docs.

To run the completed Chatbot code locally, continue reading below.

Local/Development Setup

To run the completed Chatbot locally, follow these steps,

  1. In terminal:

    $ git clone https://github.com/zoom/catbot.git

    $ cd catbot

    $ npm install

    $ ngrok http 3000

  2. If you haven't already, head over to https://marketplace.zoom.us/develop/create and create a Chatbot named catbot.

  3. Add your https Ngrok URL and slash command to your Chatbot app in the Zoom App Marketplace:

    Input Description Example Value
    Development Redirect URL for OAuth It can be found in marketplace under App Credentials. https://{{subdomain}}.ngrok.io/auth
    Whitelist URL It can be found in marketplace under App Credentials. https://{{subdomain}}.ngrok.io
    Deauth Endpoint URL It can be found in marketplace under Information. https://{{subdomain}}.ngrok.io/deauth
    Development and Production Bot Endpoint URL It can be found in marketplace under Features. https://{{subdomain}}.ngrok.io/command
    Slash Command How you address your Chatbot. Currently slash commands need to be globally unique, so you won't be able to use the word catbot. It can be found in marketplace under Features. catbot123

    NOTE: Make sure to click "Save" after entering the Development and Production Bot Endpoint URL and the Slash Command.

  4. Open the .development.env file and fill in the following values:

    Key Description Example Value
    zoomClientId Development Client ID of your Chatbot. It can be found in marketplace under App Credentials. UD20wEqgQMyNmiR5IhinXA
    zoomClientSecret Development Client Secret of your Chatbot. It can be found in marketplace under App Credentials. zlqppuDRGzQzW9j2eBpbUmyREPSbuTSU
    zoomVerifyCode Verification Token of your Chatbot. It can be found in marketplace under Features. uaJs0IZvTIC0aP_Vs6d6IQ
    zoomBotJid Development Bot JID of your Chatbot. It can be found in marketplace under Features. [email protected]
    zoomRedirect_uri Your ngrok URL with the auth path appended to the end. https://{{subdomain}}.ngrok.io/auth
    catApiKey Get your Cat API Key here. 71c45d-530d-4280-96f8-6ec16f2315

    Save and close the .development.env file.

  5. In terminal:

    $ npm run start

  6. On your App Marketplace Dashboard, go to the Local Test page and click Install. After you click the Authorize button, you should be taken to your redirect url.

  7. Now that your Chatbot is installed on your Zoom account, go to a Zoom Chat channel and type,

    /catbot picture

    You should see a picture of a cat!

Need help?

If you're looking for help, try Developer Support or our Developer Forum. Priority support is also available with Premier Developer Support plans.

catbot's People

Contributors

dependabot[bot] avatar tommygaessler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.