Generate ZUGFeRD e-invoice PDFs with webhook and Fly.io API
Ready for 3.0What this workflow does
This workflow has 7 nodes and runs on Stripe events (checkout.session.completed) (plus 1 other trigger). Along the way it connects Stripe. It also calls e-rechnung-cloud.de over HTTP.
How it runs
Trigger: On Stripe events (checkout.session.completed) (plus 1 other trigger).
- Code: runs custom JavaScript code
- HTTP: ZUGFeRD API aufrufen (HTTP Request): calls e-rechnung-cloud.de (POST)
- If: checks a condition and branches into true / false
- Email: Rechnung an Kunden senden (Send Email): sends an email over SMTP
- Respond to Webhook: sends the response back to the webhook caller
Services it uses
HTTP calls to: e-rechnung-cloud.de
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- Stripe Trigger
n8n-nodes-base.stripeTrigger - Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Send Email
n8n-nodes-base.emailSend - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick overview This workflow receives invoice data via a webhook, sends it to a Fly.io-hosted ZUGFeRD/XRechnung generation API, and returns a generated PDF/A-3 invoice (with embedded ZUGFeRD XML) directly in the webhook response. How it works 1. Receives a…