Skip to content
epilot-berater.de

Blog

Connecting ERP, billing and grid systems to epilot

epilot integration explained: when the Integration Toolkit, Batch API, webhooks or public APIs fit, and when dedicated middleware connects your other systems.

By Last updated: 13 min read

An epilot integration links the platform to the systems a utility or grid operator already runs: ERP and billing, grid systems, other CRMs and in-house databases. If you want to connect those surrounding systems, you have more than one route. This article covers the routes epilot provides itself, when dedicated middleware is the better fit, and what matters for data ownership, error handling and operation.

I am Marcel R. G. Berger, a software developer and architect with more than 20 years of experience. I work with epilot as an external consultant and developer for apps and customisations. This piece is written for IT leads at grid operators, municipal utilities and energy suppliers.

What are the routes for an epilot integration with other systems?

There are two basic routes: the integration tools epilot ships with, and custom-built interfaces that sit between epilot and another system. Many projects end up using both.

epilot is a no-code and low-code platform, and that extends to integration. The integrations overview in the epilot developer documentation lists several ready-made building blocks, each aimed at a different job.

A custom interface comes in when those building blocks are not enough on their own. That is not a weakness of the platform. Usually it means part of the process lives in other systems and is meant to stay there.

What does epilot provide for integration out of the box?

According to its developer documentation, epilot offers five integration routes: the Integration Toolkit, the Batch API, 3rd Party Journeys, webhooks and public APIs. Each one is designed for a different purpose.

Integration Toolkit for ERP systems

The Integration Toolkit is epilot’s building block for connecting ERP systems. The documentation describes standardised entity and event schemas, mappings based on JSONata and a dedicated inbound API through which ERP data arrives in epilot.

According to the documentation, the toolkit does not replace middleware. It standardises the epilot side, while an existing integration platform or a dedicated service handles ERP-specific connectivity and validation. In event-driven integrations, the ERP can also send directly to the toolkit. Whether an additional mapper is needed therefore depends on the existing integration and the required workflows.

In the other direction, the documentation says epilot events reach the ERP through webhooks or pull-based polling. On top of that there is central monitoring: every event the toolkit processes is recorded as a monitoring event, with tracing, replay and alerting.

Batch API for many calls at once

The Batch API lets you run several epilot API calls in a single HTTP request. The documentation sets a limit of 100 requests per batch.

Individual failures do not affect the other requests in the same batch, and failed tasks are retried up to three times before they are marked as permanently failed. epilot recommends the Batch API for bulk upserts from middleware and for environments where every single HTTP request counts against a message quota.

Webhooks for real-time events

Webhooks in epilot let you subscribe to events in your account. When an event occurs, epilot sends an HTTP POST to the URL you configured. The available events are described on the core events page, and custom events can be defined on your own attributes.

For security, the webhook security documentation lists API key, basic auth and OAuth, plus signatures carried in the webhook-id, webhook-timestamp and webhook-signature headers.

Public APIs and 3rd Party Journeys

The epilot public APIs give direct access to the platform’s capabilities. The overview mentions more than 50 REST APIs, including Entity, Workflow, Document and Billing, each with a TypeScript client. Every request needs a bearer token. How a dedicated interface delivers data from other systems through these routes is covered in providing data via the epilot API.

According to the overview, 3rd Party Journeys are meant for submitting data from external forms and frontends. For connecting back-office systems they usually play a smaller part.

When is one of epilot’s own tools enough?

A built-in tool together with the existing integration is enough when they cover the whole job. For the Integration Toolkit, that includes ERP connectivity, usually through existing middleware. Suitable configuration can then avoid the need for an additional custom service.

A few typical cases:

  • An ERP system needs to sync contracts, meter readings or customer data with epilot. The mapping can be described in the Integration Toolkit, and the existing integration handles ERP access and validation. The documentation lists these data flows as toolkit use cases.
  • Existing middleware needs to write a large number of records to epilot in one go. That is what the Batch API is for.
  • An external service needs to know that something changed in epilot and only needs the event data. A webhook does that directly.

The general rule: whatever can be configured cleanly in epilot should stay there. I explain why in more depth in when low-code in epilot is no longer enough.

When does an epilot interface need dedicated middleware?

An epilot interface needs dedicated middleware when a process spans several systems and the logic in between is more than mapping fields. The middleware is then a service of its own that receives events, translates data and triggers actions in other systems.

