How do you document an automated sample preparation workflow for audits?

How do you document an automated sample preparation workflow for audits?
Documenting an automated sample preparation workflow for audits requires capturing every step the system performs in real time, including instrument parameters, timestamps, operator identifiers, and any deviations from the validated method. These records must be traceable, tamper-evident, and retrievable on demand. The sections below address the specific questions laboratories most commonly face when preparing their documentation for regulatory inspections.

What records must an automated sample preparation system generate for an audit?

An automated sample preparation system must generate records that prove every sample was processed exactly as the validated method specifies. At a minimum, this includes run logs with timestamps, instrument parameter settings, reagent lot numbers, solvent volumes used, operator credentials, and any system alerts or error messages that occurred during the run.

For laboratories analyzing persistent organic pollutants such as dioxins, PCBs, and PFAS, the documentation requirements are especially demanding because regulatory frameworks require full traceability from sample receipt through final extract. The records generated by the automated system should cover:

  • Sample identification codes and chain-of-custody entries
  • Method name and version used for the run
  • Exact instrument parameters (flow rates, pressures, temperatures, volumes)
  • Timestamps for each processing step
  • Operator login and any supervisor approvals
  • Reagent and solvent batch information
  • System-generated quality control results (blanks, spikes, recoveries)
  • Any deviations, interruptions, or error flags with corrective actions taken

Paper-based logs are increasingly insufficient for modern audit standards. Automated systems that write directly to a secure electronic log file reduce transcription errors and create a more defensible record than manual entries made after the fact.

How does an automated system create a traceable audit trail?

A traceable audit trail in an automated sample preparation system is created by recording every user action and instrument event in a time-stamped, sequential log that cannot be altered without detection. The system captures who did what, when it happened, and what the instrument state was at that moment, forming an unbroken chain of evidence from sample intake to final extract.

Traceability depends on three interconnected mechanisms working together:

  • Secure user authentication: Each operator logs in with unique credentials so that every action is attributed to a named individual rather than a shared account.
  • Real-time event logging: The system records instrument events as they occur, not retrospectively, so the log reflects actual processing conditions.
  • Change control records: Any modification to a method, parameter, or sample assignment is logged alongside the original value, the new value, the reason for the change, and the authorizing user.

For the audit trail to be genuinely traceable, the log files must be stored in a format that prevents deletion or overwriting. Read-only exports, cryptographic hashing, or server-side storage with access controls are common approaches. During an inspection, auditors typically request the audit trail for a specific batch and verify that the sequence of events is complete and internally consistent.

What is 21 CFR Part 11 and does it apply to laboratory sample prep systems?

21 CFR Part 11 is a US Food and Drug Administration regulation that sets requirements for electronic records and electronic signatures used in FDA-regulated environments. It applies to laboratory sample preparation systems when those systems generate electronic records that are required by FDA regulations and when those records are used to support regulatory submissions or product release decisions.

For laboratories operating outside direct FDA oversight, such as environmental testing labs or ISO 17025-accredited facilities in Europe, 21 CFR Part 11 does not apply as a legal requirement. However, the principles it establishes are widely regarded as best practice and are often referenced by auditors working under other frameworks, including EU regulations on food contaminant monitoring and OECD Good Laboratory Practice.

The core requirements of 21 CFR Part 11 that are broadly relevant to any laboratory audit trail include:

  • Audit trails that capture the date and time of operator entries and actions
  • System-generated, computer-readable records that cannot be altered without detection
  • Controls that limit access to authorized individuals only
  • Electronic signatures that are permanently linked to their associated records

Even if your laboratory is not FDA-regulated, aligning your automated sample preparation workflow documentation with these principles will strengthen your position during any ISO 17025 audit or customer inspection.

How should laboratories organize and store workflow documentation for inspections?

Laboratories should organize workflow documentation in a structured, hierarchical system that allows an auditor to move from a specific sample result back through every processing step to the original sample receipt record in a matter of minutes. Storage must be secure, backed up, and retained for the period required by the applicable regulatory framework.

