{ "name": "Automated Brazil Gov Procurement & Bidding Radar (PNCP API + MCP Server) — Daily B2B Data & Compliance Pipeline", "nodes": [ { "parameters": { "content": "## Automated Brazil Gov Procurement & Bidding Radar (PNCP API + MCP Server) Pipeline (Daily B2B M2M Workflow)\n\n**Overview:**\nExtracts, filters, and enriches live Brazilian government public tenders (Pregão Eletrônico, Dispensa - Lei 14.133) from the official PNCP API with item-level pricing, ME/EPP flags, and LLM-ready RAG Markdown briefs.\n\n**Powered by Apify Actor:** [b2b-quant-apis/b2b-gov-procurement-pncp-radar](https://apify.com/b2b-quant-apis/b2b-gov-procurement-pncp-radar)\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: b2b-gov-procurement-pncp-radar** 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": "53d65594-2c47-5388-b503-ca166abe5fb1", "name": "Setup Instructions & Architecture", "type": "n8n-nodes-base.stickyNote", "typeVersion": 1, "position": [ 180, 80 ] }, { "parameters": { "rule": { "interval": [ { "field": "cronExpression", "expression": "0 7 * * *" } ] } }, "id": "24e7d8a7-454b-57b0-8c51-38442c98f14a", "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~b2b-gov-procurement-pncp-radar/run-sync-get-dataset-items", "authentication": "genericCredentialType", "genericAuthType": "httpHeaderAuth", "sendBody": true, "specifyBody": "json", "jsonBody": "{\n \"keywords\": [\n \"software\",\n \"cloud\",\n \"licenciamento\"\n ],\n \"uf\": \"SP\",\n \"max_results\": 10\n}", "options": { "timeout": 300000 } }, "id": "cb60bc03-b885-5693-965d-d5ad73fe5d67", "name": "Apify Engine: b2b-gov-procurement-pncp-radar", "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.2, "position": [ 500, 520 ] }, { "parameters": { "conditions": { "options": { "caseSensitive": true, "leftValue": "", "typeValidation": "strict" }, "conditions": [ { "id": "7e9cba2a-895e-51c1-b7c6-c8fca3dd843e", "leftValue": "={{ Object.keys($json).length }}", "rightValue": 0, "operator": { "type": "number", "operation": "gt" } } ], "combinator": "and" } }, "id": "2b666ae9-993b-57a6-a090-0850cf4bbfad", "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: 'b2b-gov-procurement-pncp-radar', timestamp: $now, record: $json }) }}", "options": { "timeout": 30000 } }, "id": "544789fd-fb49-5bf7-8ea0-ab985b458817", "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: b2b-gov-procurement-pncp-radar", "type": "main", "index": 0 } ] ] }, "Apify Engine: b2b-gov-procurement-pncp-radar": { "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/b2b-gov-procurement-pncp-radar", "estimatedPpeUsdPerEvent": 0.03 }, "settings": { "executionOrder": "v1" }, "staticData": null }