npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-kommo-plus

v1.0.8

Published

Enhanced n8n node for Kommo CRM with advanced features including Entity Links, complex lead creation, and improved API handling

Downloads

92

Readme

n8n-nodes-kommo-plus

Enhanced n8n node for Kommo CRM with advanced features and improved API handling.

🚀 Features

  • Entity Links: Complete support for linking/unlinking entities (leads, contacts, companies, customers, catalog elements)
  • Complex Lead Creation: Create leads with embedded contacts in one request
  • Enhanced Unsorted: Fixed functionality for unsorted leads management
  • Improved Simplify Output: Consistent data simplification across all resources
  • Custom Field Filters: Advanced filtering for invoices and other resources
  • Rate Limiting: Optimized API request handling (5 req/s)
  • Error Handling: Better error messages and debugging
  • Dynamic Field Discovery: Automatic custom field ID detection
  • Batch Operations: Support for batch create/update operations

📦 Installation

npm install n8n-nodes-kommo-plus

🔧 Usage

  1. Add the Kommo+ node to your n8n workflow
  2. Configure your Kommo credentials:
    • OAuth2 (recommended for production)
    • Long-lived token (for development/testing)
  3. Select the resource and operation you need
  4. Configure the parameters and execute

📋 Resources Available

Core Resources

  • Account: Get account information
  • Leads: Get, create, update, complex creation with contacts
  • Contacts: Full CRUD operations with custom fields
  • Companies: Full CRUD operations
  • Customers: Full CRUD operations with status management
  • Invoices: Get, create, update with custom field filters
  • Tasks: Full CRUD operations
  • Notes: Full CRUD operations
  • Lists: Catalog management and elements
  • Unsorted: Lead management from unsorted queue
  • Webhooks: Webhook subscription management

🆕 Entity Links (NEW!)

The Entity Links resource allows you to:

  • Get Links: Retrieve existing links between entities
  • Link Entities: Create links between entities (leads, contacts, companies, customers, catalog elements)
  • Unlink Entities: Remove links between entities
  • Metadata Support:
    • main_contact for contact relationships
    • quantity and catalog_id for catalog elements
    • updated_by for audit trails

🔗 Entity Links Examples

Link a Contact to a Lead

{
  "entity_id": 123,
  "to_entity_id": 456,
  "to_entity_type": "contacts",
  "metadata": {
    "main_contact": true
  }
}

Link a Catalog Element to a Lead

{
  "entity_id": 123,
  "to_entity_id": 789,
  "to_entity_type": "catalog_elements",
  "metadata": {
    "quantity": 2,
    "catalog_id": 1
  }
}

🎯 Advanced Features

Complex Lead Creation

Create leads with embedded contacts in a single API call:

  • Lead data with custom fields
  • Multiple contacts with their own custom fields
  • Link to existing companies
  • Automatic status assignment

Custom Field Filters

Advanced filtering capabilities:

  • Filter invoices by custom fields
  • Date range filters
  • Multiple value filters
  • Dynamic field loading from API

Simplify Output

Consistent data simplification across all resources:

  • Removes API noise (_links)
  • Preserves useful data (_embedded)
  • Recursive simplification of nested objects
  • Maintains data integrity

🔧 Configuration

Authentication

Choose between two authentication methods:

  1. OAuth2 (Recommended)

    • More secure
    • Automatic token refresh
    • Better for production use
  2. Long-lived Token

    • Simpler setup
    • Good for development
    • Manual token management

Rate Limiting

  • Configured for 5 requests per second
  • Automatic retry with exponential backoff
  • Global request queuing
  • Respects Kommo API limits

🐛 Troubleshooting

Common Issues

  1. "Field not found" errors

    • Ensure custom fields exist in your Kommo account
    • Check field IDs are correct
    • Use the dynamic field loading features
  2. Rate limit exceeded

    • The node automatically handles rate limiting
    • Reduce concurrent requests if needed
    • Check your Kommo plan limits
  3. Authentication errors

    • Verify credentials are correct
    • Check token expiration (for long-lived tokens)
    • Ensure proper OAuth2 setup

Debug Mode

Enable debug logging by setting the node parameter simplify to false to see raw API responses.

📈 Performance

  • Optimized API calls: Batch operations where possible
  • Smart caching: Reduces redundant API requests
  • Efficient pagination: Handles large datasets
  • Memory management: Processes data in chunks

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Development Setup

git clone https://github.com/marcosvb1/n8n-nodes-kommo-plus.git
cd n8n-nodes-kommo-plus
npm install
npm run build

Code Style

  • Follow TypeScript best practices
  • Use ESLint configuration provided
  • Add tests for new features
  • Update documentation

📄 License

MIT License - see LICENSE file for details.

🙏 Acknowledgments

  • Built for the n8n community
  • Based on Kommo API v4
  • Inspired by the original n8n-nodes-kommo project

📞 Support


Made with ❤️ by Digital Profits