📌CRUD Operation using Zoho Node.js SDK(v2)

1. Basic Prerequisites

  • Create a Zoho CRM account.
    https://crm.zoho.com/
  • Create a Zoho API Console account.
    https://api-console.zoho.com/
  • Download and Install Node.exe
  • Make an empty folder named zoho in the User Directory
    ✓ Windows: C://Users/{UserName}/zoho
    ✓ Linux: home/{UserName}/zoho

2. How to run the code

  • Setting environment variables( .env )

    • CLIENT_ID, CLIENT_SECRET, GRANT_TOKEN from Zoho Console API
      Create a self client and generate code by using
      ✓ Scope: ZohoCRM.module.ALL,ZohoCRM.settings.ALL,ZohoCRM.coql.READ
      ✓ Time Duration: 3, 5min
      ✓ Description: describe the function
    • CLIENT_NAME, CLIENT_EMAIL, REDIRECT_URL
  • Config global variables( config/index.json )

    • LOCAL_BASE_DIR
      In Windows: C://Users
      In Linus: Home
    • SDK, SDK_API
      You can change SDK version using this global variable.
  • Open the commmand prompt and run npm install, npm start

3. How to create, read, update, delete records