Skip to main content

How integrations work

An integration has four parts: the system the data goes to, the groups of curves and timeseries that go there, the codes and settings on each item, and the run that sends them. This page explains each one and what happens to every item in a run.

Two parts are optional. With the validation gate on, only data that has passed validation is sent, and the rest is held back with the reason in the report. With round-trip confirmations on, the system reports back which items it loaded, and the daily report shows them as confirmed or failed.


Systems​

A system is one destination for the data: a name, a code, the secrets it connects with, and the codes its data is sent with. It sends with a plug-in, or with ODSL you write.

Sends withWhat it isWho changes how it sends
A plug-inAn extension made for a kind of destination, such as Molecule, Azure Blob Storage or a webhook. Install it on the Integrations screen or the Extensions screen; installing a plug-in installs the Integration extension too when it is missing. The plug-in says what its systems need: the codes they know data by, the settings each group needs, the settings each item can have, the secrets they connect with, and the ODSL that sends the data.Its publisher. Each system on it has its own name, code, secrets, groups and daily report.
Custom ODSLFor a destination that has no plug-in. You choose the codes, settings and secrets and write the ODSL, or Fusion AI writes it with you. See Custom systems.You, on its System setup tab.

Many systems can send with one plug-in. Northgate writes its curves to two Azure Blob Storage containers, one for the trading desk and one for finance: two systems on the Azure Blob Storage plug-in, each with its own storage account key, groups and daily report. Ten destinations of the same kind need the plug-in installed once, and ten systems.

To add a system, select New system: choose the plug-in it Sends with (or Custom ODSL), give it a name, a code and a description, and choose its codes. The dialog also lists the plug-ins you can install; installing one comes back to the dialog with it chosen.

Each system is kept as a private object INTEGRATION.<CODE> of type INTEGRATION_SYSTEM, such as INTEGRATION.FINANCE_BLOB. Its code names its daily report INTEGRATION_<CODE> and its secret records, such as finance_blob_accountkey, and cannot be changed later.

The Integrations screen opens on its home page, which lists your systems with their plug-in, groups, schedules, latest run and secrets. Choose one to work on it. While you work on a system, the System box at the top switches to another one, and All systems goes back to the home page. The System setup tab has the system's name, description and codes, with Copy to a new system and Delete the system, and, for a system on a plug-in, what the plug-in needs. The Documentation tab keeps the system's own documents, such as what it is for, who to contact and a runbook (see Documenting a system).

The top of the System setup tab of Molecule: its name, id, code and report, its description, its codes shared with the plug-in, and Save the system, Copy to a new system and Delete the system

Stages​

Each system has a stage that says where it is in its life: Sandbox (trying things out), Development (being built), Testing (being checked before use) or Production (in use). A new system, and a copy of one, starts in Development.

The top of the Integrations screen on Molecule: the System box, and next to it the stage badge set to Production

To change it, select the stage badge next to the System box and choose another stage. The system is saved with its new stage at once. The stage is a label for you and your team: it does not change what the system sends, where it sends it, or when.

On the home page, each system's card shows its stage, and with more than one system, the Stage buttons above the cards show only the systems in that stage. Each button shows how many systems are in it. The screen remembers your choice in this browser. Systems made before stages were added show no stage until you set one, and No stage lists them. A system set up the old way (marked not upgraded) has no stage until it is upgraded.

Your systems on the home page with the Production stage chosen: two systems in all, one in Testing and one in Production, and the Molecule card with its Production badge

The codes a system sends with​

Each system chooses the identities (see below) its items are sent with:

CodesThe identitiesUse it when
SharedThe plug-in's own, such as blob_code, shared by every system on the plug-in that chooses them.The systems are one downstream system split in two, such as Molecule power and Molecule gas: a curve has one Molecule code.
Own codesNamed after the system's code: its code, _ and the plug-in's identity, such as finance_blob_blob_code.The destinations know the same curve by different codes.
The same codes as another systemThat system's identities.A new system for a destination that already has its codes, such as a test copy of a production system.

