workflows.fit
Back to n8n workflows
n8n templateFreeBy Davide Boizza

Automate Zoom 🎦 user onboarding with OAuth token management and data tables

This workflow automates the management of Zoom OAuth tokens and the creation of new Zoom users through the Zoom API. This workflow automates the process of creating a new Zoom user by first ensuring a valid OAuth acce...

DevelopmentCore NodesManual TriggerData TableSortLimit
Loading interactive preview...

Template notes

This workflow automates the management of Zoom OAuth tokens and the creation of new Zoom users through the Zoom API.

This workflow automates the process of creating a new Zoom user by first ensuring a valid OAuth access token is available. It is designed to handle the fact that Zoom access tokens are short-lived (1 hour) by using a longer-lived refresh token (90 days) stored in an n8n Data Table.

It includes two main phases:

1. Token Generation & Management

The workflow initially requests a Zoom access token using the OAuth 2.0 “authorization code” method. The resulting access token (valid for 1 hour) and refresh token (valid for 90 days) are stored in an n8n Data Table. When executed again, the workflow checks for the most recent token, refreshes it using the refresh token, and updates the Data Table automatically.

2. User Creation in Zoom

Once a valid token is retrieved, the workflow collects the user’s first name, last name, and email (set in the “Data” node). It then generates a secure random password for the new user. Using the Zoom API, it sends a POST request to create the new user, automatically triggering an invitation email from Zoom.

---