federal-preemption-tracker

n8n community node for Federal Preemption Risk Tracker - Monitor federal AI policy threats to state regulations like Colorado AI Act and California SB 1047

Package Information

Downloads: 21 weekly / 50 monthly
Latest Version: 1.0.0
Author: Jason Pellerin

Documentation

n8n-nodes-federal-preemption-tracker

n8n community node for Federal Preemption Risk Tracker - Monitor federal AI policy threats to state regulations like Colorado AI Act and California SB 1047.

n8n is a fair-code licensed workflow automation platform.

Features

  • Comprehensive federal monitoring: Executive Orders, DOJ actions, Federal Register, court cases
  • State-specific analysis: Colorado AI Act (CAIA), California SB 1047, Connecticut SB 2, Illinois HB 3773
  • Risk-scored events: 0-100 preemption risk scoring with actionable recommendations
  • RAG-optimized output: Pre-chunked content for AI agents and vector databases
  • Real-time alerts: Webhook notifications when critical risks detected

Operations

Operation Description
Comprehensive Scan All federal sources - EOs, DOJ, courts, Federal Register
Executive Orders Presidential actions and AI policy directives
Court Cases Federal preemption litigation (CourtListener)
DOJ Actions Department of Justice enforcement and guidance
Federal Register Rules, proposed rules, agency notices
State Conflicts Analyze federal-state regulatory friction
Risk Assessment Report Full compliance risk report

Installation

Community Node (Recommended)

  1. Go to Settings > Community Nodes in your n8n instance
  2. Select Install
  3. Enter n8n-nodes-federal-preemption-tracker
  4. Accept the risks and click Install

Manual Installation

cd ~/.n8n/custom
npm install n8n-nodes-federal-preemption-tracker

Credentials

This node requires Apify API credentials:

  1. Create a free account at apify.com
  2. Go to Settings > Integrations to get your API token
  3. In n8n, create new credentials for "Apify API"
  4. Paste your token

Usage Examples

Basic Compliance Scan

{
  "searchMode": "comprehensive",
  "targetStates": ["CO", "CA"],
  "outputFormat": "agent_optimized",
  "riskScoreThreshold": 25,
  "maxResults": 100
}

Executive Order Monitoring

{
  "searchMode": "executiveOrders",
  "targetStates": ["CO"],
  "outputFormat": "detailed",
  "riskScoreThreshold": 50
}

Court Case Tracking

{
  "searchMode": "courtCases",
  "targetStates": ["CO", "CA", "CT"],
  "courtTypes": ["scotus", "appeals"],
  "outputFormat": "agent_optimized"
}

Output Schema

Each preemption event includes:

Field Type Description
id string Unique event identifier
type enum executive_order, court_case, doj_action, etc.
title string Official title or case name
summary string Plain-language summary
riskScore integer Preemption risk score (0-100)
riskLevel enum low, medium, high, critical
affectedStates array State codes impacted
recommendedActions array Compliance recommendations
ragChunks array RAG-optimized content chunks
sourceUrl string Direct URL to source

Workflow Patterns

Daily Compliance Monitor

Schedule Trigger → Federal Preemption Tracker → Filter (riskScore >= 60) → Slack Alert

RAG Pipeline Integration

Federal Preemption Tracker → Code Node (extract ragChunks) → Pinecone/Qdrant Upsert

Critical Risk Webhook

Set webhookUrl in the node to receive POST notifications:

{
  "actorId": "ai_solutionist/federal-preemption-tracker",
  "totalEvents": 42,
  "criticalRisks": 3,
  "topCritical": [...]
}

Related Actors

Support

Author: Jason Pellerin - AI Solutionist
Website: jasonpellerin.com
Email: jason@jasonpellerin.com

Part of the HyperCognate AI Compliance Suite - Infrastructure of Trust for AI Governance.

License

MIT

Discussion