N8n Form Quote Request To Emailed Pdf With Gotenberg

    What this workflow does

    The workflow contains these steps: Run Once to Create Tables → Quote Request Form → Quote Settings → Setup Run? → Create Products Table → Create Quotes Table → Create Counter Table → Check Counter Row → Counter Row Missing? → Add Counter Row → Check Products Empty → Products Table Empty? → Example Products → Add Example Products → Check Customer Details → Details OK? → Show Details Problem → Find Data Tables → Check Setup → Setup OK? → Load Product Catalog → Build Products Page → Products Available? → Choose Products → Page Submitted? → Check Products → Products OK? → Tries Left? → Show Request Not Sent → Read Quote Counter → Prepare Claim → Counter Ready? → Claim Quote Number → Number Claimed? → Retry Number? → Wait Before Retry → Price the Quote → Save Quote → Quote Saved? → Render Quote HTML → Create PDF with Gotenberg → Is It a PDF? → Email Quote to Customer → Record Outcome → Update Quote Status → Quote Sent and Saved? → Show Quote Sent → Prepare Owner Alert → Send Owner Alert → Page Expired? → Show Result Page → Alert Failed? → Stop: Owner Alert Failed.

    What you need

    • An n8n instance to import and run the workflow.
    • StickyNote access for the StickyNote steps listed in this workflow.
    • ManualTrigger access for the ManualTrigger steps listed in this workflow.
    • FormTrigger access for the FormTrigger steps listed in this workflow.
    • Set access for the Set steps listed in this workflow.
    • IF access for the IF steps listed in this workflow.
    • DataTable access for the DataTable steps listed in this workflow.
    • Code access for the Code steps listed in this workflow.
    • Form access for the Form steps listed in this workflow.
    • HTTP Request access for the HTTP Request steps listed in this workflow.
    • EmailSend access for the EmailSend steps listed in this workflow.
    • StopAndError access for the StopAndError steps listed in this workflow.

    Workflow nodes

    1. Run Once to Create Tables (n8n-nodes-base.manualTrigger)
    2. Quote Request Form (n8n-nodes-base.formTrigger)
    3. Quote Settings (n8n-nodes-base.set)
    4. Setup Run? (n8n-nodes-base.if)
    5. Create Products Table (n8n-nodes-base.dataTable)
    6. Create Quotes Table (n8n-nodes-base.dataTable)
    7. Create Counter Table (n8n-nodes-base.dataTable)
    8. Check Counter Row (n8n-nodes-base.dataTable)
    9. Counter Row Missing? (n8n-nodes-base.if)
    10. Add Counter Row (n8n-nodes-base.dataTable)
    11. Check Products Empty (n8n-nodes-base.dataTable)
    12. Products Table Empty? (n8n-nodes-base.if)
    13. Example Products (n8n-nodes-base.code)
    14. Add Example Products (n8n-nodes-base.dataTable)
    15. Check Customer Details (n8n-nodes-base.code)
    16. Details OK? (n8n-nodes-base.if)
    17. Show Details Problem (n8n-nodes-base.form)
    18. Find Data Tables (n8n-nodes-base.dataTable)
    19. Check Setup (n8n-nodes-base.code)
    20. Setup OK? (n8n-nodes-base.if)
    21. Load Product Catalog (n8n-nodes-base.dataTable)
    22. Build Products Page (n8n-nodes-base.code)
    23. Products Available? (n8n-nodes-base.if)
    24. Choose Products (n8n-nodes-base.form)
    25. Page Submitted? (n8n-nodes-base.if)
    26. Check Products (n8n-nodes-base.code)
    27. Products OK? (n8n-nodes-base.if)
    28. Tries Left? (n8n-nodes-base.if)
    29. Show Request Not Sent (n8n-nodes-base.form)
    30. Read Quote Counter (n8n-nodes-base.dataTable)
    31. Prepare Claim (n8n-nodes-base.code)
    32. Counter Ready? (n8n-nodes-base.if)
    33. Claim Quote Number (n8n-nodes-base.dataTable)
    34. Number Claimed? (n8n-nodes-base.if)
    35. Retry Number? (n8n-nodes-base.if)
    36. Wait Before Retry (n8n-nodes-base.code)
    37. Price the Quote (n8n-nodes-base.code)
    38. Save Quote (n8n-nodes-base.dataTable)
    39. Quote Saved? (n8n-nodes-base.if)
    40. Render Quote HTML (n8n-nodes-base.code)
    41. Create PDF with Gotenberg (n8n-nodes-base.httpRequest)
    42. Is It a PDF? (n8n-nodes-base.if)
    43. Email Quote to Customer (n8n-nodes-base.emailSend)
    44. Record Outcome (n8n-nodes-base.code)
    45. Update Quote Status (n8n-nodes-base.dataTable)
    46. Quote Sent and Saved? (n8n-nodes-base.if)
    47. Show Quote Sent (n8n-nodes-base.form)
    48. Prepare Owner Alert (n8n-nodes-base.code)
    49. Send Owner Alert (n8n-nodes-base.emailSend)
    50. Page Expired? (n8n-nodes-base.if)
    51. Show Result Page (n8n-nodes-base.form)
    52. Alert Failed? (n8n-nodes-base.if)
    53. Stop: Owner Alert Failed (n8n-nodes-base.stopAndError)
    StickyNoteManualTriggerFormTriggerSetIFDataTableCodeFormHTTP RequestEmailSendStopAndError
    61 nodesOther
    View on GitHub

    Need this workflow customized or debugged? Book a 30-min scope call →

    Want this set up for you? Book a 30-min scope call

    I build and fix n8n workflows for agencies and SaaS teams. 30-minute scope call — bring the problem, leave with an estimate.

    Related workflows