{"connections":{"Every 15 minutes":{"main":[[{"index":0,"node":"GET /api/v1/events","type":"main"}]]},"GET /api/v1/events":{"main":[[{"index":0,"node":"Events — your logic here","type":"main"}]]}},"name":"DomainGuard — poll events API (Ingenious AI integrations)","nodes":[{"id":"d6ce002-0001-4000-8000-000000000001","name":"Every 15 minutes","notes":"The pull alternative to webhooks: poll the events API on a schedule. Webhooks (the receiver workflow) are near-real-time; polling is simpler behind strict firewalls.","parameters":{"rule":{"interval":[{"field":"minutes","minutesInterval":15}]}},"position":[240,320],"type":"n8n-nodes-base.scheduleTrigger","typeVersion":1.2},{"id":"d6ce002-0002-4000-8000-000000000002","name":"GET /api/v1/events","notes":"Replace PASTE_YOUR_API_KEY with a holder API key from your claimed report's Integrations page in DomainGuard. Better: move it into an n8n Header Auth credential and select it under Authentication. Add ?since=<ISO timestamp> (or keep a watermark with the Schedule Trigger) to fetch only new events; dedupe on event_id — delivery is at-least-once. GET /api/v1/actions returns the actions still pending a decision.","parameters":{"headerParameters":{"parameters":[{"name":"Authorization","value":"Bearer PASTE_YOUR_API_KEY"}]},"options":{"timeout":10000},"queryParameters":{"parameters":[{"name":"limit","value":"25"}]},"sendHeaders":true,"sendQuery":true,"url":"https://domainguard.getingeniousai.com/api/v1/events"},"position":[480,320],"type":"n8n-nodes-base.httpRequest","typeVersion":4.2},{"id":"d6ce002-0003-4000-8000-000000000003","name":"Events — your logic here","notes":"The events your API key's workspace recorded, newest first, in the shared event shape. Replace this node with your own logic (Split Out the events array to handle them one by one).","parameters":{"assignments":{"assignments":[{"id":"d6ce002-0003-4000-8000-0000000000a1","name":"events","type":"array","value":"={{ $json.events }}"}]},"options":{}},"position":[720,320],"type":"n8n-nodes-base.set","typeVersion":3.4}],"pinData":{},"settings":{"executionOrder":"v1"}}