---
task_number: 48
status: open
priority: P3
owner: Michael
created: 2026-04-07
---
task_number: 48

# Task #48: n8n Rebuild

**Created:** April 7, 2026  
**Status:** PENDING  
**Priority:** MEDIUM  
**Location:** Command Center (63.143.34.217)  

---
task_number: 48

## Overview

Rebuild n8n automation workflows from scratch. The previous n8n instance was wiped during infrastructure consolidation. This is the automation backbone for Firefrost operations.

---
task_number: 48

## Current State

- n8n is installed on Command Center
- URL: https://n8n.firefrostgaming.com
- No active workflows (clean slate)

---
task_number: 48

## Planned Integrations

### Buffer MCP (Social Media Automation)

Buffer provides an MCP Client node for n8n, enabling automated social media posting.

**Covers:** Bluesky, X (Twitter), TikTok  
**Does NOT cover:** Facebook, Instagram (would need separate Meta integration)

**Configuration:**

| Setting | Value |
|---------|-------|
| Node Type | MCP Client |
| Server Transport | HTTP Streamable |
| MCP Endpoint URL | `https://mcp.buffer.com/mcp` |
| Authentication | Bearer Auth |
| API Key | (from https://publish.buffer.com/settings/api) |

**Automation Ideas:**

| Trigger | Action |
|---------|--------|
| New subscriber (Arbiter webhook) | Draft "Welcome!" post |
| Server status change | Auto-announce server online/offline |
| ModpackChecker finds update | Post "New version available!" |
| RSS feed (blog/news) | Auto-draft post with link |
| Weekly cron | Send summary of scheduled posts to Discord |
| Form submission | Create draft from submitted content |

**Example Workflow: New Subscriber Announcement**

```
Webhook (Arbiter) → Filter (new subscriber) → MCP Client (Buffer) → 
  Create draft: "Welcome @{username} to the Firefrost community! 🔥❄️"
```

**Documentation:** https://developers.buffer.com/guides/getting-started.html

---
task_number: 48

### Discord Webhooks

Send notifications to Discord channels for:
- Server alerts
- New subscribers
- Modpack updates
- Scheduled maintenance reminders

---
task_number: 48

### Arbiter Integration

Connect n8n to Arbiter webhooks for:
- Subscription lifecycle events
- Payment notifications
- Chargeback alerts

---
task_number: 48

### Pterodactyl API

Server management automation:
- Scheduled restarts (ties into Task #94)
- Backup triggers
- Resource monitoring alerts

---
task_number: 48

## Priority Workflows to Build

1. **Discord notification pipeline** — Server alerts, subscriber events
2. **Buffer social automation** — Event-triggered posts
3. **Weekly digest** — Summary of activity sent to Trinity
4. **Backup verification** — Confirm backups completed

---
task_number: 48

## Related Tasks

- Task #92: Desktop MCP + Dispatch (Buffer MCP for conversational management)
- Task #94: Global Restart Scheduler (could trigger via n8n)
- Task #97: Trinity Console Social Hub (parked — n8n approach preferred)

---
task_number: 48

## Notes

- n8n MCP Client requires Node.js workflow
- Buffer API is in beta — features may be limited
- Rate limit: 60 requests/user/minute on Buffer API

---
task_number: 48

**Fire + Frost + Foundation = Where Love Builds Legacy** 🔥❄️