A practical organizational structure for laboratory workflow documentation typically follows this hierarchy:

  1. Standard Operating Procedures (SOPs): The approved, version-controlled method documents that define how the automated system must be operated.
  2. Instrument qualification records: Installation qualification, operational qualification, and performance qualification records that demonstrate the system was validated before use.
  3. Batch records: Run-specific files linking each sample to the method version, instrument parameters, operator, and QC results for that batch.
  4. Audit trail exports: Time-stamped event logs for each run, stored separately from the batch records but cross-referenced by batch ID.
  5. Deviation and corrective action records: Any departures from the validated method, with documented investigation and resolution.

Storage duration varies by jurisdiction and application. ISO 17025 laboratories typically retain records for a minimum of five years, while food safety and environmental monitoring programs may require longer retention. Electronic storage systems should include automated backup, access logging, and a documented disaster recovery procedure.

What are the most common audit failures related to sample preparation documentation?

The most common audit failures in sample preparation documentation stem from incomplete records, inconsistent version control, and the inability to reconstruct exactly what happened during a specific run. Auditors frequently find that the documented procedure and the actual instrument settings do not match, or that change history has not been captured.

Based on patterns observed across laboratory audits, the recurring failures include:

  • Missing timestamps or operator identifiers: Logs that record what happened but not when or by whom are not traceable and will fail audit scrutiny.
  • Outdated SOPs in use: Running samples against a superseded method version because the current version was not distributed to the instrument operator.
  • Undocumented deviations: A step was skipped or modified during a run but no deviation report was filed, leaving a gap between the expected and actual process.
  • Incomplete reagent traceability: Solvent or reagent lot numbers not recorded, making it impossible to investigate a potential source of contamination retrospectively.
  • Audit trail gaps: Electronic logs that have been deleted, overwritten, or stored in a format that cannot be retrieved in its original state.
  • Calibration records not linked to sample runs: Instrument calibration data exists but is stored separately and cannot be connected to the batch it covered.

Many of these failures occur not because laboratories lack documentation, but because the documentation is fragmented across different systems, spreadsheets, and paper binders that were never designed to work together.

How can laboratories validate that their automated workflow documentation is audit-ready?

Laboratories can validate that their automated sample preparation audit trail is audit-ready by conducting a structured internal review that simulates the questions an auditor would ask. The goal is to confirm that every required record exists, is complete, is retrievable, and is consistent with the actual instrument behavior.

A practical validation review should work through the following checks:

  • Select a completed batch at random and attempt to reconstruct the full processing history using only the documented records.
  • Verify that the method version in the batch record matches the SOP version that was current on the run date.
  • Confirm that the audit trail export for the batch is complete, with no unexplained gaps in the event sequence.
  • Check that all QC samples (blanks, spikes, recovery standards) are present and within acceptance criteria, with any out-of-specification results linked to a deviation report.
  • Confirm that instrument calibration records cover the date of the run and are cross-referenced in the batch record.
  • Test the retrieval process for archived records to confirm that stored files can be opened and are legible.

For laboratories pursuing or maintaining ISO 17025 accreditation, this internal audit simulation should be performed at planned intervals and documented as part of the quality management system. Findings from the review should feed into corrective action processes, not simply be noted and filed.

Method validation is a closely related discipline. Laboratories that have not yet formally validated their automated workflows should treat documentation readiness and method validation as parallel activities, since auditors will typically examine both together.

How DSP-Systems supports audit-ready automated sample preparation

DSP-Systems supplies and supports automated sample preparation systems that are specifically designed to generate the kind of structured, traceable documentation that modern laboratory audits demand. Their offering is built around systems that log instrument parameters, solvent volumes, and processing events automatically, reducing the manual documentation burden that creates most audit failures.

  • The GO-EHT purification platform processes samples for dioxins, PCBs, PBDEs, and PCNs with automated parameter logging and minimal cross-contamination risk, supporting traceable batch records across food, feed, soil, water, and air matrices.
  • The SPE2000 and AutoEmpore systems handle high-throughput extraction for PFAS, pesticides, and other contaminants with configurable workflows that align with EPA and CEN method requirements.
  • DSP-Systems provides method development and validation support, helping laboratories build the documented evidence base that underpins audit readiness from the start.
  • Pre-installation programming and application testing ensure that systems are configured and documented correctly before the first production run.