A new system has its own codes when the plug-in already has a system, and shared codes otherwise. Change them on the System setup tab. The plug-in's ODSL reads the identities by the plug-in's names whichever you choose, so it works the same for every system. Choosing other codes does not copy the codes already given: give the items their codes on the Items tab.

Updating a plug-in​

When a newer version of a plug-in you have installed is published, the home page shows it under Plug-in updates, with the version you have, the published version and the systems that use it. A system's System setup tab shows the version of its plug-in too, and whether a newer one is published.

Plug-in updates on the home page: version 5 of Molecule is published, the installed one is version 3, used by Molecule, with an Update button

Select Update, then confirm. The published version is installed over the one you have, as the Extensions screen does: the plug-in's scripts and settings are replaced, and your systems, groups, codes, secrets, schedules and reports are kept. The next runs of every system on the plug-in use the new version.

The installed version is the published version it was installed from. A plug-in installed before versions were recorded shows the installed version is not known, and is offered the update once.

Systems set up before 2026-11-07​

Before systems were kept as objects, each plug-in was one system, and a custom system was an extension custom.<code>. Those keep sending as they did, and the home page marks them not upgraded with an Upgrade to systems card. The upgrade lists what it does before anything changes: it makes an object for each system with the same name, code, report key, secrets and shared codes, points its groups, its report, its confirmation and cutoff processes at it, and removes the extension record of a custom system. A custom system that used a plug-in's ODSL becomes a system on that plug-in.

The upgrade: Molecule becomes INTEGRATION.MOLECULE on the plug-in odsl.molecule, and the custom system Northgate Risk becomes INTEGRATION.NORTHGATE_RISK with its own script


Groups​

The curves, timeseries and options to send are kept in an ordinary group of data (see the Groups screen). Groups of other services, such as master data objects, cannot be attached. When you attach a group to a system, the group gets the system's settings, such as which Molecule environment to use. A group sends to one system; to send the same curve to two systems, put it in two groups.

Every group also has these settings, whatever the system:

SettingDefaultWhat it does
Report keyThe system's code, such as MOLECULEThe run is merged into the report INTEGRATION_<key> for the date. Groups with the same key share one daily report.
Ondate offset (business days)0The date sent, counted from the day the run starts. -1 sends the previous business day, for a run early in the morning.
Calendar for the offsetBUSINESSThe calendar the offset is counted on.
CurvesThe curve for the ondateOr The curve for the ondate, or the latest one before it, which sends the last curve there is when today's is missing.
Validation gateAll dataOr Only validated data: an item is only sent when its data has passed validation. Each item can follow the group or not, on the Items tab. See The validation gate.

Removing a group from a system​

To stop sending a group, select Remove on its row on the Groups tab, or Remove from the system on its Settings tab (also in the Integration app on the Groups screen). A dialog says what is removed and what is kept before anything changes.

Removing the group Monthly capture prices from Molecule: its settings and its schedule are removed; the group, its stored reports, its codes and the Molecule secrets are kept

WhatWhen you remove a group
The group's settings for the systemRemoved, including any secrets of its own it named.
Its schedule, the process INTEGRATION_<GROUP>Deleted. A run already under way finishes.
The group and its curves and timeseriesKept. You can attach the group to the same or another system again.
The reports already storedKept, with this group's rows.
The system's codes and data properties on its itemsKept, unless you tick Also remove the codes and data properties. Items another group of the same system sends, and public data, are always left alone.
The group's own secret recordsKept, unless you tick Also delete the group's own secrets. Only offered for records nothing else reads.
The system's secretsKept.

Identities and data properties​

Identities are the codes the downstream system knows each curve or timeseries by. Molecule calls the TTF curve M.TTF.F; the lakehouse calls it ttf_mid. They are kept on the data item itself, one per system (or per set of shared codes), so the same curve can carry its Molecule code and its lakehouse key at once. A system can mark an identity as required: an item without it is not sent.

