n8n prompt
n8n: Error Alerting System
Monitor → detect → alert → create ticket workflow for system error management.
Build an n8n error alerting and incident management workflow for {{system_name}}. ## Monitoring source: {{monitoring_source}} ## Alert channels: {{alert_channels}} ## Ticket system: {{ticket_system}} ## On-call system: {{oncall_system}} ### Workflow Design **Node 1: Error Ingestion Trigger** Webhook from {{monitoring_source}} OR scheduled polling every {{poll_interval}}. Accept: error_type, severity, message, stack_trace, affected_service, count. **Node 2: Deduplication** Check Redis/database for identical error in last {{dedup_window}} minutes. If duplicate: increment count + update existing alert (no new ticket). If new: continue. **Node 3: Severity Classification** ``` P0: service_down OR error_rate > 10% → immediate page P1: error_rate > 2% OR payment_errors > 0 → alert in 5 min P2: new_error_type → alert within 15 min P3: known_error spike → daily digest only ``` **Node 4: Enrich Error Context** Query logs for last 10 occurrences. Identify: first_seen, frequency_trend, affected_users_count. Find related recent deployments or config changes. **Node 5: Create Ticket in {{ticket_system}}** Title: "[SEVERITY] ErrorType: brief description" Body: error details + context + last 3 occurrences + affected users. Labels: severity + service + error_type. Auto-assign based on service ownership map. **Node 6: Alert to {{alert_channels}}** Format by severity: P0: "🚨 P0 INCIDENT: [service] is down. {{oncall_ping}}. Ticket: [link]" P1: "🔴 P1 Alert: [error]. {{count}} occurrences in {{timeframe}}. Ticket: [link]" **Node 7: Escalation (if unacknowledged)** If ticket not updated in {{escalation_window}} minutes: escalate to senior on-call.
Fill in: {{system_name}}, {{monitoring_source}}, {{alert_channels}}, {{ticket_system}}, {{oncall_system}}, {{poll_interval}}, {{dedup_window}}, {{oncall_ping}}, {{count}}, {{timeframe}}, {{escalation_window}}. In Loopy you fill these in a form and copy the finished prompt in one click.
More automation prompts
- CursorCursor: Create GitHub Actions CI PipelineComplete GitHub Actions CI/CD pipeline with parallel jobs for testing, linting, type checking, security scanning, and deployment.
- n8nn8n: Content Publishing PipelineWrite → review → approve → publish → announce automation across platforms.
- n8nn8n: Customer Onboarding SequenceSign up → welcome → email sequence → task creation → check-in automation workflow.
- n8nn8n: Lead Capture to CRM AutomationWebhook → lead enrichment → CRM creation → team notification workflow.
- n8nn8n: Social Media SchedulerContent calendar → format per platform → schedule → post → track engagement workflow.
- ReplitReplit: Discord Webhook NotifierSend formatted Discord notifications from any trigger with embedded content, colors, and field formatting.

