← All case studies

How we built a custom quoting and margin management system in Zoho CRM for an industrial equipment company

Industry
Oil & Gas
Zoho products
Zoho CRM
How we built a custom quoting and margin management system in Zoho CRM for an industrial equipment company

The challenge

Quoting industrial equipment is more complicated than adding products and calculating a total. Different equipment categories have different pricing rules for installation, rental and pull services. Some products require quantity-based pricing, while others need special handling.

The client also used OptSize for product configuration, and quotes had to pass through design approval, margin review and final approval before being shared with customers.

Three things made this difficult:

  • Complex pricing rules. Different equipment categories needed different calculations, discounts and quantity-based pricing.
  • Manual quote management. Product configurations, pricing and quote revisions needed to work together inside Zoho CRM.
  • Approval and margin control. The team needed to review pricing, manage approvals and generate the final quote without losing the approved configuration.

The goal was to bring the entire quoting process into Zoho CRM, from product configuration to final customer-ready documents.

What we built

We built three custom widgets in Zoho CRM: a quote builder, a margin review widget and a quote printing widget.

1. A custom quote builder

The quote builder opens directly from a Deal and lets users create, edit and manage related quotes. It fetches active products from the CRM catalogue, organises them by equipment category and calculates pricing dynamically.

It supports Buy, Customer Owned and Rental line items, along with discounts, manual price adjustments and quote cloning. We also integrated OptSize configuration data and added support for loading products across multiple pages.

2. Pricing rules for different equipment categories

Different products required different pricing logic. We implemented calculations for installation, rental and pull charges, including quantity thresholds and special product rules.

For example, Corrosion Coating is automatically added to the consumables section, with its quantity calculated from the relevant equipment line items. The widget also identifies inactive products and prevents the quote from progressing until they are resolved.

3. Margin review and approvals

The Margins widget lets users review costs, prices, discounts and margins across Surface, Downhole Equipment, Consumables and Services.

Users can adjust discounts, submit quotes for review and approve them. The available actions depend on the quote stage and the user's permissions.

When a quote is approved, the system saves the discount state, attaches a snapshot to the Deal and updates the quote stage.

4. Automated quote generation

Once a quote reaches the approved stage, the Quote Print widget generates a customer-ready document using the approved configuration.

Users can choose between detailed line items and category subtotals. The widget calculates the applicable charges and supports separate quotes for installation, pull services, rental, or combined installation and pull services.

Customer details, totals, addresses and terms and conditions are included in the final document.

5. The functions behind the widgets

We also built custom functions to search Deals, retrieve active products, create or update quotes, and fetch intermediate quotes linked to a Deal.

These functions connect the widgets to Zoho CRM data and OptSize configuration information, keeping the quoting workflow connected to the underlying CRM records.

What changed

  • The team can create and manage quotes directly from Deal records.
  • Product-specific pricing and quantity rules are handled within the quote builder.
  • Margin reviews and approvals follow defined stages and permissions.
  • Approved quote configurations are preserved through snapshots.
  • Final customer-ready quotes can be generated for different equipment and service combinations.

Key takeaways

  • Build pricing around the actual business rules. Different equipment categories often need different calculations.
  • Make approvals part of the workflow. Stage-based controls help manage who can edit and approve a quote.
  • Keep configuration and quoting connected. Integrating OptSize with Zoho CRM reduces disconnected steps.
  • Generate documents from approved data. This keeps the final quote aligned with the configuration that was reviewed.

Working with Softily

If your quoting process involves complex pricing, product configurations or multiple approval stages, we can help extend Zoho CRM to fit your business requirements.

Get in touch with Softily to discuss your setup.