Define Triggers, Inputs, Outputs, and a Single Source of Truth
For every routine, identify the exact event that starts it, the structured inputs required, and the authoritative location for final data. If multiple sources exist, choose a single source of truth and document the synchronization policy. Specify outputs, their formats, and delivery channels. Clarity here prevents loops, conflicting writes, and race conditions later. This discipline also informs tool selection, because some platforms handle triggers elegantly while others excel at transforming payloads, enriching records, or controlling state through dependable references.