πŸ“„

Quotation Generator

Generate professional quotation PDFs from Excel product data using templates.

Document ⭐⭐ Intermediate ⏱️ 10 minutes

😫 The Pain Point

Every customer request needs a professional quotation PDF. You have product data in Excel but creating formatted quotes manually takes 30 minutes each.

πŸš€ Agentic Solution

A Template-Based Quotation Generator that produces professional PDFs from data.

Key Features:

  • Template System: Reusable quote layout.
  • Auto-Calculation: Sum totals, apply discounts.
  • Batch Generation: Create multiple quotes from Excel.

βš”οΈ Phase 1: Commander (Quick Fix)

For a single quote.

Prompt:

β€œI have product data for a quote. Write a Python script using reportlab to:

  1. Header: Company logo, name, address, quote number/date.
  2. Table: Product name, quantity, unit price, total.
  3. Footer: Subtotal, VAT (10%), Grand Total.
  4. Output: Save as Quote_001.pdf.

Accept data as JSON or from Excel. Print confirmation.”

Result: Professional quotation ready to send.

πŸ—οΈ Phase 2: Architect (Permanent Tool)

Engineering Prompt:

**Role:** Python Tool Developer
**Task:** Create a "Quotation PDF Generator".

**Requirements:**
1.  **GUI:**
    *   Customer info inputs.
    *   Product table (add/remove rows).
    *   Template settings (logo, colors).
    *   Preview before save.
    *   Batch mode from Excel.

2.  **Logic:**
    *   Use reportlab for PDF generation.
    *   Template with placeholders.
    *   Auto-numbering system.
    *   Calculate taxes.

3.  **Deliverables:**
    *   `quote_gen.py`
    *   `run.bat`, `run.sh`
    *   `requirements.txt`

🧠 Prompt Decoding

  • reportlab: Python’s de facto standard for programmatic PDF creation.

πŸ› οΈ Instructions

  1. Install: pip install reportlab
  2. Copy Prompt β†’ Customize template β†’ Run.

Related Workflows

Explore other categories

πŸ“¬

Get Started with Agentic Working

Subscribe to receive updates from AgenticWorking.io

πŸ“– Free eBook Guide πŸ“¦ 7 Ready-to-use Scripts πŸ”” Weekly Tips

No spam, unsubscribe anytime. Join 1,000+ subscribers.