Data properties are settings kept on each curve or timeseries, such as the timezone of its quarter hours. They also hold the values the daily report counts by, such as location (NL, GB, DE) and category (GAS, POWER, SOLAR).

You set both on a group's Items tab, for every item in the group at once.


Secrets​

Secrets are what a system needs to connect, such as a user and a password or an API key. Each secret of a system is kept in a secret record on the platform, named on the system: Molecule's user is kept in molecule_user. You set a secret's value on the system's System setup tab. Two systems on one plug-in can read the same records, for the same account, or records of their own, such as finance_blob_accountkey. The screen never shows a value back: it only shows whether it is set. Only the runs read them.

The secret store keeps the values in your company's own Azure Key Vault when it has one (see Keeping your secrets in your own Azure Key Vault), otherwise in OpenDataDSL's.

A group uses the system's secrets unless it names its own on its Settings tab, for example a second Molecule account for one group. A system can mark a secret as required: a run stops before sending anything when a required secret is not set.


What happens in a run​

Each group runs as a process on the platform: on the schedule you give it, when one of its items is updated or passes validation (see Sending items as they change), or when you select Run now. A run:

  1. Reads the group and its system, and checks that the group is set up for the system and that the system sends with this plug-in or ODSL.
  2. Works out the date to send: the run date moved by the ondate offset, or the date you chose for Run now.
  3. Reads the system's secrets, and stops if a required one is not set. Then it lets the system get ready, for example by signing in.
  4. Reads each item in the group: a curve for the date, or the whole timeseries, with its identities and data properties.
  5. With the validation gate on for an item, checks that its data has passed validation, and holds it back when it has not.
  6. Hands each item that has data to the system's ODSL, which turns it into the system's format and sends it.
  7. Lets the system finish, for example by sending one message for the whole group.
  8. Merges the result of every item into the system's daily report for the date, replacing this group's earlier results for that date and keeping the other groups'.

Every item ends the run in one of these states:

StateWhat it means
completeSent to the system.
skippedLeft out on purpose by the system, for example in a dry run.
missingThere is no data to send: no curve for the date.
failedNot sent: the item could not be read, is not a curve, timeseries or options, is a kind of data the system does not take, has no required code, or the system refused it. The message says why.
held backNot sent by the validation gate: its data has not passed validation. The message says why. In the report's counts and alerts it is a failure.

The run itself ends failed when any item failed or had no data, so it shows in the process runs and can raise an alert. Its message lists each problem, for example Molecule: 3 of 5 items sent for 2026-11-03; NGE.POWER.NL:BASE: No curve for 2026-11-03; NGE.POWER.GB:BASE: No molecule identity set.

note

A run sends what it has. One late curve does not hold back the others: the four curves that are there are sent, and the late one shows as missing. Run the group again for the same date when the curve arrives.


History exports​

A history export sends a group for every date of a range, to load history into a system or to send a period again after a fix. On the group's Schedule and runs tab, under History export:

  1. Give the First ondate and the Last ondate. Both are sent.
  2. Check the Calendar: the dates sent are its business days. It starts as the group's own calendar; DAILY sends every day.
  3. Tick Raise the group's alerts for these dates only if you want them. A history export raises no alerts unless you do, since it sends earlier dates.
  4. Select Run the history export, check the dates, and select Run it.

The History export part of the Schedule and runs tab, sending October 2026 day by day

The group's process runs once and sends the dates one after the other, oldest first. Each date is a run like the one above, for that date: the curves for the date are read, sent, and merged into that day's report, replacing what it said for the group. A date with problems does not stop the others. The run's message counts the dates sent completely and names the ones with problems, such as History export of NGE_MOLECULE_CURVES from 2026-10-01 to 2026-10-31: 21 of 22 dates sent completely; problems on 2026-10-12 (...). Its log shows each date's run.

