
Incident reports and staff documents that file themselves.
2automations in production
Autofiling to SharePoint
Alertson any failure
1
An email arrivesA report or document lands in the shared mailbox.
2
It is readIts type and key details are pulled out.
3
It is filedRight SharePoint folder, new row in the register.
4
A person handles the odd onesAnything unreadable is held and flagged.
Care records are private, so this shows the flow rather than a screen.
Before
Incident reports and staff documents arrived by email, and someone had to sort and file each one by hand.
What I did
Built two automations that read the shared mailbox, classify each document and file it, with alerts on failure.
After
Documents land in the right SharePoint folder with a row in the register. Anything unreadable waits for a person.
What I built
- Mailbox watch
- Checks a shared Microsoft 365 mailbox and remembers where it stopped.
- Reading
- Claude works out what each document is and pulls out the details.
- Filing
- Right SharePoint folder, plus a row in the Excel register.
- Safety
- Unreadable items are held, and failures send an alert. Handed over into the company’s own GitHub.
Tools
- TypeScript
- Microsoft Graph
- SharePoint
- Claude
- GitHub Actions
Next case studyCreatorFlow
