Gotify Notification Service

This workflow automates sending notifications via Gotify, triggered by webhook requests. Key nodes include Notification Webhook (receives requests), Rate Limit Check (monitors usage), Validate Input (sanitizes message/title/priority), Authentication Check (verifies credentials), Send Notification (Gotify API interaction), Notification Response Check (validates response), Format Success Response (structures output), Notification Error Handler (handles API errors), Validation Error Handler (manages invalid inputs), Auth Error Handler (handles authentication issues), and Send Response (returns results). It uses the Gotify API.\n\nSetup Requirements: Install n8n from n8n.io or sign up at cloud.n8n.io. Import the JSON into n8n’s workflow editor. Set up a Gotify server (gotify.net) and create an application token (Gotify UI > Apps > Create Application > Copy Token). In n8n, configure Gotify credentials (Server URL, App Token). Set up Notification Webhook with path send-notification and basic authentication (username/password). Integrate your app to send POST requests with message, title (optional), and priority (0-10). Handle errors like missing message (400: Input validation failed) or invalid Gotify token (500: Gotify API error). Ensure webhook credentials are set in n8n (Credentials > HTTP Basic Auth).\n\nTesting and Deployment: Import the JSON into n8n. Send a POST request to the webhook URL with JSON: {"message": "Test alert", "title": "Test", "priority": 5} and valid Basic Auth headers. Verify Validate Input sanitizes inputs, and the Authentication Check passes. Confirm Send Notification delivers the message, and Format Success Response returns status 200 with notificationId. Test with invalid inputs (e.g., {"message": ""}) to trigger Validation Error Handler (400: Message is required). Use an incorrect Gotify token to trigger the Notification Error Handler (500: Failed to send notification). Monitor logs for rate limits (429: Too Many Requests). If notifications fail, verify Gotify server URL, token, and webhook credentials. Activate the workflow in n8n and ensure the webhook is live. Deploy for automated Gotify notifications with error handling and response validation.

$5.49

Workflow steps: 11

Integrated apps: webhook, code, if

Gotify Notification Service preview