@orchesty/connector-zoho
v2.0.0
Published
[](https://www.npmjs.com/package/@orchesty/connector-zoho) [](https://github.com/Orchesty/orchesty-nodejs-connecto
Readme
Zoho Connector
An Orchesty connector for Zoho Creator, a low-code application platform for managing form submissions and report data in custom Zoho apps.
Application Type
OAuth 2.0
This connector uses the Zoho OAuth 2.0 authorization flow via https://accounts.zoho.eu/oauth/v2/auth. The API domain is determined from the token response and used to build all request URLs. Requests use a Zoho-oauthtoken {access_token} authorization header.
| Field (Authorization) | Description |
|---|---|
| client_id | Your Zoho app Client ID |
| client_secret | Your Zoho app Client Secret |
| Field (Creator Settings) | Description |
|---|---|
| account_owner_name | Zoho Creator account owner name |
| app_link_name | Link name of the Zoho Creator application |
| form_link_name | Link name of the form within the app |
| report_link_name | Link name of the report within the app |
Components
| Class | Type | Description |
|---|---|---|
| ZohoAddRecordsConnector | Connector | Adds a record to a Zoho Creator form via POST /{accountOwnerName}/{appLink}/form/{formLink} |
| ZohoGetRecordsConnector | Connector | Fetches a single record from a Zoho Creator report via GET /{accountOwnerName}/{appLink}/report/{reportLink}/{recordId} |
Setup
Credentials
- Log in to the Zoho API Console and create a new Self Client or Web-based application.
- Copy the Client ID and Client Secret.
- Add the Orchesty redirect URL to the Authorized Redirect URIs list.
- In Orchesty, open the Zoho application settings, enter both values, and complete the OAuth authorization flow.
- After authorization, fill in the Creator Settings form with your application and form/report link names from your Zoho Creator app.
API Documentation
Zoho Creator API v2: https://www.zoho.com/creator/help/api/v2/
Installation & Usage
Install the package:
npm install @orchesty/connector-zoho @orchesty/nodejs-sdk
# or
pnpm add @orchesty/connector-zoho @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 ZohoApplication from '@orchesty/connector-zoho/dist/ZohoApplication';
import ZohoAddRecordsConnector from '@orchesty/connector-zoho/dist/Connector/ZohoAddRecordsConnector';
import ZohoGetRecordsConnector from '@orchesty/connector-zoho/dist/Connector/ZohoGetRecordsConnector';
const app = new ZohoApplication(container.get(OAuth2Provider));
container.setApplication(app);
container.setNode(new ZohoAddRecordsConnector(), app);
container.setNode(new ZohoGetRecordsConnector(), 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
