Automation library · Research and reporting

Automate satellite data analysis and regulatory reporting

Started by another system calling it, and works across Email, Postgres and Slack. It hands the judgement calls to OpenAI. 22 steps, 2 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

22 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 2Model 6Logic 8Service 6

The steps in the order they run, from what starts it.

  1. 1Schedule Data IngestionSchedule triggerStarts it
  2. 2Event Webhook TriggerWebhookStarts it
  3. 3OpenAI GPT-4 ModelLm Chat Open AiModel
  4. 4Structured AE Output ParserOutput Parser StructuredModel
  5. 5OpenAI GPT-4 Model for ReportsLm Chat Open AiModel
  6. 6Structured Report Output ParserOutput Parser StructuredModel
  7. 7Merge Trigger SourcesMergeLogic
  8. 8Adverse Event Detection AgentAgentModel
  9. 9Generate SUSAR ReportAgentModel
  10. 10Workflow ConfigurationSetLogic
  11. 11Route by SeveritySwitchLogic
  12. 12Store Report in Document RepositoryPostgresService
  13. 13Fetch EDC Clinical DataHttp RequestService
  14. 14Enrich SAE DataSetLogic
  15. 15Notify Safety Team via SlackSlackService
  16. 16Parse and Normalize Clinical DataCodeLogic
  17. 17Store SAE in Validated DBPostgresService
  18. 18Email QA TeamEmail SendService
  19. 19Validate Against Study ProtocolsCodeLogic
  20. 20Check if Authority Submission RequiredIfLogic
  21. 21Prepare Authority Submission PackageCodeLogic
  22. 22Log Audit TrailPostgresService

How it's built

Starts on
Another system calling it
Steps
22, with 2 branches
Size
Large: read it before trusting it with anything live
Connects to
Email, Postgres, Slack
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Email, Postgres and Slack accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 22 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 22 steps before you point it at anything that matters.