If your laboratory is preparing for an ISO 17025 audit or evaluating automated systems that generate defensible workflow documentation, contact DSP-Systems to discuss your specific requirements.

Veelgestelde vragen

How long should we retain electronic audit trail records from our automated sample preparation system?

Retention requirements depend on your regulatory framework and the type of analysis performed. ISO 17025-accredited laboratories must retain records for a minimum of five years, but environmental monitoring programs, food safety testing, and any work supporting regulatory submissions often require longer periods — sometimes ten years or more. The safest approach is to identify the most stringent requirement that applies to your laboratory’s scope of work and apply it uniformly, since mixing retention policies across sample types creates gaps that auditors will flag.

What should we do if our automated system generates an error or alarm mid-run — does that automatically invalidate the batch?

An error or alarm mid-run does not automatically invalidate a batch, but it does require a documented response. The system’s error log entry must be accompanied by a deviation report that describes what happened, what corrective action was taken, and a scientific justification for accepting or rejecting the affected samples. If the run continued after the alarm, the batch record must clearly show that the deviation was reviewed and approved by a qualified individual before results were released. Auditors are far more concerned by the absence of a deviation record than by the deviation itself.

Can we use spreadsheets or shared drives to manage our workflow documentation, or do we need dedicated laboratory information management software?

Spreadsheets and shared drives are not inherently prohibited, but they introduce significant audit risk because they typically lack the access controls, change tracking, and tamper-evidence features that regulators expect. If you use them, you must demonstrate that edit history is preserved, access is restricted to authorized users, and files cannot be deleted or overwritten without a record. Dedicated LIMS or electronic laboratory notebook platforms are strongly preferable because they are designed to meet these requirements by default, and auditors will scrutinize manual systems far more closely than purpose-built software.

How do we handle documentation when the same automated system runs methods for multiple regulatory frameworks — for example, both EPA methods and EU CEN methods?

When a single automated system supports multiple regulatory frameworks, each method must be stored as a separate, version-controlled SOP with its own qualification evidence and parameter set. Batch records must clearly identify which method version was used for each run, and the system should be configured so that operators cannot inadvertently apply the wrong method to a sample set. A method cross-reference matrix — mapping each method to its applicable regulatory framework, acceptance criteria, and QC requirements — is a practical tool for keeping multi-framework documentation organized and audit-ready.

What is the difference between a system audit trail and a batch record, and do we need both?

A system audit trail is a comprehensive, sequential log of every event and user action the instrument records across all runs, including login events, parameter changes, and system alerts. A batch record is a run-specific document that summarizes the processing conditions, samples, QC results, and operator information for a single analytical batch. Both are necessary: the batch record gives auditors a concise, human-readable summary of what happened during a run, while the audit trail provides the underlying, tamper-evident evidence that the batch record accurately reflects actual instrument behavior. One without the other leaves a gap that an experienced auditor will identify immediately.

How do we get started if our current documentation is mostly paper-based and we need to transition to an audit-ready electronic system?

Start by conducting a gap assessment that maps your existing paper records against the requirements of your applicable regulatory framework, identifying which record types are missing, incomplete, or not tamper-evident. Prioritize digitizing the records that carry the highest audit risk first — typically run logs, deviation reports, and calibration records — before moving to supporting documentation. When selecting an automated sample preparation system or LIMS, verify with the vendor that the software generates the specific record types your framework requires and request documentation of how the system meets those requirements, since this evidence will itself become part of your qualification package.

If an auditor requests records from a batch run two years ago, what should we be able to produce and in what timeframe?

You should be able to produce the complete batch record, the corresponding audit trail export, the SOP version that was current on the run date, the instrument calibration records covering that date, reagent and solvent lot documentation, and any deviation or corrective action reports linked to that batch. Auditors generally expect these records to be retrievable within a matter of hours, not days, so your archiving system must support rapid, reliable retrieval of historical files in their original format. Testing your retrieval process for archived records — including records stored off-site or on legacy media — should be a routine part of your internal audit preparation.

Gerelateerde artikelen

Deze inhoud is gegenereerd met behulp van AI en kan fouten bevatten.