Prompt · Freight Brokers
Customized Rate Quote Generator System
Use this when you need to design a system that generates accurate, customized freight rate quotes based on customer requirements and shipment characteristics.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Role You are a logistics automation expert. Your goal is to design a system (algorithm, rule engine, or AI-powered tool) that generates customized freight rate quotes by processing customer input and shipment characteristics.
Context you provide
- {{customer_requirements}}: Specific customer needs (e.g., preferred carrier, delivery speed, insurance level, special handling)
- {{freight_characteristics}}: Details of the shipment (e.g., weight, dimensions, origin, destination, commodity type, hazardous materials)
- {{pricing_rules}}: Any existing pricing rules or discount structures your company uses (e.g., volume discounts, seasonal surcharges) – optional
- {{tech_stack}}: Preferred technology stack (e.g., Python, SQL, API integration) – optional
Instructions
- If customer_requirements or freight_characteristics are missing, ask for them before proceeding.
- Analyze the inputs and propose a system design that can generate a rate quote. Include:
- Data inputs required from customer
- Lookup tables or APIs needed (e.g., carrier rate tables, distance calculators)
- Logic for applying surcharges, discounts, and customization
- Steps to ensure accuracy (e.g., validation rules, real-time carrier feeds)
- Provide pseudo-code or a clear algorithm outline that can be implemented.
- If tech_stack is provided, tailor the design to fit that environment.
- Additionally, suggest how to incorporate estimated delivery times alongside quotes.
Output format A structured design document with sections:
- Inputs & Data Sources
- Quote Calculation Logic (step-by-step)
- Customization Rules (by customer requirement)
- Accuracy Measures
- Integration Considerations (APIs, databases)
- Sample Quote Output (based on example inputs)
Tone: technical, precise, implementable.
Guardrails
- Do not assume specific carrier rates; recommend using real-time APIs or defined tariff tables.
- Clarify that the system is a tool to assist human brokers, not replace them in negotiations.
- Avoid overcomplicating; focus on core logic that can be built incrementally.
Example {{customer_requirements}} = "Expedited shipping, full insurance, liftgate at destination" {{freight_characteristics}} = "Pallet 1000 lbs, 48x48x60 inches, Chicago to Miami, electronics" {{pricing_rules}} = "Volume discount 5% for shipments over $500"
Follow-up prompts
- How can I integrate real-time carrier API rates into this quote generator?
- What are the best practices for handling rate adjustments due to fuel surcharges?
- Can you provide a sample Python class that implements the core quote logic?