⚠️ Notice:
This workflow uses the HTML to Docx node from customjs.space, which requires a self-hosted n8n instance and a CustomJS API key.
This workflow demonstrates how to:
Landingpage Endpoint (Webhook)Set Form EndpointFormEndpoint for the HTML form to submit to.Node: HTML for Landingpage
Renders a user-friendly landing page with a form for users to fill in their personal details:
Includes success and error messages after submission.
Submits data as JSON to the FormData Endpoint.
Respond to WebhookFormData Endpoint (Webhook)NDA (HTML Version) node.Node: NDA (HTML Version)
Generates a personalized NDA document in HTML using the submitted form data:
HTML to DocxCoding Service credential).Node: Send email
Sends the generated NDA Docx as an email attachment.
Email configuration:
From: [[email protected]](/cdn-cgi/l/email-protection)
To: [[email protected]](/cdn-cgi/l/email-protection)
Subject: NDA
Body Text:
Hello,
Here is the requested NDA form.
Best Henrik
Uses SMTP credentials for sending emails.
Sticky Notes provide internal documentation and guidance for the workflow:
Sticky Note1 – Landingpage server infoSticky Note – FormData endpoint infoDynamic Form Submission : The form posts JSON to the FormData Endpoint.
Automation Flow : Landingpage → Form Submission → NDA HTML → Docx → Email
HTML for Landingpage node for branding, colors, or additional fields.NDA (HTML Version) node to change NDA clauses or layout.Send email node to modify sender, recipient, or message content.