The signals are usually the same:

  • A large part of a process runs outside epilot, in a line-of-business system that stays in use.
  • A surrounding system has no ready-made connection to epilot and speaks its own format or interface.
  • Data comes from several sources and has to be merged, checked or enriched before it moves on.
  • An event in epilot should start a chain: an event in another system, a response, and finally information written back to epilot.

I build these services as mappers in Java with Quarkus, running in containers, scalable and maintainable. How such a mapper is put together and which rules keep it stable in operation is covered in mappers between epilot and surrounding systems with Quarkus.

One point matters here: middleware does not replace the built-in tools. It uses them. A mapper typically receives webhooks from epilot and writes back through the public APIs or the Batch API.

Which integration route fits which requirement?

The right answer follows from where the logic lives and how many systems are involved. The table below sorts the most common requirements.

RequirementObvious routeWhen dedicated middleware comes in
Sync ERP data with epilotIntegration Toolkit with ERP connectivity, usually through middlewarewhen existing middleware does not cover ERP connectivity, validation or workflows
Write many records at onceBatch APIwhen the data first has to be assembled from several sources
Notify an external service about eventsWebhookwhen the event should trigger a chain in other systems
Own application reads and writes epilot dataPublic APIswhen load, retries and logging need logic of their own
Take over data from external forms3rd Party Journeysrarely needed
System without a ready-made connectionPublic APIs and webhooksusually as a dedicated mapper
Process runs mostly outside epilotWebhooks as the triggera mapper that drives the process across system boundaries

Treat the table as orientation, not a fixed rule. In practice, the conversation about your actual systems decides.

Which surrounding systems are typically connected?

Four groups of systems come up again and again: ERP and billing, grid systems and line-of-business applications, other CRMs, and in-house databases with master or historical data. Each group brings different requirements.

ERP and billing

ERP and billing systems are often the owner of contracts, customer numbers and anything to do with money. The epilot Integration Toolkit is explicitly designed for this group. It simplifies the epilot side of the integration. ERP access, validation and additional workflows must be implemented in existing middleware or a dedicated service.

Grid systems and line-of-business applications

Grid operators rely on specialist applications that are closely tied to technical processes. These systems usually stay in place and have interfaces of their own. A custom connection is often the only clean way to link them.

Other CRMs

Not every company moves every area to epilot at the same time. When another CRM runs in parallel, contacts and cases have to be synced in both directions without creating duplicates.

In-house databases with master or historical data

Many companies keep databases with master data or historical records that are not meant to move to epilot in full. An interface can query that data on demand and provide the relevant information in epilot.

How are grid connection processes in epilot connected to other systems?

Through interfaces that link the case in epilot with the grid operator’s specialist systems. The application, its status and the communication then run through epilot, while technical checks and master data stay in the systems where they already live. That way a grid connection request moves through every step without anyone keying data in twice.

What epilot itself provides for this is described in its article How epilot simplifies grid connection processes in the expansion of renewable energies. Forms for grid connection requests are built as journeys that collect the details from plant operators or installers. Individual workflows then start the matching process steps, and all information, key data and documents sit in a digital construction file. According to epilot, the grid compatibility check can be done manually or by connecting a third-party solution, and once such an integration is in place it can also run automatically, at the push of a button in the employee portal or directly in the journey.

For working with installers there is the installer portal (Installateurportal). According to the installer portal use case in the epilot help center (in German), grid operators use it to work digitally with their registered installers: installers register in the installer directory, submit applications on behalf of their customers and track the processing status. It is set up with the installer portal blueprint from the epilot Marketplace.

Surrounding systems typically come in at these points:

  • The grid compatibility check runs in a specialist system, and its result should come back into the case in epilot without being retyped.
  • Data about the connection object, for example an existing service connection (Hausanschluss), lives in a grid system and is needed in the case.
  • Follow-up steps such as construction work for a new service connection or commissioning continue in other systems. According to epilot’s article, necessary construction work can be started as a separate process.
  • Details that installers enter in the installer portal should arrive where they are processed further.

Technically this is the same job as with any other surrounding system: an event in the workflow is reported by webhook, a mapper translates the data for the specialist system and makes its response available as information in epilot. Here too the question from the next section comes first: which system owns which data about the connection?

Which system owns which data?

For every type of data, it has to be clear which system creates and changes it and which systems only read it. That decision matters more than any technical choice, because without it systems overwrite each other.

A simple overview per data type helps: owning system, reading systems, sync direction and trigger. An example of the thinking: if the billing system owns customer numbers, epilot does not issue its own but takes them over.

