Use this powerful n8n workflow to capture TwentyCRM events, log them to Google Sheets, and conditionally send notifications via Gmail or Slack based on the event type. This n8n template ensures reliable event routing.
Download this n8n workflow template and start using it instantly.
CRM administrators needing real-time updates on critical system events.
Automation specialists looking for examples of conditional logic (If n8n node) routing.
Teams that require different notification methods (Email vs. Slack) based on the event priority or type.
Users searching for reliable n8n templates for event monitoring and logging.
Managing high volumes of system events from a CRM like TwentyCRM can be challenging. Not every event requires the same level of attention or communication channel. This specific n8n workflow solves this by providing intelligent routing and mandatory logging.
It utilizes a robust n8n trigger (the Webhook) to instantly capture event data. Before processing, the data is cleaned and standardized using an n8n node (Set). Every event is recorded in Google Sheets for auditing purposes, offering a complete log history.
The core value lies in its conditional routing: critical events (like 'delete' operations) are routed to a high-priority channel (Gmail), ensuring that management or specific users receive immediate email alerts. All other, potentially less critical, events are channeled to a team communication tool (Slack). This optimized approach ensures that notifications are delivered efficiently using the appropriate platform, making this a highly valuable n8n template for operational integrity.
This automation initiates when TwentyCRM sends an event notification to the dedicated webhook URL, which acts as the n8n trigger.
on new twentycrm event webhook n8n node receives the POST request payload from TwentyCRM.filter required data #eventType mandatory Set n8n node immediately standardizes the incoming JSON, extracting key metrics like eventName, objectMetadata.id, and record.id.events log Google Sheets n8n node, ensuring every transaction is logged for future auditing.message channel evaluation If n8n node. This node splits the primary eventName (e.g., contact.delete) and checks if the event action is 'delete'.email channel for delete eventType Gmail n8n node, sending a detailed email alert.message channel for all other eventTypes Slack n8n node, delivering a summary notification to a designated Slack channel. This sophisticated use of the If n8n node is central to the entire n8n workflow's efficiency.To deploy this n8n workflow successfully, follow these steps:
on new twentycrm event Webhook n8n trigger. Copy the generated test or production webhook URL.events log n8n node and specify the Document ID and Sheet Name where events should be recorded.email channel for delete eventType), configure your Gmail credentials and specify the recipient address.message channel for all other eventTypes), configure your Slack credentials and specify the target Channel ID. on new twentycrm event (Webhook n8n node): Serves as the primary n8n trigger, initiating the automation when TwentyCRM sends data. It uses a specific, fixed path for reception.
filter required data #eventType mandatory (Set n8n node): Extracts and standardizes crucial data points (eventName, objectMetadata.id, record.id) from the incoming webhook payload, ensuring clean data is passed to subsequent steps.
events log (Google Sheets n8n node): Performs the Append operation. Logs the filtered data for every single incoming event, providing an audit trail. Requires configuration of Document ID and Sheet Name.
message channel evaluation (If n8n node): The flow control n8n node. It checks if the parsed event type (derived by splitting the eventName) is exactly 'delete', routing the data to Gmail if true, and Slack otherwise.
email channel for delete eventType (Gmail n8n node): Executes if a deletion event occurs. Sends a structured email notification with key record metadata, using the event details populated by earlier n8n nodes.
message channel for all other eventTypes (Slack n8n node): Executes for all non-delete events. Sends a concise notification containing event and record IDs to a specified Slack channel.
Master efficiency in n8n. Use this interactive n8n workflow template to learn essential keyboard shortcuts for node management, canvas navigation, and debugging faster automation projects.

Learn to master n8n expressions, selectors, and JavaScript utility functions. This comprehensive n8n workflow template teaches essential data linking between every n8n node.

Use this robust n8n workflow to build a secure API endpoint that validates incoming requests via an API key header. Essential security logic using the webhook n8n trigger.

Automate Twitch clip generation, editing, and cross-platform posting (YouTube Shorts, Instagram Reels, TikTok) using this robust n8n workflow.

Automate Twitter content creation, image generation, and engagement using this advanced n8n workflow powered by Google Gemini AI. Deploy customizable n8n templates for efficient social media management.









































