Description
n8n-nodes-perfex-crm
Community node package for n8n that integrates with Perfex CRM REST API.
Features
- Action node supporting major Perfex API resources and CRUD operations
- Trigger node with polling for new records
- Secure credential type with Bearer and Authtoken modes
- Robust error handling and logging via n8n helpers
- TypeScript with JSDoc and tests (unit + integration)
- In an n8n instance, install the published package from npm or add the files under
~/.n8n/custom. - Your Perfex CRM installation must have the official REST API module installed and activated.
- Module:
https://codecanyon.net/item/rest-api-for-perfex-crm/25278359 - Generate an API token in Perfex CRM.
- Use either:
- Provide
Base URLlikehttps://yourdomain.com. - Resource:
items,customers,invoices,leads,projects,tasks,subscriptions,estimates,contracts,expenses,payments,taxes,paymentmodes,staff,milestones,customfields. - Operation:
list,get,search,create,update,delete. - Search:
- Polls the selected resource at a configurable interval.
- Emits new records with ID greater than
Start From ID. - List Leads:
- Unit tests:
npm test - Integration tests:
- Never hardcode tokens.
- Use HTTPS URLs.
- Prefer Bearer tokens with scoped permissions.
- Built against latest n8n versions and TypeScript 5.
- MIT
Installation
Requirements
Authentication
– Authorization: Bearer (preferred)
– authtoken header or query parameter (legacy)
Action Node
– items: /api/items/search/:key
– Other resources: ?search=
Trigger Node
Usage Example
– Resource: leads
– Operation: list
– Base URL: https://yourdomain.com
– Credentials: Perfex CRM API (Bearer Token)
Testing
– Set env:
– PERFEXBASEURL
– PERFEX_TOKEN
– PERFEXAUTHTYPE (bearer | authtokenHeader | authtokenQuery)
– Run npm test (integration tests auto-skip if env missing).