wzw-rapporte

n8n node for WZW Arbeitsrapporte - generates daily reports (Tagesrapport) as PDF

Package Information

Downloads: 0 weekly / 33 monthly
Latest Version: 1.0.3
Author: Daniel Zurmuehle

Documentation

n8n-nodes-wzw-rapport

Custom n8n node for generating WZW Arbeitsrapporte (Tagesrapport) as PDF.

Installation

In n8n (Self-hosted)

  1. Go to Settings > Community Nodes
  2. Click Install a community node
  3. Enter n8n-nodes-wzw-rapport
  4. Click Install

Manual Installation

cd ~/.n8n/custom
npm install n8n-nodes-wzw-rapport

Or link locally for development:

cd ~/.n8n/custom
npm link n8n-nodes-wzw-rapport

Configuration

1. Set API Key on Server

Add N8N_API_KEY to your WZW Arbeitsrapporte environment variables:

N8N_API_KEY=your-secure-api-key-here

On Vercel:

vercel env add N8N_API_KEY

2. Configure Credentials in n8n

  1. In n8n, go to Credentials
  2. Click Add Credential
  3. Search for WZW Rapport API
  4. Enter:
    • API URL: https://wzwarbeitsrapporte.vercel.app (default)
    • API Key: Your N8N_API_KEY value

Node Operations

Tagesrapport erstellen

Generates a daily report (Tagesrapport) as PDF.

Parameters:

  • Datum: Date in YYYY-MM-DD format (empty = today)
  • Output Format: PDF (Binary) or JSON
  • Binary Property Name: Name for the binary data (default: data)
  • Custom Filename: Custom filename for the PDF

Example Output (PDF):

{
  "success": true,
  "filename": "Tagesrapport_2025-01-15.pdf",
  "date": "2025-01-15"
}

Plus binary data containing the PDF.

Health Check

Verifies API connectivity.

API Endpoints

The node connects to these endpoints:

Method Endpoint Description
GET /api/n8n/health Health check
GET /api/n8n/tagesrapport Generate daily report

Development

# Install dependencies
npm install

# Build
npm run build

# Watch mode
npm run dev

License

MIT

Discussion