Hey everyone 👋
I wanted to share a workflow I just finished building — an Incident Report Creator that turns form submissions into full, professional incident reports automatically using n8n + OpenAI.
⚙️ How It Works
- Incident Intake Form: A web form collects the essential incident details — reporter name, client, incident type, severity, and resolution notes.
- AI Report Generation: The data is passed to an AI Agent that formats it into a clean, client-ready Markdown report, including summary, impact, root cause, and preventive recommendations.
- Metadata Extraction & ID Generation: A JavaScript node parses the AI output to extract the incident title, client, and date, then builds a unique incidentId and prepares structured JSON for the next steps.
- File Conversion & Storage: The Markdown report is converted to a .md file and automatically uploaded to Google Drive for archival.
- Notifications: A Slack message alerts the team that a new incident report has been created and stored.
💡 Why It’s Useful
- Completely automates report writing and documentation
- Produces consistent, professional-looking output
- Keeps everything neatly organized with unique IDs
- Saves engineers tons of time after incidents
- Fully modular — easy to expand with PDF export, Airtable logging, or compliance alerts
🧠 Stack
- n8n – Workflow orchestration
- OpenAI (GPT-4.1) – Report generation
- Slack – Notifications
- Google Drive – Storage and archiving
- JavaScript – Metadata extraction & automation logic
🔧 Next Steps
I’m planning to add:
- Auto-generated PDF reports with company branding
- Integration with Airtable for compliance tracking
- Conditional Slack alerts based on severity level
Would love feedback or ideas from the community — especially if you’ve done similar AI + automation builds in n8n or other platforms!
— Michael