diff --git a/workflows/N8N Contact Form Workflow-4337/n8n_contact_form_workflow.json b/workflows/N8N Contact Form Workflow-4337/n8n_contact_form_workflow.json new file mode 100644 index 000000000..d0b38e8a7 --- /dev/null +++ b/workflows/N8N Contact Form Workflow-4337/n8n_contact_form_workflow.json @@ -0,0 +1 @@ +{"meta":{"instanceId":"7d8066d2f56a07000fe7d753d3eeabf0ecdf68413466f30d10afe0906f058427","templateCredsSetupCompleted":true},"nodes":[{"id":"ae78f14b-8e88-40ca-a5f3-39344aee3ea7","name":"On form submission","type":"n8n-nodes-base.formTrigger","position":[-560,-60],"webhookId":"ea054497-a16c-4ff3-85a5-0661a816f0fe","parameters":{"options":{"path":"contact-us","ignoreBots":false,"buttonLabel":"Submit","appendAttribution":false,"useWorkflowTimezone":true},"formTitle":"Contact Us","formFields":{"values":[{"fieldLabel":"First Name","placeholder":"eg: John","requiredField":true},{"fieldLabel":"Last Name","placeholder":"eg: Doe","requiredField":true},{"fieldType":"email","fieldLabel":"Email","placeholder":"eg: johndoe@gmail.com","requiredField":true},{"fieldLabel":"Company","placeholder":"eg: Apple Inc"},{"fieldType":"textarea","fieldLabel":"Message","placeholder":"Type your message here ...","requiredField":true}]},"formDescription":"We'll get back to you soon."},"typeVersion":2.2},{"id":"ae23881c-6084-4392-8c7c-16058839345c","name":"Redirect Form","type":"n8n-nodes-base.form","position":[320,-160],"webhookId":"b644aa17-b0f2-4fe8-952c-bf166eeaa9aa","parameters":{"operation":"completion","redirectUrl":"https://www.linkedin.com/in/akhilv7/","respondWith":"redirect"},"typeVersion":1},{"id":"807425c4-f058-4e94-82bd-72e856c4e27c","name":"Confirmation Form","type":"n8n-nodes-base.form","position":[100,-160],"webhookId":"d9d1c645-c2ed-48fa-b3d7-cbb9c76669bb","parameters":{"options":{"formTitle":"✅ Thank You!","buttonLabel":"Redirect to Home"},"formFields":{"values":[{"html":"\n\n \n\n\n
\n
\n Your message has been received. We’ll get back to you shortly.\n
\n
\n\n\n","fieldType":"html"}]}},"typeVersion":1},{"id":"b5a85199-8398-4a11-9c4a-82c27385e531","name":"If Email Sent","type":"n8n-nodes-base.if","position":[-120,-60],"parameters":{"options":{},"conditions":{"options":{"version":2,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"910ddd40-a124-4826-987b-5c6aef997a7a","operator":{"type":"string","operation":"exists","singleValue":true},"leftValue":"={{ $json.messageId }}","rightValue":""}]}},"typeVersion":2.2},{"id":"9d7387fa-b861-45f7-897f-a985d5e07cac","name":"Send Email to Support","type":"n8n-nodes-base.emailSend","position":[-340,-60],"webhookId":"52224f95-e14f-4b8f-8daa-601aac17b914","parameters":{"html":"=\n\n \n \n New Contact Submission\n \n \n \n \n \n \n 📬 New Contact Submission\n \n \n\n \n \n \n\n \n \n \n\n \n \n Last Name: {{ $json['Last Name'] }}\n \n \n\n \n \n Email: {{ $json.Company }}\n \n \n\n \n \n Company: {{ $json.Company }}\n \n \n\n \n \n Message:\n \n {{ $json.Message }}\n \n \n \n\n \n \n This message was submitted via the contact form on your website.\n \n \n
\n \n
\n First Name: {{ $json['First Name'] }}\n
\n \n \n \n \n\n","options":{"appendAttribution":false},"subject":"=🔔 New Contact Form Submission from {{ $json['First Name'] }} {{ $json['Last Name'] }}","toEmail":"akhilgadiraju@email.com","fromEmail":"notifications@your-domain.com"},"credentials":{"smtp":{"id":"vCexcphurglwGBfk","name":"SMTP account"}},"typeVersion":2.1},{"id":"c6feba50-13b0-46db-9349-e57ae8f758db","name":"Form","type":"n8n-nodes-base.form","position":[100,40],"webhookId":"c4900b17-ea10-4c30-ab06-c5625ac450b0","parameters":{"options":{},"operation":"completion","completionTitle":"Oops! Something Went Wrong","completionMessage":"We couldn’t process your submission. Please try again later."},"typeVersion":1},{"id":"6822eb0f-e6d0-4e47-9779-b02e6c6c0b9e","name":"End (Success)","type":"n8n-nodes-base.noOp","position":[540,-160],"parameters":{},"typeVersion":1},{"id":"3b5cdccd-0f8f-474e-9297-a6952f9b403a","name":"End (Error)","type":"n8n-nodes-base.noOp","position":[320,40],"parameters":{},"typeVersion":1},{"id":"33928014-6602-4396-ab65-df189a1787fb","name":"Sticky Note","type":"n8n-nodes-base.stickyNote","position":[-620,-180],"parameters":{"height":100,"content":"### Customize Fields \nChange the form fields, title, or descriptions in the formTrigger node."},"typeVersion":1},{"id":"8eb0b887-1fb0-4f76-975a-8b9acb1d296c","name":"Sticky Note1","type":"n8n-nodes-base.stickyNote","position":[-380,100],"parameters":{"color":4,"height":80,"content":"### Customize Email \nUpdate the email body or subject in the emailSend node."},"typeVersion":1},{"id":"20b3562d-6ebd-4b68-80ee-ceeaf66887b3","name":"Sticky Note2","type":"n8n-nodes-base.stickyNote","position":[0,-260],"parameters":{"width":260,"height":80,"content":"### Customize Message Content\nChange custom html content"},"typeVersion":1},{"id":"5becd350-ac1b-4f5b-b213-975bccbb1455","name":"Sticky Note3","type":"n8n-nodes-base.stickyNote","position":[280,-260],"parameters":{"height":80,"content":"### Change Redirect URL \nRedirect to a different URL by editing the Redirect Form node."},"typeVersion":1},{"id":"4b570ac9-606c-452c-b640-582f4758bfcc","name":"Sticky Note4","type":"n8n-nodes-base.stickyNote","position":[20,200],"parameters":{"width":280,"height":100,"content":"### Change Message\nConfigure the Error Message Output to Meet Your Implementation Requirements."},"typeVersion":1}],"pinData":{},"connections":{"Form":{"main":[[{"node":"End (Error)","type":"main","index":0}]]},"If Email Sent":{"main":[[{"node":"Confirmation Form","type":"main","index":0}],[{"node":"Form","type":"main","index":0}]]},"Redirect Form":{"main":[[{"node":"End (Success)","type":"main","index":0}]]},"Confirmation Form":{"main":[[{"node":"Redirect Form","type":"main","index":0}]]},"On form submission":{"main":[[{"node":"Send Email to Support","type":"main","index":0}]]},"Send Email to Support":{"main":[[{"node":"If Email Sent","type":"main","index":0}]]}}} \ No newline at end of file