{ "name": "Automated US Federal Contracts & SAM.gov Procurement B2G Radar — Daily B2B Data & Compliance Pipeline", "nodes": [ { "parameters": { "content": "## Automated US Federal Contracts & SAM.gov Procurement B2G Radar Pipeline (Daily B2B M2M Workflow)\n\n**Overview:**\nExtracts and audits official U.S. Federal Government contract awards via USAspending.gov v2 and SAM.gov APIs (Zero-Key required). Scores B2G vendor competitiveness (0-100), tracks DoD/HHS/VA awards, and generates Markdown procurement briefs.\n\n**Powered by Apify Actor:** [b2b-quant-apis/us-sam-gov-federal-procurement-auditor](https://apify.com/b2b-quant-apis/us-sam-gov-federal-procurement-auditor)\n\n### Quick Setup (2 Minutes):\n1. Create a free Apify account and copy your personal token from **Settings -> Integrations**.\n2. Open the **Apify Engine: us-sam-gov-federal-procurement-auditor** HTTP Request node and configure a **Header Auth** credential with:\n - **Name:** `Authorization`\n - **Value:** `Bearer `\n3. Customize the JSON input payload in the HTTP Request node and set your destination Webhook/Slack URL.\n4. Toggle the workflow **Active** to run automatically every morning at 07:00 AM!", "height": 380, "width": 520, "color": 4 }, "id": "1d8b39f9-84ab-5ec9-90a8-5d423d224eca", "name": "Setup Instructions & Architecture", "type": "n8n-nodes-base.stickyNote", "typeVersion": 1, "position": [ 180, 80 ] }, { "parameters": { "rule": { "interval": [ { "field": "cronExpression", "expression": "0 7 * * *" } ] } }, "id": "346d76b4-91a2-5217-b652-9f73112aef7d", "name": "Daily 07:00 AM Schedule Trigger", "type": "n8n-nodes-base.scheduleTrigger", "typeVersion": 1.2, "position": [ 220, 520 ] }, { "parameters": { "method": "POST", "url": "https://api.apify.com/v2/acts/b2b-quant-apis~us-sam-gov-federal-procurement-auditor/run-sync-get-dataset-items", "authentication": "genericCredentialType", "genericAuthType": "httpHeaderAuth", "sendBody": true, "specifyBody": "json", "jsonBody": "{\n \"keyword\": \"cybersecurity\",\n \"awardingAgency\": \"\",\n \"minAwardAmount\": 50000,\n \"maxResults\": 5\n}", "options": { "timeout": 300000 } }, "id": "e4c51c6e-93b4-5afd-b14d-c14790813694", "name": "Apify Engine: us-sam-gov-federal-procurement-auditor", "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.2, "position": [ 500, 520 ] }, { "parameters": { "conditions": { "options": { "caseSensitive": true, "leftValue": "", "typeValidation": "strict" }, "conditions": [ { "id": "8aa909cb-380c-5d2e-8bf8-c616d12f7960", "leftValue": "={{ Object.keys($json).length }}", "rightValue": 0, "operator": { "type": "number", "operation": "gt" } } ], "combinator": "and" } }, "id": "adc7e40f-a244-55b3-a6ab-495a1ab2a774", "name": "Validate Structured Dataset Output", "type": "n8n-nodes-base.filter", "typeVersion": 2, "position": [ 780, 520 ] }, { "parameters": { "method": "POST", "url": "https://api.example.com/v1/b2b-compliance-webhook-receiver", "sendBody": true, "specifyBody": "json", "jsonBody": "={{ JSON.stringify({ actor: 'us-sam-gov-federal-procurement-auditor', timestamp: $now, record: $json }) }}", "options": { "timeout": 30000 } }, "id": "4f7d781b-3a2c-5bb2-9dd2-800b9ff10ae7", "name": "Dispatch to Enterprise CRM / Slack Webhook", "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.2, "position": [ 1060, 520 ] } ], "connections": { "Daily 07:00 AM Schedule Trigger": { "main": [ [ { "node": "Apify Engine: us-sam-gov-federal-procurement-auditor", "type": "main", "index": 0 } ] ] }, "Apify Engine: us-sam-gov-federal-procurement-auditor": { "main": [ [ { "node": "Validate Structured Dataset Output", "type": "main", "index": 0 } ] ] }, "Validate Structured Dataset Output": { "main": [ [ { "node": "Dispatch to Enterprise CRM / Slack Webhook", "type": "main", "index": 0 } ] ] } }, "pinData": {}, "meta": { "templateCredsSetupCompleted": false, "apifyStoreActor": "b2b-quant-apis/us-sam-gov-federal-procurement-auditor", "estimatedPpeUsdPerEvent": 0.035 }, "settings": { "executionOrder": "v1" }, "staticData": null }