Use this n8n workflow to capture contact form submissions using the native Form Trigger, send instant email notifications to your support team, and handle custom success or error redirects for the user experience.
Download this n8n workflow template and start using it instantly.
Small Businesses and Startups: Who need a reliable, self-hosted solution for managing website contact inquiries without external form services.
Developers and Automation Engineers: Seeking robust n8n templates for handling webhooks and email communication.
Marketing Teams: Who require instant notification of new leads generated via an n8n node setup.
n8n Users: Looking for examples of complex conditional logic (If n8n node) combined with native forms.
Managing website contact forms efficiently is crucial for lead response time. This n8n workflow provides a complete, backend solution using native n8n features. It bypasses the need for costly third-party form builders by utilizing the powerful Form Trigger n8n node to capture all necessary lead details (First Name, Last Name, Email, Company, Message).
Upon submission, the system immediately sends a comprehensive, HTML-formatted notification email to your internal team. Crucially, the n8n workflow then uses conditional logic to confirm email delivery. If successful, the user sees a confirmation page and is redirected to a success URL. If the notification fails (e.g., due to temporary SMTP issues), the user is presented with a clear error message, ensuring a professional user experience regardless of backend hiccups. This robust n8n templates structure ensures every lead is managed and actioned reliably.
This automation initiates with a built-in n8n trigger and follows a clear, multi-step process:
On form submission (Form Trigger n8n node). This node is configured with required fields like Name, Email, and Message.Send Email to Support n8n node, which uses your configured SMTP credentials to send a detailed HTML email containing all submission data to the designated support inbox.If Email Sent n8n node evaluates the success of the previous step by checking for the existence of the messageId field. This determines the subsequent flow.Confirmation Form n8n node, which displays a friendly 'Thank You' message with custom HTML content. This form includes a button that, when clicked, triggers the Redirect Form n8n node, sending the user to a predefined success URL (e.g., a LinkedIn profile or homepage).Send Email to Support n8n node failed for any reason, the flow is diverted to the error path, presenting the user with a generic 'Oops! Something Went Wrong' message via the dedicated Form n8n node, ensuring the user doesn't wait indefinitely for a response.To deploy this n8n workflow, follow these steps:
Send Email to Support n8n node. You must connect your SMTP service credentials here. Replace the placeholder credentials with your actual SMTP account credentials.Send Email to Support n8n node, update the To Email parameter ([email protected]) to your actual support or sales team inbox.On form submission n8n trigger node to customize the form title, description, and fields to match your website's requirements.Redirect Form n8n node, update the Redirect URL parameter (https://www.linkedin.com/in/akhilv7/) to point to your desired landing page after a successful submission. On form submission (Form Trigger n8n node): This is the initial n8n trigger. It generates a public web form URL. Key configurations include setting required fields (First Name, Last Name, Email, Message) and setting the form path to /contact-us.
Send Email to Support (EmailSend n8n node): The core action. It sends a rich, dynamic HTML email notification. Key configurations involve using expressions to pull form data into the email subject and body, and setting the recipient and sender emails. Credentials must be linked via SMTP.
If Email Sent (If n8n node): A crucial flow control n8n node. It checks if {{ $json.messageId }} exists. If true (success), it continues down the first branch; if false (failure), it goes down the second branch.
Confirmation Form (Form n8n node): Used for the successful flow path. It displays a custom HTML confirmation message to the user after the internal email has been sent.
Redirect Form (Form n8n node): Follows the confirmation form. Configured to perform an operation type of redirect, sending the user to the specified external URL upon clicking the submission button.
Form (n8n node - Error Path): Used for the failed flow path. Configured to display a static error message (e.g., 'Oops! Something Went Wrong'), providing feedback when the internal email notification failed.
Schedule secure backup of your n8n workflow assets to Nextcloud using this dedicated n8n workflow template. Includes a 7-item retention policy for storage optimization.

Automate intelligent, witty replies on X (Twitter) using this advanced n8n workflow. It combines Apify scraping, MongoDB deduplication, and LLM (Grok-3) decision-making to generate high-engagement, human-like responses.

Use this comprehensive n8n workflow to automatically shorten URLs via Switchy.io, perform security scans (Norton/Bitdefender), and dynamically generate rich OpenGraph metadata and screenshots.

Master fundamental n8n iteration logic using this comprehensive n8n workflow. Learn how to handle arrays, split data, and control loops using the Split Out and Loop Over Items n8n node to build robust n8n templates.








































