{"_id":"@adrijanx/n8n-nodes-close","_rev":"6-6fc854ac78db3f4be9368c0bc3d005d7","name":"@adrijanx/n8n-nodes-close","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"@adrijanx/n8n-nodes-close","version":"1.0.0","keywords":["n8n-community-node-package"],"author":{"name":"Adrijan Bajrami","email":"adrijan.bajrami@everhype.de"},"license":"MIT","_id":"@adrijanx/n8n-nodes-close@1.0.0","maintainers":[{"name":"adrijanx","email":"adrijan.bajrami@everhype.de"}],"homepage":"https://github.com/adrijanbajrami/n8n-nodes-close#readme","bugs":{"url":"https://github.com/adrijanbajrami/n8n-nodes-close/issues"},"n8n":{"nodes":["dist/nodes/Close/Close.node.js"],"credentials":["dist/credentials/CloseApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"b303cd46b81ad808d86d3214d315e498fd5aca3c","tarball":"https://registry.npmjs.org/@adrijanx/n8n-nodes-close/-/n8n-nodes-close-1.0.0.tgz","fileCount":80,"integrity":"sha512-Zn9ScJnwFPhGBEs0OsGksK2EeEsRAc6LrNTtK/JyBPBv722dSUr2694218PKLIPDX9bWqp97a8A/ix67u6HnWg==","signatures":[{"sig":"MEYCIQCxhBhruEmTADLflDLPoXaqhpeh2OpH/zX/nGRvDsdDrQIhAOklWl8ZhMBdD0l/OGWkzWGK37tBHGMnaYm0Xc8aa1X6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":307676},"main":"index.js","gitHead":"854b6bc4e0c4dcd00072c747497a7e2d17c0da90","scripts":{"dev":"tsc --watch","lint":"eslint nodes credentials package.json","test":"jest","build":"tsc && gulp build:icons","format":"prettier nodes credentials --write","lintfix":"eslint nodes credentials package.json --fix","test:watch":"jest --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"adrijanx","email":"adrijan.bajrami@everhype.de"},"repository":{"url":"git+https://github.com/adrijanbajrami/n8n-nodes-close.git","type":"git"},"_npmVersion":"10.8.2","description":"n8n node for Close.com CRM integration","directories":{},"_nodeVersion":"18.20.7","dependencies":{"n8n-workflow":"*"},"_hasShrinkwrap":false,"devDependencies":{"gulp":"^4.0.2","jest":"^29.0.0","eslint":"^8.29.0","ts-jest":"^29.0.0","prettier":"^2.7.1","typescript":"^4.8.4","n8n-workflow":"*","@jest/globals":"^29.0.0","@typescript-eslint/parser":"^5.45.0","eslint-plugin-n8n-nodes-base":"^1.11.0","@typescript-eslint/eslint-plugin":"^5.45.0"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-close_1.0.0_1756610332760_0.006547377510674579","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@adrijanx/n8n-nodes-close","version":"1.0.1","keywords":["n8n-community-node-package"],"author":{"name":"Adrijan Bajrami","email":"adrijan.bajrami@everhype.de"},"license":"MIT","_id":"@adrijanx/n8n-nodes-close@1.0.1","maintainers":[{"name":"adrijanx","email":"adrijan.bajrami@everhype.de"}],"homepage":"https://github.com/adrijanbajrami/n8n-nodes-close#readme","bugs":{"url":"https://github.com/adrijanbajrami/n8n-nodes-close/issues"},"n8n":{"nodes":["dist/nodes/Close/Close.node.js"],"credentials":["dist/credentials/CloseApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"676470ba280def2be8aa8eb1bfe9d582ec233751","tarball":"https://registry.npmjs.org/@adrijanx/n8n-nodes-close/-/n8n-nodes-close-1.0.1.tgz","fileCount":80,"integrity":"sha512-bnZmO5PMubkJtyI1DOF6wJBAQCtC9eImWDeHRQ3yxs0IfFXkwjwhBNdwCjw6RO7S4/qyMHYo+mtk4cMKQ+CVhg==","signatures":[{"sig":"MEUCIDoCs3DcYy8NTP2U5oELIBbwobVG6txvoI2Cn1OgRZPyAiEA+/FIft1jIoCgyp/v3BKIVD3eQsOlr6724QVB6J+6gwk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":307716},"main":"index.js","gitHead":"854b6bc4e0c4dcd00072c747497a7e2d17c0da90","scripts":{"dev":"tsc --watch","lint":"eslint nodes credentials package.json","test":"jest","build":"tsc && gulp build:icons","format":"prettier nodes credentials --write","lintfix":"eslint nodes credentials package.json --fix","test:watch":"jest --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"adrijanx","email":"adrijan.bajrami@everhype.de"},"repository":{"url":"git+https://github.com/adrijanbajrami/n8n-nodes-close.git","type":"git"},"_npmVersion":"10.8.2","description":"n8n node for Close.com CRM integration","directories":{},"_nodeVersion":"18.20.7","dependencies":{"n8n-workflow":"*"},"_hasShrinkwrap":false,"devDependencies":{"gulp":"^4.0.2","jest":"^29.0.0","eslint":"^8.29.0","ts-jest":"^29.0.0","prettier":"^2.7.1","typescript":"^4.8.4","n8n-workflow":"*","@jest/globals":"^29.0.0","@typescript-eslint/parser":"^5.45.0","eslint-plugin-n8n-nodes-base":"^1.11.0","@typescript-eslint/eslint-plugin":"^5.45.0"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-close_1.0.1_1756610375470_0.35279051071216183","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@adrijanx/n8n-nodes-close","version":"1.0.2","keywords":["n8n-community-node-package"],"author":{"name":"Adrijan Bajrami","email":"adrijan.bajrami@everhype.de"},"license":"MIT","_id":"@adrijanx/n8n-nodes-close@1.0.2","maintainers":[{"name":"adrijanx","email":"adrijan.bajrami@everhype.de"}],"homepage":"https://github.com/adrijanbajrami/n8n-nodes-close#readme","bugs":{"url":"https://github.com/adrijanbajrami/n8n-nodes-close/issues"},"n8n":{"nodes":["dist/nodes/Close/Close.node.js"],"credentials":["dist/credentials/CloseApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"a65bcc00e8fd34a826b7d17a4650415c66f2d8a3","tarball":"https://registry.npmjs.org/@adrijanx/n8n-nodes-close/-/n8n-nodes-close-1.0.2.tgz","fileCount":80,"integrity":"sha512-FMkpjwT+q9rQ6BwmRmmZ+5GggyJKfqgzAs2Bt77RH2WhSd+p1k5lzfjDELuSTxPeWiYN1x53yCUTL+cj3wLnWw==","signatures":[{"sig":"MEUCID5vmgAj7rZgXwTgZ6kO74e8TW3cJatRZ8MyAf0533SqAiEA3X0HS+OsleQ0vwNhuXIWnvl3jsdluHvaDXjK/xzj0lY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":307716},"main":"index.js","gitHead":"369cc45bfe891a081ab73bc93ce361112529419e","scripts":{"dev":"tsc --watch","lint":"eslint nodes credentials package.json","test":"jest","build":"tsc && gulp build:icons","format":"prettier nodes credentials --write","lintfix":"eslint nodes credentials package.json --fix","test:watch":"jest --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"adrijanx","email":"adrijan.bajrami@everhype.de"},"repository":{"url":"git+https://github.com/adrijanbajrami/n8n-nodes-close.git","type":"git"},"_npmVersion":"10.8.2","description":"n8n node for Close.com CRM integration","directories":{},"_nodeVersion":"18.20.7","dependencies":{"n8n-workflow":"*"},"_hasShrinkwrap":false,"devDependencies":{"gulp":"^4.0.2","jest":"^29.0.0","eslint":"^8.29.0","ts-jest":"^29.0.0","prettier":"^2.7.1","typescript":"^4.8.4","n8n-workflow":"*","@jest/globals":"^29.0.0","@typescript-eslint/parser":"^5.45.0","eslint-plugin-n8n-nodes-base":"^1.11.0","@typescript-eslint/eslint-plugin":"^5.45.0"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-close_1.0.2_1756610409713_0.35843387259478954","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@adrijanx/n8n-nodes-close","version":"1.0.3","keywords":["n8n-community-node-package"],"author":{"name":"Adrijan Bajrami","email":"adrijan.bajrami@everhype.de"},"license":"MIT","_id":"@adrijanx/n8n-nodes-close@1.0.3","maintainers":[{"name":"adrijanx","email":"adrijan.bajrami@everhype.de"}],"homepage":"https://github.com/adrijanb/n8n-nodes-close#readme","bugs":{"url":"https://github.com/adrijanb/n8n-nodes-close/issues"},"n8n":{"nodes":["dist/nodes/Close/Close.node.js"],"credentials":["dist/credentials/CloseApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"f3f4fed98d25f119162fa560cdde30579793173a","tarball":"https://registry.npmjs.org/@adrijanx/n8n-nodes-close/-/n8n-nodes-close-1.0.3.tgz","fileCount":80,"integrity":"sha512-viomJzRLYMAJPQ5y47B/DTVJrEfWUlY+aWFhaiY6W0Nv8EsEmMQEpoMZyxlzbECoShksOZ4plEBrk/MH5l5Jug==","signatures":[{"sig":"MEQCIHdJdeVp8C4pIU4mp1QSchTjeyEo7JmL/0oEg2AnrlurAiAQNor6Smen3TFEw+NlJR24klrApk3QUa5QEtzKZWL3xg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":307704},"main":"index.js","gitHead":"1ca4d8f540f1e75b2cfd6678132d425a3151105d","scripts":{"dev":"tsc --watch","lint":"eslint nodes credentials package.json","test":"jest","build":"tsc && gulp build:icons","format":"prettier nodes credentials --write","lintfix":"eslint nodes credentials package.json --fix","test:watch":"jest --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"adrijanx","email":"adrijan.bajrami@everhype.de"},"repository":{"url":"git+https://github.com/adrijanb/n8n-nodes-close.git","type":"git"},"_npmVersion":"10.8.2","description":"n8n node for Close.com CRM integration","directories":{},"_nodeVersion":"18.20.7","dependencies":{"n8n-workflow":"*"},"_hasShrinkwrap":false,"devDependencies":{"gulp":"^4.0.2","jest":"^29.0.0","eslint":"^8.29.0","ts-jest":"^29.0.0","prettier":"^2.7.1","typescript":"^4.8.4","n8n-workflow":"*","@jest/globals":"^29.0.0","@typescript-eslint/parser":"^5.45.0","eslint-plugin-n8n-nodes-base":"^1.11.0","@typescript-eslint/eslint-plugin":"^5.45.0"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-close_1.0.3_1756724366804_0.45896904601929966","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@adrijanx/n8n-nodes-close","version":"1.0.4","keywords":["n8n-community-node-package"],"author":{"name":"Adrijan Bajrami","email":"adrijan.bajrami@everhype.de"},"license":"MIT","_id":"@adrijanx/n8n-nodes-close@1.0.4","maintainers":[{"name":"adrijanx","email":"adrijan.bajrami@everhype.de"}],"homepage":"https://github.com/adrijanb/n8n-nodes-close#readme","bugs":{"url":"https://github.com/adrijanb/n8n-nodes-close/issues"},"n8n":{"nodes":["dist/nodes/Close/Close.node.js"],"credentials":["dist/credentials/CloseApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"4a59fe695a995be36551aae6ba4296a3e938afb0","tarball":"https://registry.npmjs.org/@adrijanx/n8n-nodes-close/-/n8n-nodes-close-1.0.4.tgz","fileCount":94,"integrity":"sha512-gzeAuhaZ0BEHrZh25xhxsrLk433uQ0ct4nuaoMTbOaUV40sK/Vn1gnnC4Jrf60KvGcNI9vntGUKc1ekjcMz16Q==","signatures":[{"sig":"MEUCIQC1a13E0jUR8wpJEd8F+1gD77AmFSH3g+wlQpGgWGpOQgIgYd8csEACDwCZJYuseIqU/C5urBdW0omvNj+HxRFX098=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":344375},"main":"index.js","gitHead":"1ca4d8f540f1e75b2cfd6678132d425a3151105d","scripts":{"dev":"tsc --watch","lint":"eslint nodes credentials package.json","test":"jest","build":"tsc && gulp build:icons","format":"prettier nodes credentials --write","lintfix":"eslint nodes credentials package.json --fix","test:watch":"jest --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"adrijanx","email":"adrijan.bajrami@everhype.de"},"repository":{"url":"git+https://github.com/adrijanb/n8n-nodes-close.git","type":"git"},"_npmVersion":"10.8.2","description":"n8n node for Close.com CRM integration","directories":{},"_nodeVersion":"18.20.7","dependencies":{"n8n-workflow":"*"},"_hasShrinkwrap":false,"devDependencies":{"gulp":"^4.0.2","jest":"^29.0.0","eslint":"^8.29.0","ts-jest":"^29.0.0","prettier":"^2.7.1","typescript":"^4.8.4","@types/jest":"^30.0.0","n8n-workflow":"*","@jest/globals":"^29.0.0","@typescript-eslint/parser":"^8.43.0","eslint-plugin-n8n-nodes-base":"^1.11.0","@typescript-eslint/eslint-plugin":"^8.43.0"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-close_1.0.4_1757666250661_0.8213256195269905","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@adrijanx/n8n-nodes-close","version":"1.0.5","description":"n8n node for Close.com CRM integration","keywords":["n8n-community-node-package"],"license":"MIT","homepage":"https://github.com/adrijanb/n8n-nodes-close#readme","author":{"name":"Adrijan Bajrami","email":"adrijan.bajrami@everhype.de"},"repository":{"type":"git","url":"git+https://github.com/adrijanb/n8n-nodes-close.git"},"main":"index.js","scripts":{"build":"tsc && gulp build:icons","dev":"tsc --watch","format":"prettier nodes credentials --write","lint":"eslint nodes credentials package.json","lintfix":"eslint nodes credentials package.json --fix","test":"jest","test:watch":"jest --watch","prepublishOnly":"npm run build"},"n8n":{"n8nNodesApiVersion":1,"credentials":["dist/credentials/CloseApi.credentials.js"],"nodes":["dist/nodes/Close/Close.node.js"]},"devDependencies":{"@jest/globals":"^29.0.0","@types/jest":"^30.0.0","@typescript-eslint/eslint-plugin":"^8.43.0","@typescript-eslint/parser":"^8.43.0","eslint":"^8.29.0","eslint-plugin-n8n-nodes-base":"^1.11.0","gulp":"^4.0.2","jest":"^29.0.0","n8n-workflow":"*","prettier":"^2.7.1","ts-jest":"^29.0.0","typescript":"^4.8.4"},"dependencies":{"n8n-workflow":"*"},"_id":"@adrijanx/n8n-nodes-close@1.0.5","gitHead":"33c7a34d5e033349fb2fc7aaef8cf56f7170fbec","bugs":{"url":"https://github.com/adrijanb/n8n-nodes-close/issues"},"_nodeVersion":"18.20.7","_npmVersion":"10.8.2","dist":{"integrity":"sha512-jE0ssMMZVgpNH295RJwjdWXF6jukHOxo6KSvBbMHmpoV0unjnXSYDWP3BmZFfWC0Bq0hi5cfWhelQdE5MTn+kQ==","shasum":"2cebb971c139aa7951f003dcc63ddc3f5c7f8027","tarball":"https://registry.npmjs.org/@adrijanx/n8n-nodes-close/-/n8n-nodes-close-1.0.5.tgz","fileCount":94,"unpackedSize":345151,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBoh9M4PVgjSgmcuH8F21ngSQTgCX9QTKQEVNeDsBPw8AiEAv3KCHB6B5iEJcagTj0h/Q4DXCMb5AKCiWXslN3aTyXQ="}]},"_npmUser":{"name":"adrijanx","email":"adrijan.bajrami@everhype.de"},"directories":{},"maintainers":[{"name":"adrijanx","email":"adrijan.bajrami@everhype.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/n8n-nodes-close_1.0.5_1757669509399_0.02963324163283909"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-31T03:18:52.658Z","modified":"2025-09-12T09:31:50.173Z","1.0.0":"2025-08-31T03:18:52.971Z","1.0.1":"2025-08-31T03:19:35.657Z","1.0.2":"2025-08-31T03:20:09.938Z","1.0.3":"2025-09-01T10:59:26.982Z","1.0.4":"2025-09-12T08:37:30.863Z","1.0.5":"2025-09-12T09:31:49.565Z"},"bugs":{"url":"https://github.com/adrijanb/n8n-nodes-close/issues"},"author":{"name":"Adrijan Bajrami","email":"adrijan.bajrami@everhype.de"},"license":"MIT","homepage":"https://github.com/adrijanb/n8n-nodes-close#readme","keywords":["n8n-community-node-package"],"repository":{"type":"git","url":"git+https://github.com/adrijanb/n8n-nodes-close.git"},"description":"n8n node for Close.com CRM integration","maintainers":[{"name":"adrijanx","email":"adrijan.bajrami@everhype.de"}],"readme":"# @adrijanx/n8n-nodes-close\n\n![Banner Image](https://raw.githubusercontent.com/n8n-io/n8n/master/assets/n8n-logo.png)\n\nA comprehensive n8n Community Node package for integration with Close.com CRM.\n\n## Installation\n\nYou have three options to install this node package.\n\n### Community Nodes (Recommended)\n\n1. Open n8n and go to **Settings > Community Nodes**\n2. Select **Install**\n3. Enter `@adrijanx/n8n-nodes-close` and click **Install**\n4. Accept the risks of installing community nodes\n5. Select **Install** and wait for the node to be installed\n\n### npm Installation\n\nFor self-hosted instances:\n\n```bash\ncd ~/.n8n/nodes\nnpm install @adrijanx/n8n-nodes-close\n```\n\n### Manual Installation\n\n1. Download the latest release\n2. Extract the files to `~/.n8n/nodes/@adrijanx/n8n-nodes-close/`\n3. Restart n8n\n\n## Credentials\n\nYou need to configure Close.com API credentials:\n\n1. Go to [Close.com](https://app.close.com) and log in\n2. Navigate to **Settings > API Keys**\n3. Create a new API key\n4. Go to **Credentials > Add Credential** in n8n\n5. Search for **Close.com API**\n6. Enter your API key\n7. Test the connection and save\n\n## Supported Operations\n\n### 📧 Lead Management\n\n- **Create**: Create new leads with contacts and custom fields\n- **Get**: Retrieve individual leads with full details\n- **Get All**: Get all leads with advanced filtering options\n- **Update**: Update lead information and status\n- **Delete**: Delete leads and associated data\n- **Merge**: Merge two leads together\n\n### 🏷️ Lead Status Management\n\n- **Create**: Create new lead statuses with custom colors\n- **Get**: Retrieve lead status details\n- **Get All**: List all lead statuses\n- **Update**: Update lead status labels and colors\n- **Delete**: Remove lead statuses\n\n### 👥 Contact Management\n\n- **Create**: Add contacts to leads with full contact information\n- **Get**: Retrieve contact details and relationships\n- **Get All**: Get all contacts with advanced filters\n- **Update**: Edit contact information and associations\n- **Delete**: Remove contacts from system\n\n### 📋 Activity Management\n\n- **Create**: Create activities (Call, Email, Meeting, Note, SMS, WhatsApp)\n- **Get**: Retrieve activity details and metadata\n- **Get All**: Get all activities with comprehensive filters\n- **Update**: Update activity information and status\n- **Delete**: Delete activities and history\n\n### 🔍 Meeting Search\n\n- **Search**: Advanced meeting search with multiple criteria\n- **Filter**: Filter by date, participants, status, and more\n\n### 💰 Opportunity Management\n\n- **Create**: Create new opportunities with pipeline assignment\n- **Get**: Retrieve opportunity details and history\n- **Get All**: Get all opportunities with status and pipeline filters\n- **Update**: Update opportunity values, status, and pipeline\n- **Delete**: Delete opportunities and associated data\n\n### 📊 Opportunity Status Management\n\n- **Create**: Create opportunity statuses (active/won/lost)\n- **Get**: Retrieve opportunity status details\n- **Get All**: List all opportunity statuses with pipeline info\n- **Update**: Update opportunity status labels\n- **Delete**: Remove opportunity statuses\n\n### 🔗 Integration Link Management\n\n- **Create**: Create integration links for external systems\n- **Get**: Retrieve integration link details\n- **Get All**: List all integration links with type filters\n- **Update**: Update link URLs and configurations\n- **Delete**: Remove integration links\n\n### 🔍 Smart View Management\n\n- **Create**: Create smart views (saved searches) for leads/contacts\n- **Get**: Retrieve smart view configurations\n- **Get All**: List all smart views with type filters\n- **Update**: Update smart view queries and sharing settings\n- **Delete**: Remove smart views\n\n### 💬 Comment Management\n\n- **Create**: Create comments on any Close.com object\n- **Get**: Retrieve individual comments\n- **Get All**: Get comments by object or thread with filters\n- **Get Thread**: Retrieve comment threads\n- **Get All Threads**: List comment threads with filters\n- **Update**: Edit comment content (own comments only)\n- **Delete**: Remove comments (preserves thread structure)\n\n### 🔄 Pipeline Management\n\n- **Create**: Create pipelines for organizing opportunity statuses\n- **Get**: Retrieve pipeline details and status organization\n- **Get All**: List all pipelines in organization\n- **Update**: Reorder statuses, rename pipelines, move statuses between pipelines\n- **Delete**: Remove empty pipelines (must have no statuses)\n\n### 📧 Email Template Management\n\n- **Create**: Create email templates with HTML/text content\n- **Get**: Retrieve email template details\n- **Get All**: List templates with archive filtering\n- **Update**: Edit template content, sharing, and archive status\n- **Delete**: Remove email templates\n- **Render**: Render templates with dynamic content for specific leads/contacts or search queries\n\n### ✅ Task Management\n\n- **Create**: Create and assign tasks with due dates\n- **Get**: Retrieve task details and assignments\n- **Get All**: Get all tasks with status and assignment filters\n- **Update**: Update task status, assignments, and details\n- **Delete**: Delete tasks and history\n\n### 👤 User Management\n\n- **Get**: Retrieve user details and permissions\n- **Get All**: List all team members and roles\n- **Get Me**: Get current user information and settings\n\n### 📄 Template Management (General)\n\n- **Create**: Create general templates for various purposes\n- **Get**: Retrieve template details and content\n- **Get All**: List all templates with type filters\n- **Update**: Edit template content and settings\n- **Delete**: Delete templates\n\n### 🔧 Custom Field Management\n\n- **Create**: Create custom fields for leads, contacts, opportunities, activities\n- **Get**: Retrieve custom field definitions and configurations\n- **Get All**: List all custom fields with type and object filters\n- **Update**: Change custom field configuration and options\n- **Delete**: Remove custom fields (preserves existing data)\n\n### 🎣 Webhooks & Triggers\n\n- **Close Webhook Trigger**: Responds to Close.com events\n- Supports all Close.com webhook events\n- Automatic webhook management\n\n## Example Workflows\n\nThe package includes pre-built workflow examples:\n\n### Basic Lead Management\n\n```json\n// Import: examples/close-basic-workflow.json\n```\n\n- Retrieve new leads\n- Update lead information\n- Add activities to leads\n\n### Complete CRM Integration\n\n```json\n// Import: examples/close-complete-workflow.json\n```\n\n- Complete lead-to-customer process\n- Opportunity management\n- Task assignment\n- Template usage\n\n### Webhook Integration\n\n```json\n// Import: examples/close-webhook-example.json\n```\n\n- Real-time event processing\n- Automated lead updates\n- Cross-system synchronization\n\n## Configuration Examples\n\n### Basic Lead Creation\n\n```json\n{\n\t\"resource\": \"lead\",\n\t\"operation\": \"create\",\n\t\"name\": \"John Doe\",\n\t\"description\": \"Potential customer from website\",\n\t\"additionalFields\": {\n\t\t\"url\": \"https://example.com\",\n\t\t\"addresses\": [\n\t\t\t{\n\t\t\t\t\"address_1\": \"123 Main St\",\n\t\t\t\t\"city\": \"New York\",\n\t\t\t\t\"state\": \"NY\",\n\t\t\t\t\"zipcode\": \"10001\",\n\t\t\t\t\"country\": \"US\"\n\t\t\t}\n\t\t]\n\t}\n}\n```\n\n### Create Opportunity Status\n\n```json\n{\n\t\"resource\": \"opportunityStatus\",\n\t\"operation\": \"create\",\n\t\"label\": \"Qualified Lead\",\n\t\"statusType\": \"active\",\n\t\"additionalFields\": {\n\t\t\"pipelineId\": \"pipe_123456\"\n\t}\n}\n```\n\n### Create Smart View for Lead Filtering\n\n```json\n{\n\t\"resource\": \"smartView\",\n\t\"operation\": \"create\",\n\t\"name\": \"High Value Prospects\",\n\t\"query\": \"status:\\\"Potential\\\" AND custom_field:\\\"value\\\" > 10000\",\n\t\"smartViewType\": \"lead\",\n\t\"additionalFields\": {\n\t\t\"shared\": true\n\t}\n}\n```\n\n### Email Template Creation and Rendering\n\n```json\n{\n\t\"resource\": \"emailTemplate\",\n\t\"operation\": \"create\",\n\t\"name\": \"Welcome Email\",\n\t\"subject\": \"Welcome {{lead.name}}!\",\n\t\"bodyHtml\": \"<h1>Welcome {{lead.name}}!</h1><p>Thank you for your interest in our services.</p>\",\n\t\"additionalFields\": {\n\t\t\"bodyText\": \"Welcome {{lead.name}}! Thank you for your interest in our services.\",\n\t\t\"isShared\": true\n\t}\n}\n```\n\n### Render Email Template\n\n```json\n{\n\t\"resource\": \"emailTemplate\",\n\t\"operation\": \"render\",\n\t\"templateId\": \"tmpl_123456\",\n\t\"renderMode\": \"singleLeadContact\",\n\t\"leadId\": \"lead_123456\",\n\t\"contactId\": \"cont_123456\"\n}\n```\n\n### Create Pipeline with Status Organization\n\n```json\n{\n\t\"resource\": \"pipeline\",\n\t\"operation\": \"create\",\n\t\"name\": \"Sales Pipeline\",\n\t\"additionalFields\": {\n\t\t\"statuses\": [{ \"id\": \"stat_123456\" }, { \"id\": \"stat_789012\" }]\n\t}\n}\n```\n\n### Add Comment to Lead\n\n```json\n{\n\t\"resource\": \"comment\",\n\t\"operation\": \"create\",\n\t\"objectId\": \"lead_123456\",\n\t\"body\": \"Follow-up call scheduled for next week. Customer showed strong interest in our premium package.\"\n}\n```\n\n### Create Integration Link\n\n```json\n{\n\t\"resource\": \"integrationLink\",\n\t\"operation\": \"create\",\n\t\"name\": \"View in Analytics\",\n\t\"url\": \"https://analytics.company.com/lead/{{lead.id}}\",\n\t\"type\": \"lead\"\n}\n```\n\n### Advanced Lead Filtering\n\n```json\n{\n\t\"resource\": \"lead\",\n\t\"operation\": \"getAll\",\n\t\"returnAll\": false,\n\t\"limit\": 50,\n\t\"additionalFields\": {\n\t\t\"query\": \"status:new AND created:\\\"2024-01-01\\\" AND email:*@gmail.com\",\n\t\t\"fields\": \"id,name,status_label,date_created\"\n\t}\n}\n```\n\n## Advanced Features\n\n### 🎯 Smart Views (Saved Searches)\n\nCreate and manage saved search queries for leads and contacts:\n\n- **Advanced Filtering Syntax**: Use Close.com's powerful query language\n- **Shared Views**: Share smart views across your organization\n- **Lead & Contact Views**: Separate views for different object types\n- **Dynamic Queries**: Support for date ranges, custom fields, and complex logic\n\n### 🔗 Integration Links\n\nCreate dynamic links to external systems:\n\n- **Variable Substitution**: Use `{{lead.id}}`, `{{contact.id}}`, `{{opportunity.id}}`\n- **Multiple Types**: Links for leads, contacts, and opportunities\n- **External Integrations**: Connect to analytics, support, or other CRM systems\n\n### 📧 Email Template Rendering\n\nAdvanced email template functionality:\n\n- **Dynamic Content**: Automatic variable replacement with lead/contact data\n- **Two Render Modes**: Single lead/contact or bulk rendering from search queries\n- **HTML & Text**: Support for both HTML and plain text email bodies\n- **Bulk Operations**: Render templates for multiple leads from search results\n\n### 💬 Comment System\n\nRich commenting system with thread support:\n\n- **Object Comments**: Comment on any Close.com object (leads, contacts, opportunities, etc.)\n- **Thread Management**: Automatic thread creation and management\n- **Rich Text**: Support for formatted text and mentions\n- **Permissions**: Edit own comments, view all accessible comments\n\n### 🔄 Pipeline Management\n\nOrganize opportunity statuses into logical workflows:\n\n- **Status Organization**: Group opportunity statuses by team or process\n- **Flexible Management**: Reorder statuses, move between pipelines\n- **Team Workflows**: Separate pipelines for sales, services, support\n- **Status Migration**: Move statuses between pipelines without data loss\n\n### 🏷️ Status Management\n\nComplete control over lead and opportunity statuses:\n\n- **Custom Colors**: Visual differentiation with color coding (lead statuses)\n- **Status Types**: Active, won, lost categories (opportunity statuses)\n- **Pipeline Integration**: Opportunity statuses work with pipeline organization\n- **Lifecycle Management**: Create, update, and remove statuses safely\n\n## Rate Limiting\n\nClose.com API has rate limits:\n\n- 240 requests per minute for read operations\n- 120 requests per minute for write operations\n\nThe node implements automatic rate limiting and retry logic.\n\n## Error Handling\n\nThe node provides comprehensive error handling:\n\n- Automatic retry on temporary failures\n- Detailed error messages\n- Graceful handling of rate limits\n- Input parameter validation\n\n## Debugging\n\nFor debug information:\n\n1. Set n8n log level to `debug`\n2. Check n8n logs for detailed API calls\n3. Use the \"Test\" function in credentials\n\n## Contributing\n\nContributions are welcome! Please:\n\n1. Fork the repository\n2. Create a feature branch\n3. Commit your changes\n4. Push to the branch\n5. Create a pull request\n\n## Testing\n\n```bash\nnpm run test\n```\n\n## Building\n\n```bash\nnpm run build\n```\n\n## Resources\n\n### Close.com API Documentation\n\n- [Close.com API Documentation](https://developer.close.com/)\n- [Lead Management](https://developer.close.com/resources/leads/)\n- [Contact Management](https://developer.close.com/resources/contacts/)\n- [Activity Management](https://developer.close.com/resources/activities/)\n- [Opportunity Management](https://developer.close.com/resources/opportunities/)\n- [Opportunity Statuses](https://developer.close.com/resources/opportunity-statuses/)\n- [Lead Statuses](https://developer.close.com/resources/lead-statuses/)\n- [Pipelines](https://developer.close.com/resources/pipelines/)\n- [Smart Views](https://developer.close.com/resources/smart-views/)\n- [Comments](https://developer.close.com/resources/comments/)\n- [Integration Links](https://developer.close.com/resources/integration-links/)\n- [Email Templates](https://developer.close.com/resources/email-templates/)\n- [Webhooks Guide](https://developer.close.com/resources/webhook-subscriptions/)\n\n### n8n Documentation\n\n- [n8n Node Development](https://docs.n8n.io/integrations/community-nodes/)\n- [n8n Community Nodes](https://docs.n8n.io/integrations/community-nodes/installation/)\n- [n8n Workflow Examples](https://docs.n8n.io/workflows/examples/)\n\n## License\n\n[MIT](LICENSE)\n\n## Support\n\n- 📚 [Documentation](https://docs.n8n.io/)\n- 💬 [Community Forum](https://community.n8n.io/)\n- 🐛 [Bug Reports](https://github.com/n8n-io/n8n/issues)\n\n---\n\n**Made with ❤️ for the n8n community**\n","readmeFilename":"README.md"}