Module 5.1 · Automation

Workflow Automation Engine

Central rule engine that maps business events to actions across every RiayahOS module. Integrations are reserved and not yet live.

Total Rules
8
Active
0
Live
Inactive
8
Failed
0
Last 24h
Successful Today
0
Pending
0
Avg Execution
0ms
Rolling avg

Rule Categories

Filter the library by operational domain.

RuleCategoryTriggerActionsStatusPriorityRuns…
New WhatsApp → Create Person
When a new WhatsApp message arrives from an unknown number, create a Person record and open a lead.
Patient Management
New WhatsApp Message
Create Person
Create Case
+2
inactive
high
0
Medical Report → AI Analysis
Every uploaded medical report is queued for OpenAI extraction and clinical summarisation.
Medical Reports
Medical Report Uploaded
Run AI Analysis
Update Timeline
inactive
high
0
AI Analysis → Update Case
When an AI analysis completes, update case metadata, timeline, and intelligence scores.
AI
AI Analysis Completed
Update Timeline
Move Workflow Stage
+1
inactive
normal
0
Hospital Opinion → Notify Coordinator
When a hospital returns an opinion, notify the assigned coordinator and stage the reply for review.
Hospital Coordination
Hospital Opinion Received
Generate Notification
Create Task
+1
inactive
high
0
Quotation → Update Revenue
Every new quotation refreshes expected revenue, FX conversion, and forecast dashboards.
Finance
Quotation Created
Update Revenue
Update Timeline
inactive
normal
0
Patient Accepted → Logistics
When a patient accepts the treatment plan, spin up visa, flight, and hotel logistics tasks.
Travel
Patient Accepted
Create Logistics Task
Assign Coordinator
+2
inactive
critical
0
Patient Declined → Close Case
When a patient declines, capture the reason, notify the team, and close the case.
Patient Management
Patient Declined
Update Timeline
Generate Notification
+1
inactive
normal
0
Payment Received → Finance
Every incoming payment posts to Finance, updates revenue, and issues an internal notification.
Finance
Payment Received
Create Finance Record
Update Revenue
+2
inactive
high
0
Page 1 of 1 · 8 rules