@orchesty/connector-calendly
v2.0.1
Published
Readme
Calendly Connector
An Orchesty connector for Calendly, a simple scheduling tool for businesses that eliminates email back and forth, helping save time and increase sales.
Application Type
OAuth 2.0
This connector uses the Calendly OAuth 2.0 authorization flow. After entering your credentials in Orchesty, you will be redirected to Calendly to authorize access.
| Field | Description |
|---|---|
| client_id | OAuth application Client ID from the Calendly Developer Portal |
| client_secret | OAuth application Client Secret from the Calendly Developer Portal |
Components
| Class | Type | Description |
|---|---|---|
| CalendlyGetUserConnector | Connector | Retrieves a single Calendly user by UUID via GET /users/{uuid} |
| CalendlyInviteUserConnector | Connector | Invites a user to an organization via POST /organizations/{uuid}/invitations |
| CalendlyListEventsBatch | Batch | Paginates through all scheduled events via GET /scheduled_events using cursor-based pagination |
Setup
Credentials
- Log in to the Calendly Developer Portal.
- Create a new OAuth application.
- Note the Client ID and Client Secret.
- Set the Redirect URI to the OAuth callback URL provided by Orchesty.
- In Orchesty, open the Calendly application settings and fill in:
- Client Id — paste your Client ID
- Client Secret — paste your Client Secret
- Complete the OAuth authorization flow by clicking Authorize in Orchesty.
API Documentation
Calendly API Reference: https://developer.calendly.com/api-docs
Installation & Usage
Install the package:
npm install @orchesty/connector-calendly @orchesty/nodejs-sdk
# or
pnpm add @orchesty/connector-calendly @orchesty/nodejs-sdkRegister the application and nodes in your Orchesty DI container:
import { container } from '@orchesty/nodejs-sdk';
import { OAuth2Provider } from '@orchesty/nodejs-sdk/dist/lib/Authorization/Provider/OAuth2/OAuth2Provider';
import CalendlyApplication from '@orchesty/connector-calendly/dist/CalendlyApplication';
import CalendlyGetUserConnector from '@orchesty/connector-calendly/dist/Connector/CalendlyGetUserConnector';
import CalendlyInviteUserConnector from '@orchesty/connector-calendly/dist/Connector/CalendlyInviteUserConnector';
import CalendlyListEventsBatch from '@orchesty/connector-calendly/dist/Batch/CalendlyListEventsBatch';
const app = new CalendlyApplication(container.get(OAuth2Provider));
container.setApplication(app);
container.setNode(new CalendlyGetUserConnector(), app);
container.setNode(new CalendlyInviteUserConnector(), app);
container.setNode(new CalendlyListEventsBatch(), app);License
This connector is released under the Apache License 2.0. See the LICENSE file for the full license text.
Contributing
Contributions are welcome! This connector is part of the open-source Orchesty Node.js Connectors monorepo.
For guidelines on how to create or update connectors — including project setup, coding conventions, and how to write tests — please refer to the Contributing to Connectors guide.
All contributions should include:
- Source code in
src/following the existing connector structure - Tests in
src/**/__tests__/withinput.json,mock.json, andoutput.jsonfixtures - An updated
CHANGELOG.mdentry
