Imagine you could send a detailed, professional, and personalized proposal to a potential client within minutes, without spending hours writing, pricing, and formatting. That is exactly what we accomplished by building an automated workflow using n8n, a powerful open-source automation tool.
In this article, we’ll walk through a concrete demonstration of an n8n workflow designed to handle the entire process of receiving a project inquiry, generating a tailored proposal using an AI agent, and sending it for your final approval before it reaches the client. This is not a theoretical concept; it is a live, functioning system that handles the heavy lifting of quoting so you can focus on what matters.
The Goal: A Fully Automated Proposal Pipeline
The core idea is simple: replace the manual, back-and-forth process of gathering project details and writing a proposal with a streamlined, automated pipeline. A potential client fills out a form, providing details about their project, budget, and timeline. The workflow then springs into action, researching the request, structuring a response, and generating a professional PDF document. Finally, you receive an email to review and approve the proposal before it’s sent to the client, ensuring a human checks the quality and accuracy.
How the Workflow Works: A Step-by-Step Guide
The demonstration shows a workflow built on a three-part architecture: a trigger, an AI agent with structured output, and a human-in-the-loop approval step.
Step 1: Trigger the Workflow with a Form
The journey begins with a simple web form. This is the public-facing interface where a potential client submits their project idea. The form is designed to capture all the essential information needed to create a comprehensive quote.
What to fill out:
- Project Start Date: The intended commencement date for the work.
- Sector: The industry or field of the project (e.g., medical physics, software development).
- Budget: An estimated budget range or a specific amount. In the demo, the user entered “10,000” as a placeholder, even without a fixed budget.
- Deadline: The approximate time frame for completion. In the demo, a 90-day timeline (3 months) was provided.
- Project Description: This is the most critical field. It should contain a clear, detailed description of the project. In the demo, the description was copied from an actual web application project about “Web SPC.” The more detail provided here, the better the AI-generated proposal will be.
Once the form is submitted, the workflow is triggered instantly. The user receives a confirmation email, and the backend process begins.
Step 2: The AI Agent Takes Over
This is the core of the automation. After the form data is received, an AI agent (likely powered by a large language model through an n8n node) takes over. The agent is not just generating text; it is also equipped to research its response.
Here is what the AI agent does:
- Analyzes the Request: It reads the project description and extracts key requirements, scope, and goals.
- Conducts Online Research: To provide a realistic budget and timeline, the agent can scrape or search external sources. The video mentions that the agent searches platforms like Upwork and freelance marketplaces to benchmark pricing for similar projects. For example, when analyzing the “Web SPC” project, the workflow determined the market price range was between $8,000 and $12,000.
- Structures the Proposal: The agent uses a structured output template to ensure the proposal is formatted consistently. This template often includes sections like:
- Introduction: A greeting and initial project understanding.
- Project Understanding: A summary of the client’s needs, ensuring the workflow correctly interpreted the request.
- Approach & Process: A high-level outline of the methodology for tackling the project.
- Timeline: A projected schedule for deliverables.
- Investment: A clear, well-justified budget estimate. In the demo, the agent concluded that the client’s $10,000 was a perfect fit.
- Conclusion: A closing statement and call to action.
Step 3: Human Review and Approval
This final step is crucial for quality control. The workflow does not send the proposal directly to the client. Instead, it sends an email to you (the service provider) with the generated PDF attached.
In the email, you can:
- Review the PDF: Read the full proposal, including all sections like the introduction, process, timeline, and budget.
- Make Corrections: If any part of the proposal is inaccurate, poorly phrased, or mispriced, you can modify it before it goes out.
- Approve or Decline: The email contains buttons or links to Approve or Decline the proposal. This is the “human-in-the-loop” element that ensures a human is always responsible for the final decision.
Once you click Approve, the workflow will finalize the process, sending the proposal to the client. If you click Decline, the workflow might halt or trigger a different path for manual handling.
The Result: A Professional, Generated Proposal
After the client submits the form and you approve the generated proposal, the final output is a polished, ready-to-send PDF document. This document is not a generic template; it is dynamically generated with the project’s specific details, a researched budget, and a logical timeline.
The video shows the finished PDF with a professional layout. It includes a company header, the client’s project description, and all the structured sections (Introduction, Project Understanding, Approach, Timeline, Investment). The pricing is justified by market research, and the entire document looks as if it was crafted by an experienced project manager.
This workflow transforms the often tedious task of proposal writing into a fast, repeatable, and professional process. It allows you to respond to client inquiries rapidly, maintain consistent quality, and free up your time for the actual work. By combining the power of n8n automation with an AI agent and a final human review, you create a system that is both efficient and reliable.
🔍 Discover Kaptan Data Solutions — your partner for medical-physics data science & QA!
We're a French startup dedicated to building innovative web applications for medical physics, and quality assurance (QA).
Our mission: provide hospitals, cancer centers and dosimetry labs with powerful, intuitive and compliant tools that streamline beam-data acquisition, analysis and reporting.
🌐 Explore all our medical-physics services and tech updates
💻 Test our ready-to-use QA dashboards online
Our expertise covers:
🔬 Patient-specific dosimetry and image QA (EPID, portal dosimetry)
📈 Statistical Process Control (SPC) & anomaly detection for beam data
🤖 Automated QA workflows with n8n + AI agents (predictive maintenance)
📑 DICOM-RT / HL7 compliant reporting and audit trails
Leveraging advanced Python analytics and n8n orchestration, we help physicists automate routine QA, detect drifts early and generate regulatory-ready PDFs in one click.
Ready to boost treatment quality and uptime? Let’s discuss your linac challenges and design a tailor-made solution!
Get in touch to discuss your specific requirements and discover how our tailor-made solutions can help you unlock the value of your data, make informed decisions, and boost operational performance!

Comments