Library / Documents, PDF & OCR
Documents, PDF & OCR
Submit NKSC NIVS cyber incident reports from a webhook or XLSX file
When an API call/webhook arrives, it reads and extracts data from documents using Nksc Nivs.
What it does
## NKSC_CyberIncidents Watch the Loom walkthrough GitHub This template is an example workflow demonstrating how to use the NKSC NIVS n8n community nodes. It is intended as a reference implementation that can be adapted to your own incident source, field mappings, authentication, and response handling. ### How it works 1. Receives an incoming request through a Webhook and checks whether incident fields are provided directly or in an uploaded file. 2. If a file is provided, extracts and parses its contents, then merges the resulting incident fields into a consistent payload. 3. Routes the payload to the appropriate NKSC NIVS node: initial warning, minor incident, major incident, or near miss. 4. Checks the NIVS response for errors and immediately returns an error response if the submission fails. 5. If successful, returns either a JSON response or converts the result to a downloadable file. ### Setup steps * [ ] Configure When Nivs Incident Webhook Called to match your own source system and authentication requirements. * [ ] Ensure incoming requests contain either direct incident fields or a supported XLSX file. * [ ] Configure credentials settings for each NKSC NIVS submission node. * [ ] Verify Extract Incident Data from File uses the expected XLSX file and binary property. * [ ] Adjust Parse Incident Fields from File to match the field names and structure used by your source system. * [ ] Test the response paths and modify them as needed for your integration. ### Customization The surrounding webhook, parsing, routing, and response logic is provided only as an example of how the NKSC NIVS nodes can be integrated into an n8n workflow. Replace or modify these parts to fit your own system and use case. ### Requirements This example uses the @synergyconsulting/n8n-nodes-nksc-nivs community node and is intended for self-hosted n8n instances only. Install and configure the community node before importing or running the workflow.
The steps
- When Nivs Incident Webhook Called
- Route by Incident Type
- Return Error Response
- Return File Download Response
- Extract Incident Data from File
- Merge Payload and Extracted Data
- Convert Result to File
- Return Json Response
- If Request Includes File
- Parse Incident Fields from File
- If Nivs Returned Error
- If Input Came from File
- Submit Initial Warning Report
- Submit Minor Cyber Incident
16 steps in total.
Similar automations
Customer Support & HelpdeskLook Up ServiceNow Incident Details from a Webhook44 stepsDocuments, PDF & OCRConvert an XLSX Spreadsheet to PDF24 stepsMonitoring, Ops & IncidentsEscalate incident SLA breaches through a webhook intake and HTTP action calls17 stepsFiles & Cloud StorageConvert MySQL table to XLSX binary file on manual run5 steps