Package Information
Released: 10/3/2025
Downloads: 11 weeklyย /ย 92 monthly
Latest Version: 0.0.28
Author: You
Documentation
n8n-nodes-didar-crm
Custom n8n nodes for integrating with Didar CRM.
This package provides actions and triggers to automate workflows with your Didar CRM account.
โจ Features
Trigger
- Didar CRM Trigger โ receive webhook events for entity changes, updates, deletions.
Deal
- Create a deal
- Update a deal (by Id)
- Get deal details (by Id)
- Search deals (flexible filters, pipeline & stage, labels, custom fields, etc.)
Person (Contact)
- Create a person
- Update a person (by Id)
- Get person details (by Id)
- Search persons (keywords, owner, custom fields, filters)
Company
- Create a company
- Update a company (by Id)
- Get company details (by Id)
- Search companies (keywords, owner, custom fields, filters)
Activity
- Create an activity
- Update an activity (by Id)
- Search activities (type, owner, creator, contactIds, tags, dealId, caseId, etc.)
Note
- Create a note
- Update a note (by Id)
Case (Card)
- Create a case
- Update a case (by Id)
- Search cases (keywords, owner, contactIds, custom fields)
Product
- Create a product (with variants & custom fields)
- Update a product (with variants & custom fields)
- Get products by list of codes
- Search products (keywords)
Complementary Actions
- Get Base Information: retrieve Pipelines, Activity Types, Custom Fields, Product Categories
- Didaryab Searching: global search across contacts, companies, deals, cases, attachments
- Popup Caller ID: insert call log by phone number & internal number
๐งฉ Common Features
- Dropdown selectors for Pipelines, Owners (Users), Activity Types, Product Categories, etc.
- Manual ID input option for each dropdown field
- Multi-select and manual list parsing for IDs (supports JSON arrays, comma/newline separated, and n8n array variables)
- Additional fields for advanced properties:
- Visibility Type
- Custom Fields (JSON)
- Deal Items (list of product entries)
- Multi-value lists (phones, emails, websites, addresses, bank accounts, labels, users)
- Correct handling of defaults (zero GUIDs, booleans, etc.)
- Webhook trigger enforces POST requests only
- Consistent Owner/Creator selection mechanism (select from list or manual ID) across all resources
๐ฆ Installation
npm install n8n-nodes-didar-crm
Place the module inside your n8n custom directory (usually ~/.n8n/custom/) and restart n8n.
โก Usage
1. Trigger node
Add the Didar CRM Trigger node to your workflow.
- Exposes a webhook URL in n8n
- Accepts POST requests only
- Returns structured payload:
{
"data": { ... },
"changes": [ ... ],
"meta": { ... },
"raw": { ... },
"receivedAt": "timestamp"
}
2. Resource operations
Deal
- Create โ required:
Title,OwnerId,PipelineId,PipelineStageId - Update โ same as create +
Id - Get โ requires
Id - Search โ optional filters (keywords, status, pipeline, owner, labels, probability, custom fields, etc.)
Person (Contact)
- Create โ required:
LastName,OwnerId - Update โ same as create +
Id - Get โ requires
Id - Search โ optional filters (keywords, owner, custom fields, etc.)
Company
- Create โ required:
Name,OwnerId - Update โ same as create +
Id - Get โ requires
Id - Search โ optional filters (keywords, owner, custom fields, etc.)
Activity
- Create Activity โ required:
Title,OwnerId,ActivityTypeId - Update Activity โ same as create +
Id - Search โ optional filters (activity types, owner, creator, tags, contacts, deals, cases, done/deleted flags)
Note
- Create Note โ required:
ResultNote,OwnerId - Update Note โ same as create +
Id
Case (Card)
- Create Case โ required:
Title,OwnerId,PipelineStageId,Status - Update Case โ same as create +
Id - Search โ optional filters (keywords, owner, contactIds, custom fields)
Product
- Create Product โ required:
Title, optional:Variants,Fields - Update Product โ same as create +
Id - Get Products by Codes โ required:
Code[] - Search Products โ optional:
Keywords
Complementary
- Get Base Information โ pipelines, activity types, custom fields, product categories
- Didaryab Searching โ global search with
Keyword+ multipleTypes - Popup Caller ID โ log calls by phone number & internal extension, requires
CallerId's APIKey
๐ Credentials
A new credential type Didar API is provided.
- Set your API Key and (if required) authentication cookies.
- Shared across all nodes.
- Note: Popup Caller ID uses a separate fixed API Key provided by Didar.
๐ Project structure
n8n-nodes-didar-crm/
โโโ package.json
โโโ README.md
โโโ LICENSE
โโโ nodes/
โ โโโ DidarCrm.node.ts # Main entry for resources & operations
โ โโโ DidarCrmTrigger.node.ts # Trigger node
โ โโโ deal/ # Deal operations
โ โโโ person/ # Person operations
โ โโโ company/ # Company operations
โ โโโ activity/ # Activity operations
โ โโโ note/ # Note operations
โ โโโ case/ # Case operations
โ โโโ product/ # Product operations
โ โโโ supplementary/ # Complementary actions (base info, didaryab, popup caller ID)
โโโ lib/
โ โโโ http.ts # Request helper
โ โโโ loadOptions.ts # Dropdown population
โ Compatibility
- n8n: v1.20.0+ (Community Nodes enabled)
- Node.js: v18+
- Didar CRM account with API access
๐งช Quick Start Checklist
- Install and build this package.
- In n8n, create credentials of type "Didar API".
- Set
Base URL(defaulthttps://app.didar.me). - Set
API Key. - Optional: enable
Use Cookie Headerand setCookieif your instance requires it. - Use the Test button to verify connectivity.
- Set
- Add the
Didar CRMnode and pick a resource/operation. - For dropdown fields (pipelines, stages, owners, activity types), you can either pick from list or provide manual IDs.
- For lists (IDs, labels, phones, emails, etc.), you can provide JSON arrays or comma/newline separated strings.
๐งฏ Troubleshooting
- 401/403 errors: re-check
API Key,Base URL, and whether cookie auth is required. - Empty dropdowns: ensure the credential test passes and your user has permission to view the entities.
- Webhook not triggering: the trigger node accepts only POST; verify the sender uses POST and sends valid JSON.
- Popup Caller ID: requires a separate fixed API key provided by Didar.
๐ Development
Clone the repo
Install dependencies:
npm installBuild:
npm run buildLink into your n8n custom directory and restart:
npm link n8n start
๐ License
MIT License โ see LICENSE for details.