Clear rules for the interface follow from this. It only writes in the agreed direction, and it detects conflicts instead of quietly resolving them. For grid operators with regulatory obligations, that traceability matters a great deal.

How do you handle errors and load?

A good integration handles errors and load deliberately: with retries, idempotency, logging and monitoring. Every network drops out now and then, and every API has limits.

The rate limits page in the epilot documentation states that the API answers with HTTP 429 once a limit is exceeded and uses the Retry-After header to say how many seconds remain until the quota resets. For large data volumes, epilot points to the Batch API and the ERP Integration API.

On the epilot side, webhook monitoring helps. According to the documentation, every webhook request is logged as an event with a success or failure status, kept for four weeks by default, and can be replayed.

Inside your own middleware, that means:

  • retries with backoff that respect Retry-After
  • idempotency, so an event delivered twice does not create a duplicate record
  • a log with a unique identifier per message across all systems
  • monitoring that raises an alert when a connection stalls

Who runs the integration later on?

Either your own team runs the integration or I look after it under a maintenance contract. Both work, because you receive the contractually agreed rights to the code.

On request, I hand the code over to your own repository. Your team can then develop and run the interfaces independently. Why this question matters so much for grid operators is explained in who owns the integration code.

Data stays in Europe, processing follows the GDPR, and a data processing agreement is signed where required. The contracting party is DigitalFreedom Global LLC; German law is available on request for grid operators. Details are on the page Why is the provider a US LLC?.

What does this look like at a grid operator?

At a grid operator in Hesse, many processes run outside epilot, and several third-party systems are connected through individually developed interfaces. The company’s name stays confidential.

For these connections I developed individual mapper tools in Java with Quarkus. They run in containers and are scalable and maintainable. Typical jobs for mappers like these include webhooks, REST calls to surrounding systems, triggering events in other systems and providing information in epilot.

The example shows the usual split. epilot remains the platform for customer processes and configuration, while the mappers handle the logic between systems. More background is in the in practice section on the home page.

I work together with epilot and complement its consulting team rather than replace it. For the rollout and the standard scope, epilot remains your point of contact.

How do you get started connecting your systems?

You start with a free intro call in which we go through your systems and workflows. Afterwards it is clear which of epilot’s own tools are enough and where a custom interface makes sense.

  1. Intro call: free and without obligation, 30 minutes on Microsoft Teams.
  2. Individual quote: tailored to your surrounding systems, data formats and operational requirements.
  3. Delivery: the interfaces are built, tested and put into operation with your systems.

Everything I offer is based on an individual quote. Invoicing is in euros, EU business clients are invoiced under the reverse charge mechanism after a VIES check of their VAT number. There is general liability and cyber insurance with Hiscox (details in the imprint). More answers are in the frequently asked questions on the home page, and you can pick a slot directly in the booking calendar.

Questions on this topic

Which integration routes does epilot offer itself?
According to the epilot developer documentation, they include the Integration Toolkit for ERP systems, the Batch API for many API calls in one request, webhooks for real-time events, public APIs with direct access to the platform, and 3rd Party Journeys for external forms.
When do I need dedicated middleware alongside epilot's built-in tools?
The Integration Toolkit standardises the epilot side and does not replace middleware. If an existing integration platform handles ERP connectivity, validation and workflows, no additional service is needed. A dedicated mapper makes sense when it cannot cover the required formats, rules or processes across several systems.
Which system should own the data?
That is decided per type of data. For each piece of information you define which system creates and changes it and which systems only read it. This stops two systems from overwriting each other.
How are grid connection processes in epilot connected to specialist systems?
Through interfaces between the case in epilot and the specialist systems. According to epilot, the grid compatibility check can be done manually or by connecting a third-party solution, and installers take part through the installer portal. A mapper brings check results and data about the connection object into epilot and hands follow-up steps to other systems.
What happens when a surrounding system is unavailable?
A good integration retries the call later, logs every attempt and raises an alert when it gets stuck. On the epilot side, the documentation describes that webhook events can be inspected and replayed.
Does a custom integration replace epilot's consulting team?
No. epilot's consulting team remains your point of contact for the rollout and the standard scope. I complement it where classic development is needed.
What does connecting a surrounding system cost?
That depends on the number and type of systems, the data formats and your operational requirements. After the free intro call you receive an individual quote.

Does this fit your project?

In the free 30-minute intro call on Microsoft Teams we work out where epilot's standard ends for you. Afterwards you receive an individual quote.

Book a call

Published: . Last updated: .