A history export sends at most 400 dates. For longer periods, run several. It takes as long as the runs of all its dates together, so a long one on a busy system is best started outside the system's working hours.

When a dataset corrects data that was already sent, a group with corrections on sends the corrected items again for the dates the corrections change, by itself, without a history export.


Sending items as they change​

A group can also send each curve or timeseries as it changes, as well as on its schedule or instead of one. On the group's Schedule and runs tab, under Send items as they change, choose how under Send an item and select Send items this way:

Send an itemWhen it is sentUse it when
When it is updatedAs soon as it is saved, validated or not.The system should have the data as soon as it is there.
When it passes validation (or its failure is overridden)Once it has passed its validation checks, or someone has overridden a failure. Each version is sent once: a curve when its ondate passes, a timeseries when new observations pass. Checking unchanged data again sends nothing.Only checked data should reach the system. Items with no validation checks are never sent this way.

Northgate's trading desk wants the gas and power curves in Molecule as soon as they are built, not only at 08:00: the schedule still sends the whole group every weekday morning, and each curve built during the day goes straight away.

Send items as they change, switched on for Gas and power curves when they are updated: it runs as Priya Shah, with the automation When &#39;NGE_MOLECULE_CURVES&#39; has an item updated, run &#39;INTEGRATION_NGE_MOLECULE_CURVES&#39;

The monthly capture prices go to Molecule's risk reports, so they are sent only once the analysts' checks have passed:

Send items as they change for Monthly capture prices, when they pass validation, with the automation When &#39;NGE_MOLECULE_CAPTURE&#39; has an item validated, run &#39;INTEGRATION_NGE_MOLECULE_CAPTURE&#39;

Each time an item of the group is saved, or passes validation, the group's process runs for that item alone:

ItemWhat is sent
A curveThe curve for the ondate it was saved for. A curve rebuilt for an earlier date sends that date again.
A timeseriesThe timeseries for the group's ondate: the run date moved by the ondate offset, as on a scheduled run.

The result goes into that day's report and replaces what it said for the item, keeping the group's other items. The group's alert, when it raises alerts, is judged on all the group's items for the day, so sending one item does not close an alert about another. The run shows in the group's runs with the trigger automation and a message such as Update of NGE.GAS.TTF:MID: Molecule: 1 of 1 items sent for 2026-11-04, or NGE.SOLAR.DE:CAPTURE passed validation: ....

The groups of Molecule: Gas and power curves runs weekdays at 08:00 UK time and on updates, Monthly capture prices on the 25th and when validated

To change how a group sends, choose the other way under Send an item and select Save the change.

Things to know:

  • It is a platform automation. Switching it on saves the automation When '<group id>' has an item updated, run [process] (or has an item validated), which also shows on the platform's Automations screen. The platform keeps it in step with the group: an item added to the group is watched from then on, and one removed is not. If the screen says The automation does not watch the group's items as they are now, select Update the automation. Switch off pauses it, and Remove the automation deletes it. Removing the group from its system, or deleting the system, deletes it too.
  • It runs as you. An automation runs with the access of its owner: whoever switched it on last.
  • The process is needed. It runs the group's process INTEGRATION_<GROUP>. If the group has none yet, switching it on creates one with no schedule. Choose Not scheduled under Runs to send on updates only.
  • One run per item. Saving or validating many items at once, such as a whole curve build, starts a run for each. For a group whose items are all rebuilt together each day, the schedule alone is usually better.
  • Dynamic groups have no list of items for the platform to watch, so they cannot send on updates.
  • The validation gate. When the group only sends validated data (the validation gate), send items when they pass validation. Sent when they are updated, an item saved before it is validated is held back by the run its update starts, and only a later run sends it. The other way round, sending when items pass validation does not stop a scheduled run sending data that is not validated: turn the gate on for that.

Next​

Getting started with a plug-in sets up Northgate's Molecule integration step by step.