{ "name": "Automated US FDA Recalls & Safety Monitor (Food, Drug & Devices) — Daily B2B Data & Compliance Pipeline", "nodes": [ { "parameters": { "content": "## Automated US FDA Recalls & Safety Monitor (Food, Drug & Devices) Pipeline (Daily B2B M2M Workflow)\n\n**Overview:**\nMonitors and enriches official U.S. FDA enforcement recall reports across Food, Drugs, and Medical Devices via openFDA. Calculates hazard severity scores (0-100) and generates Markdown legal briefs for Product Liability law firms and retail compliance.\n\n**Powered by Apify Actor:** [b2b-quant-apis/us-fda-recalls-safety-monitor](https://apify.com/b2b-quant-apis/us-fda-recalls-safety-monitor)\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-fda-recalls-safety-monitor** 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": "48282cef-69f5-517b-b20f-b6a3f54c831c", "name": "Setup Instructions & Architecture", "type": "n8n-nodes-base.stickyNote", "typeVersion": 1, "position": [ 180, 80 ] }, { "parameters": { "rule": { "interval": [ { "field": "cronExpression", "expression": "0 7 * * *" } ] } }, "id": "4b338778-770a-5dd4-94a8-055bfea56abf", "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-fda-recalls-safety-monitor/run-sync-get-dataset-items", "authentication": "genericCredentialType", "genericAuthType": "httpHeaderAuth", "sendBody": true, "specifyBody": "json", "jsonBody": "{\n \"drug_names\": [\n \"ozempic\",\n \"semaglutide\",\n \"eliquis\"\n ],\n \"include_recalls\": true,\n \"max_results\": 10\n}", "options": { "timeout": 300000 } }, "id": "ded04659-69a7-5c52-817d-82c46a88f6f8", "name": "Apify Engine: us-fda-recalls-safety-monitor", "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.2, "position": [ 500, 520 ] }, { "parameters": { "conditions": { "options": { "caseSensitive": true, "leftValue": "", "typeValidation": "strict" }, "conditions": [ { "id": "aa06f282-8408-5dd3-b212-274b78974052", "leftValue": "={{ Object.keys($json).length }}", "rightValue": 0, "operator": { "type": "number", "operation": "gt" } } ], "combinator": "and" } }, "id": "e71e0b60-0f34-5685-917e-697ed320428b", "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-fda-recalls-safety-monitor', timestamp: $now, record: $json }) }}", "options": { "timeout": 30000 } }, "id": "ec5b7754-8f08-5570-8345-27e59e4b2df9", "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-fda-recalls-safety-monitor", "type": "main", "index": 0 } ] ] }, "Apify Engine: us-fda-recalls-safety-monitor": { "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-fda-recalls-safety-monitor", "estimatedPpeUsdPerEvent": 0.03 }, "settings": { "executionOrder": "v1" }, "staticData": null }