Skip to content

tommygaessler/webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Node.js Webhook Setup

Prerequisites

  1. Node.js

  2. A way to expose your localhost server so your Chatbot can be installed and tested on the Zoom Client. In this tutorial, I’ve used Ngrok.

Local Setup

  1. In your JWT App settings in the Zoom App Marketplace, click on the "Features" page. Turn event subscriptions on and add a new event subscription. Name it Meeting Webhook and add https://zoom.us as the "Event notification endpoint URL". Click "Add events" and click "Meeting" > "End Meeting". Note the "Verification Token" generated above.

  2. Clone the repo:

    $ git clone https://github.com/tommygaessler/webhook.git

  3. Navigate to the cloned directory:

    $ cd webhook

  4. Install the dependencies:

    $ npm install

  5. Create your .env file for your webhook verification token.

    $ touch .env

  6. Paste the following in your .env file:

    verification_token=[verification token found in features page in your app marketplace settings]

    Example: verification_token=7jVtpikLTYO_9WDV91AA

  7. Run $ npm start to start the webhook server.

  8. We need to expose the local server to the internet to accept post requests, I use Ngrok (free) for this.

    Once installed, open a new terminal tab and run:

    $ ngrok http 4000

    NOTE: I've put ngrok in my PATH so I can call it globally.

  9. Copy the ngrok https url displayed in terminal, in your apps Event notification endpoint URL input, remove https://zoom.us and paste your ngrok https url. Remember to include /webhook path.

    Example: https://e2d5fb925400.ngrok.io/webhook

  10. Click "Save".

  11. Start and end a Zoom meeting. You will see the Meeting Ended Webhook payload logged in terminal.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors