Dynevia
IT EN
Contact

Multi-mandate energy sales agency

The status of every supply point, read from the operator's CRM

For a sales network working with several operators, we brought the status of every individual power, gas and fibre supply into the contract platform, read five times a day from a national energy operator's CPQ on Salesforce.

Client
Multi-mandate energy sales agency
Industry
Energy and utilities
Services
Integration and data, Platforms and portals
Year
2026
  • 5status reads per day for every supply point
  • 3,500+rows reconciled on the first run, in 48 seconds
  • 46dual-fuel contracts with power and gas in different states, previously invisible
  • 26POD and PDR mismatches flagged on the first run

The challenge

The platform received a single status per contract from the operator. On dual-fuel contracts that status was copied onto both supplies: dozens of contracts were partially fulfilled, meaning the two supplies were in different states, yet the platform showed the same status on both. The real data existed only in the order lines of the CPQ, and that data determined which contracts were payable.

What we built

We extended the service that talks to Salesforce with a line-level extract: one row per contract and per supply point, with the POD or PDR code, the order line status, the network and billing fulfilment tasks and the reason for any rejection. A scheduled flow imports it five times a day, service by service, and the platform shows the order status on the contract and the line status on each supply. Supplies whose POD or PDR differs from the contract's are flagged, never corrected automatically. Once the SOQL queries were rewritten to use the indexes, the main extract went from 151 seconds to one or two. Fibre offers come in as a third supply type.

Stack

  • Salesforce
  • SOQL
  • Apex REST
  • Node.js
  • n8n
  • MySQL
  • Docker

Related services

Next project · Multi-mandate energy sales agency Power and gas contracts submitted to a multi-utility's portal, with no retyping
Contact

Is your process still living in a spreadsheet?

Tell us what the system has to do, what data it works with and what constraints apply. We'll come back to you with the questions that matter and a phased proposal.

Get in touch