zoho-salesiq

n8n community node for Zoho SalesIQ REST API v2 using OAuth2

Package Information

Released: 4 mo ago
Downloads: 28 weekly / 531 monthly
Latest Version: 0.1.12

Documentation

n8n-nodes-zoho-salesiq

n8n community node for Zoho SalesIQ REST API v2 using OAuth2. Token refresh is delegated to n8n through this.helpers.requestOAuth2.

Trigger support

This package includes a webhook trigger node that creates and deletes a SalesIQ webhook automatically during workflow activation/deactivation.

Trigger UI is form-based (dropdowns, toggles, and repeatable field groups). No JSON body editing is required for regular setup.

Use App ID Filter is disabled by default for Data webhooks, so app_ids is omitted unless explicitly enabled.

Authentication model

  • Credential extends oAuth2Api.
  • Uses authQueryParameters: access_type=offline.
  • Uses authentication: body.
  • Uses requestOAuth2 for all API calls.
  • No manual refresh-token logic is implemented.

API base URL resolution order

Resolution order implemented in nodes/ZohoSalesIQ/GenericFunctions.ts:

  1. Explicit credential override (SalesIQ API Base URL)
  2. oauthTokenData.api_domain from OAuth token response
  3. Fallback from selected regional OAuth URL

Official documentation references used for implemented operations

  1. REST API overview and data center server URIs
  1. Get conversation details (Get)
  1. Get conversation list (Get Many)
  • URL: GET /api/v2/{screen name}/conversations
  • Scope: SalesIQ.conversations.READ
  • Query params implemented from docs: page, limit, status, department_id, attender_id, fields, from_time, to_time, app_id, email, visitor_type, updated_till_time, updated_from_time, sort_by, reference_ids
  • Pagination flag used from docs sample response: more_data_available
  • Docs: https://www.zoho.com/salesiq/help/developer-section/get-conversation-list-details-v2.html
  1. Send message by operator (Create)
  1. Send message to latest conversation by visitor email (Create)
  1. Pick up chat (Update)
  1. Close chat (Update)
  1. Webhooks lifecycle (Trigger)

Ambiguity flags

  • Some operation pages include a downloadable OAS, while some do not.
  • For consistency and to avoid undocumented behavior, this node currently sends JSON payload for message creation (text) and does not implement multipart file upload in the message APIs.
  • The Create Webhook doc states SalesIQ validates webhook URL using an HTTP HEAD request before creation. n8n trigger webhooks are configured with POST for event delivery. Runtime behavior of HEAD validation against the n8n webhook endpoint may vary by deployment setup.

Build

npm run typecheck
npm run build

Publish safety

Check existing versions before publishing:

npm view @trg-admin/n8n-nodes-zoho-salesiq versions --json

If the target version exists, bump before publish:

npm version patch
npm publish --access public

Discussion