# gaeb-x83-to-excel-json-converter (`dach_automation_tools/gaeb-x83-to-excel-json-converter`) Actor

Convert German construction tender files (GAEB DA XML .x83, .d83, .x84, .x81 / Leistungsverzeichnis & Ausschreibung) into clean JSON and calculation-ready Excel (.xlsx) sheets. Perfect for n8n, Make.com, Bau & Handwerk without expensive AVA software.

- **URL**: https://apify.com/dach_automation_tools/gaeb-x83-to-excel-json-converter.md
- **Developed by:** [Bart](https://apify.com/dach_automation_tools) (community)
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$250.00 / 1,000 converted gaeb tender (excel & json)s

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## GAEB (.x83 / DA XML) to Excel (.xlsx) & JSON Converter – German Construction Tenders

Convert German construction tender files (**GAEB DA XML 3.1, 3.2, 3.3** – `.x83`, `.x81`, `.x84`, `.d83`) into a clean, ready-to-calculate **Excel spreadsheet (`.xlsx`)** with pre-built formulas and structured **JSON** for **n8n**, **Make.com**, and ERP automation.

***

### What Problem Does This Solve? (Deutsch & English)

In Germany, Austria, and Switzerland (DACH), construction companies, architects, civil engineers, and trades (*Handwerk, SHK, Elektro, Rohbau, Trockenbau, Dachdecker*) receive public and private invitations to tender (*Ausschreibungen / Leistungsverzeichnisse*) as cryptic **`.x83` GAEB files**.

Without expensive legacy AVA software, you cannot open or calculate these files in Excel.

#### What This Actor Delivers in 2 Seconds:

1. **Ready-to-Use Calculation Excel (`GAEB_Kalkulation.xlsx`):**
   - Extracts all bill of quantities items (*Ordnungszahl / OZ, Kurztext, Langtext, Menge, Einheit*).
   - Automatically separates normal items (*Normalpositionen*) from contingency/optional items (*Bedarfspositionen / Eventualpositionen*) so optional items do not distort your net total!
   - Includes live Excel multiplication (`Menge * Einheitspreis`) and `=SUM()` formulas.
2. **Structured JSON Output:**
   - Perfect for automated tender analysis, AI pricing estimation, or ERP import via **n8n**, **Make.com**, or **Zapier**.

***

### Ideal for n8n & Make.com Workflows

Connect your email inbox (`IMAP` / `Outlook` / `Gmail`): Whenever an architect or general contractor sends an email with a `.x83` attachment, pass the XML content to this Actor and automatically send the finished **Excel calculation sheet** to your team via Email, Slack, Microsoft Teams, or OneDrive!

***

### n8n Integration (Ready-to-Use Workflow)

You can import this complete workflow directly into your n8n instance. It includes a trigger, a sample GAEB XML test payload, and the HTTP Request node connected to this Apify Actor.

1. Copy the JSON code below.
2. Open n8n, click on **Workflows** -> **Import from Clipboard** (`Strg + V`).
3. Replace `DEIN_APIFY_TOKEN_HIER_EINTRAGEN` in the HTTP Request node with your personal Apify API Token (found in *Settings -> Integrations*).

````json
{
  "name": "GAEB (.x83) Leistungsverzeichnis to Excel & JSON (via Apify)",
  "nodes": [
    {
      "parameters": {},
      "id": "2b3c4d5e-0002-0002-0002-000000000001",
      "name": "1. Klick auf Test Workflow",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [240, 300]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "gaeb-field",
              "name": "gaebXmlContent",
              "value": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><GAEB xmlns=\"http://www.gaeb.de/GAEB_DA_XML/DA83/3.3\"><PrjInfo><NamePrj>Sanierung Rathaus - Los Elektro</NamePrj><Cur>EUR</Cur></PrjInfo><Award><DP>83</DP><BoQ><BoQBody><BoQCtgy RNoPart=\"01\"><LblTx>Hauptverteilung</LblTx><BoQBody><Itemlist><Item RNoPart=\"0010\"><Qty>15.000</Qty><QU>St</QU><Description><CompleteText><OutlineText><OutlTxt><TextOutlTxt>FI/LS-Schutzschalter 16A B-Charakteristik</TextOutlTxt></OutlTxt></OutlineText></CompleteText></Description></Item></Itemlist></BoQBody></BoQCtgy></BoQBody></BoQ></Award></GAEB>",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "id": "2b3c4d5e-0002-0002-0002-000000000002",
      "name": "2. Beispiel GAEB X83 Datei",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [460, 300]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.apify.com/v2/acts/DACH_Automation_Tools~gaeb-x83-to-excel-json-converter/run-sync-get-dataset-items?token=DEIN_APIFY_TOKEN_HIER_EINTRAGEN",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"gaebXmlContent\": {{ JSON.stringify($json.gaebXmlContent) }},\n  \"generateExcel\": true\n}",
        "options": {
          "timeout": 60000
        }
      },
      "id": "2b3c4d5e-0002-0002-0002-000000000003",
      "name": "3. Apify GAEB-zu-Excel Konverter",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [700, 300]
    }
  ],
  "connections": {
    "1. Klick auf Test Workflow": {
      "main": [
        [
          {
            "node": "2. Beispiel GAEB X83 Datei",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2. Beispiel GAEB X83 Datei": {
      "main": [
        [
          {
            "node": "3. Apify GAEB-zu-Excel Konverter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}



# Actor input Schema

## `gaebXmlContent` (type: `string`):

Füge hier den XML-Inhalt einer GAEB-Datei ein oder lasse das Feld leer für einen sofortigen Demo-Durchlauf.
## `fileUrl` (type: `string`):

Direkter Link zu einer GAEB-Datei (z.B. aus E-Mail-Anhang, Cloud oder n8n).

## Actor input object example

```json
{}
````

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("dach_automation_tools/gaeb-x83-to-excel-json-converter").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("dach_automation_tools/gaeb-x83-to-excel-json-converter").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call dach_automation_tools/gaeb-x83-to-excel-json-converter --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dach_automation_tools/gaeb-x83-to-excel-json-converter"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/gdTqJ6XkvahWY6fEZ/builds/CUbuiWSjjTaPuzoLE/openapi.json
