Center of Excellence in Forensic Nursing, Texas A&M University Health
Context
The Center of Excellence in Forensic Nursing delivers approximately 45 annual continuing education courses with certificate distribution across six credential types (CE, CME, Social Work) in both live and enduring formats. Individual certificate generation was historically managed through Google Forms and Autocrat workflows, which worked but did not scale to the volume of TX_SANE_AA and Person-Centered course sessions.
For each session, certificates needed to be split from a multi-page PDF master, renamed using a consistent convention (lastFirst_courseAbbrev_session_year), and routed to the appropriate folder for distribution.
Approach
I wrote a Python pipeline using pypdf to:
- Read the multi-page PDF master and identify individual certificate page boundaries
- Match each page against a paired roster of participant names
- Split the PDF into individual single-page certificates
- Apply the naming convention programmatically
- Drop the renamed certificates into a structured folder hierarchy keyed to session metadata
Implementation notes
- Developed the pipeline using Claude Code, with iterative testing against real session data.
- The naming convention was designed so a folder full of certificates could be sorted alphabetically by attendee, by course, or by session, depending on downstream use.
- Error handling for name mismatches between roster and certificate PDF was the longest part of development.
- Deliberately built the output as a sortable folder for human review rather than direct email distribution, so a human review step is always possible before participants receive their certificates.
Result
What used to be a multi-hour task per session is now a few minutes of running the pipeline. The pipeline has processed certificates across multiple TX_SANE_AA and Person-Centered course sessions without manual intervention.
Lessons
- Naming conventions are policy, not formatting. Time spent designing the convention up front pays back tenfold in downstream sorting, search, and audit work.