Perfex CRM to n8n – Webhooks & Real-Time Automation Module
Perfex CRM to n8n Webhooks Module Overview & Real-Time Event Dispatch Layer
The Perfex CRM to n8n Webhooks Module is a CodeIgniter-based extension for Perfex CRM, engineered for agencies and system integrators to push real-time CRM events into n8n and any webhook-compatible automation platform. It removes the two structural bottlenecks that stall CRM automation: recurring per-task billing on operation-metered connectors such as Zapier and Make.com, and the endpoint configuration plus maintenance overhead of building against the raw REST API. In production delivery, the package operates as an event dispatch layer that fires instant webhooks on 40+ CRM actions across 14 resources, letting teams run unlimited self-hosted workflow executions with full data ownership.
Technical Specifications & Deployment Matrix
| Engineering Metric | Deployment Specification |
|---|---|
| Base Technology / Framework | CodeIgniter (Perfex CRM module architecture) |
| Runtime / Language Requirements | PHP 7.x or 8.x; MySQL 5.x or 8.x; active Perfex CRM installation |
| Communication Protocols | HTTP POST webhooks with HMAC-SHA256 signed, standardised JSON payloads |
| Front-End / Engine Dependencies | JavaScript JS and JSON files; admin interface compatible with Chrome, Firefox, Safari, Edge, and Opera; external n8n instance (self-hosted or cloud) required |
| Persistence Footprint | Event delivery log capturing status, timestamp, and endpoint response per attempt; async queue for non-blocking dispatch |
Webhook Dispatch Engine & Execution Pipeline
The engine converts every CRM state change into a signed, queue-backed HTTP POST dispatch. When an action occurs — a lead is created, an invoice status changes, a proposal is accepted — the module intercepts the event at the CodeIgniter application layer, serialises the affected record into a JSON structure containing the event type, timestamp, full resource data, custom fields, and relationship references, then enqueues it for outbound delivery instead of blocking the originating request.
The async queue hands each payload to the configured endpoint: an n8n webhook node, a Zapier catch hook, a Make.com scenario, a Pabbly Connect flow, or any service that accepts HTTP POST. Each payload is signed with HMAC-SHA256 so the receiving workflow can verify authenticity and reject tampered or unauthenticated submissions. Failed deliveries are retried automatically, and every attempt is written to the delivery log with its status, timestamp, and response.
Trigger coverage spans 14 CRM resources and more than 40 event types: leads (created, updated, deleted, status changed, converted), customers, contacts, invoices (including status changed and sent), payments, estimates, proposals, projects, tasks, tickets (including reply added), contracts, expenses, staff, and credit notes. Inside n8n, these triggers unlock 400+ service integrations — lead-created events routed to Slack alerts, Google Sheets rows, Trello cards, and SMS gateways; accepted proposals spawning Google Drive folders and Asana projects; invoice events synchronising into QuickBooks; customer updates fanning out to HubSpot, Salesforce, and Zendesk. For agencies extending their Perfex stack with PerfexLanding, landing-page submissions enter the same pipeline the moment they become CRM lead records, activating downstream notification and nurturing workflows without polling.
Core Technical Capabilities of the Perfex CRM to n8n Webhooks Module
- Real-Time Trigger Dispatch: Events are pushed the instant a CRM record mutates — no polling intervals, no cron-based scraping, no delayed batch cycles between the CRM and the automation runtime.
- Async Queue Processing: Outbound HTTP calls never sit inside the user request cycle, so the CRM interface remains responsive even when event volume spikes across leads, invoices, and tickets.
- HMAC-SHA256 Payload Signing: Every dispatch carries a cryptographic signature the receiving endpoint verifies, producing authenticated, tamper-proof event delivery suitable for enterprise data governance.
- Automatic Retry Handling: Transient failures on the receiving end trigger retries, preventing lost events when an n8n instance or downstream service experiences short downtime.
- Delivery Audit Logging: Each attempt records status, timestamp, and response, giving operators a traceable ledger for debugging delivery issues and monitoring endpoint reliability.
Production Implementation & Operational Resilience
Deployment requires a Perfex CRM installation (latest version recommended), PHP 7.x or 8.x, MySQL 5.x or 8.x, and a reachable n8n instance — self-hosted or n8n cloud — or an alternative webhook consumer such as Zapier, Make.com, or Pabbly Connect. Standard installation requires no coding. Multi-tenant or SaaS operation falls under a higher commercial usage tier per Envato marketplace policy, a boundary agencies should verify before rolling the package across client tenants.
Operationally, resilience is layered at three levels: the queue isolates the CRM from downstream latency, retries absorb transient receiver failures, and the delivery log supplies the audit trail needed to reconcile events after incidents. Because payloads follow one consistent JSON schema across all 40+ event types, n8n workflows can be authored against a single parsing pattern rather than per-endpoint transformations. Data remains on self-hosted infrastructure from CRM to workflow runtime, which matters for teams handling client records under strict privacy requirements. For organisations evaluating decoupled KPI analytics outside the Perfex runtime, ZaiKPI exists as an independent Laravel application rather than an extension of this pipeline. Additional event types are added based on feasibility and buyer requests, so the trigger surface expands across successive releases.
Frequently Asked Questions
Does the module ship with an n8n installation included?
No — it requires an existing Perfex CRM installation plus a separately provisioned n8n instance, either self-hosted or n8n cloud. The package delivers the webhook dispatch layer, not the automation runtime itself.
Can events be delivered to platforms other than n8n?
Yes — every trigger emits a standard HTTP POST webhook, so Zapier, Make.com, Pabbly Connect, IFTTT, and custom API endpoints can consume the same signed JSON payloads without platform-specific configuration.
Is coding knowledge required for a standard installation?
No — the documented installation involves activating the module inside Perfex CRM and configuring endpoints; no custom PHP is needed to start receiving events, although developers build the processing logic inside n8n.
Are Contracts and Credit Notes among the supported trigger resources?
Yes — both are covered within 14 resources and 40+ event types that also span leads, customers, contacts, invoices, payments, estimates, proposals, projects, tasks, tickets, expenses, and staff records.
-
1.0.0 LatestOct 31, 2026