N8N Contact Form Workflow
📬 N8N Contact Form Workflow: Capture, Notify via Email, and Redirect with Confirmation/Error Handling
This n8n workflow facilitates contact form submissions through a customizable form that sends an email notification to support and redirects users based on the submission outcome. It is ideal for embedding a functional "Contact Us" form on websites with automated email notifications.
✨ Features
Collects first name, last name, email, company name, and a message Sends formatted email notification to the support team Displays success or error confirmation to the user Customizable UI and form behavior Error fallback handling with user-friendly feedback
🧩 Nodes Overview
-
On form submission (Trigger) Type:** formTrigger Displays the contact form to users and triggers the workflow on submission.
-
Send Email to Support Type:** emailSend Sends an HTML email to a support address with the form details. Uses an SMTP credential for sending.
-
If Email Sent Type:** if Checks if the email was sent successfully using the existence of messageId.
-
Confirmation Form Type:** form Displays a “Thank You” HTML message after a successful submission.
-
Redirect Form Type:** form Redirects the user to a specified URL (e.g., LinkedIn profile).
-
Form (Error) Type:** form Displays an error message if email delivery fails.
-
NoOp Nodes End (Success)* and End (Error)* to mark flow terminations cleanly.
⚙️ Customization Options
Change the form fields, title, or descriptions in the formTrigger node. Update the email body or subject in the emailSend node. Redirect to a different URL by editing the Redirect Form node. Modify success and error UI with HTML content in the Confirmation Form and Form.
🧠 Use Cases
Website "Contact Us" form integration Lead generation forms for businesses Customer service inquiry collection Feedback or support ticket system
🚀 How to Use
Import this workflow into your n8n instance. Configure SMTP credentials for the emailSend node. Publish the formTrigger endpoint (e.g., /contact-us) publicly or embed in your website. Test submission and confirm email delivery and redirects.
🔐 Notes
Ensure SMTP credentials are correctly configured in n8n. Make sure your n8n webhook URLs are reachable from your website or frontend.
Made with ❤️ using n8n by Akhil.
Related Templates
Instagram Full Profile Scraper with Apify and Google Sheets
📸 Instagram Full Profile Scraper with Apify and Google Sheets This n8n workflow automates the process of scraping ful...
Technology News Workflow Explanation with Key Services
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Auto-Publish Techn...
Auto-classify Gmail emails with AI and apply labels for inbox organization
Who is this for? Professionals and individuals who receive high volumes of emails, those who want to automatically organ...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments