๐Ÿ› ๏ธ Real Time Dynamic Quoting

Inspiration ๐Ÿ’ก

Many of our clients in the manufacturing industry struggle with the same pain point: real-time commodity pricing requires pulling data from multiple sources and a lot of manual input from employees. This inefficiency not only slows down workflows but also introduces risk of error in the quoting lifecycle.

We asked ourselves โ€” what if AI could eliminate that manual burden? That's how Real Time Dynamic Quoting was born.


What It Does ๐Ÿš€

Real Time Dynamic Quoting uses Agentforce to:

  • ๐Ÿ” Generate a real-time pricing report from multiple data sources
  • ๐Ÿงพ Automatically create Salesforce records:
    • Opportunities
    • Quotes
    • Quote Line Items
    • Quote Documents
  • ๐Ÿ“Ž Return a complete quote with all related records for users to review and interact with
  • ๐Ÿง  Respond to flexible, natural language prompts with context-aware logic

We designed the system to be modular and adaptable, ensuring it can fit into different quoting workflows โ€” this version is a general use case, not tied to a specific proprietary system.


How We Built It ๐Ÿงฑ

  • Powered by Agentforce with actions primarily written in Apex
  • Utilized Prompt Templates to guide agent responses where needed
  • Built a modular architecture for actions โ€” making them reusable and more flexible
  • Integrated multiple pricing data sources directly into the flow

Challenges We Ran Into โš ๏ธ

  1. Dynamic Pricing Report Generation
    Initially, the agent couldn't generate its own pricing report based on other actionsโ€™ output.
    โœ… Solved with Prompt Templates to guide structured report generation.

  2. Overly Monolithic Create Quote Action
    The first version tried to do everything in one step, which limited flexibility.
    โœ… Solution: Broke it down into smaller, modular actions that handle scenarios like:

    • โ€œPut all quotes under one opportunity.โ€
    • โ€œAdd these prices to an existing quote.โ€

This gave the agent the intelligence to respond to specific user needs while still following the correct quote lifecycle.


Accomplishments We're Proud Of ๐Ÿ†

  • Building a modular, intelligent agent capable of handling complex workflows
  • Delivering a solution that is both flexible and scalable for enterprise use
  • Demonstrating the real-world value of AI in automating and enhancing business operations

What We Learned ๐Ÿ“˜

  • Agentforce has evolved significantly โ€” now capable of understanding complex prompts and resolving them with structured logic.
  • Agent consistency and reliability have improved dramatically with clear instruction sets and prompt templating.
  • The importance of modularity and context-awareness in AI-driven systems.

What's Next ๐Ÿ”ฎ

This project is just the beginning. We're planning to:

  • Expand functionality and improve user interactions
  • Fine-tune the agentโ€™s ability to adapt to more diverse quoting scenarios
  • Turn this into a reusable framework that we can implement across multiple clients and quoting platforms

By continuing to build on this foundation, we aim to transform how quoting is done in the manufacturing space โ€” making it faster, smarter, and future-ready.

Built With

  • agentforce
  • apex
  • promptbuilder
Share this project:

Updates