Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

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

  1. When Nivs Incident Webhook Called
  2. Route by Incident Type
  3. Return Error Response
  4. Return File Download Response
  5. Extract Incident Data from File
  6. Merge Payload and Extracted Data
  7. Convert Result to File
  8. Return Json Response
  9. If Request Includes File
  10. Parse Incident Fields from File
  11. If Nivs Returned Error
  12. If Input Came from File
  13. Submit Initial Warning Report
  14. Submit Minor Cyber Incident

16 steps in total.

Similar automations