---
name: Workflow Automation
slug: workflow-automation
category: Automation
description: Workflow Automation designs human-in-the-loop orchestration for securities operations, including task routing, approval chains, and SLA monitoring. Use it for maker-checker controls, escalation rules, audit trails, and modeling processes as state machines.
github: "https://github.com/JoelLewis/finance_skills/tree/main/plugins/client-operations/skills/workflow-automation"
language: Python
stars: 184
forks: 35
install: "npx degit https://github.com/JoelLewis/finance_skills/tree/main/plugins/client-operations/skills/workflow-automation ~/.claude/skills/workflow-automation"
installs_to: ~/.claude/skills/workflow-automation
source_path: plugins/client-operations/skills/workflow-automation/SKILL.md
collection_size: 25
category_size: 2109
collection_url: "https://dirskills.com/collections/JoelLewis/finance_skills"
added: 2026-09-07T05:19:59.804Z
last_synced: 2026-09-07T05:19:59.804Z
canonical_url: "https://dirskills.com/skills/workflow-automation"
---

# Workflow Automation

Workflow Automation designs human-in-the-loop orchestration for securities operations, including task routing, approval chains, and SLA monitoring. Use it for maker-checker controls, escalation rules, audit trails, and modeling processes as state machines.

**Install:**

```bash
npx degit https://github.com/JoelLewis/finance_skills/tree/main/plugins/client-operations/skills/workflow-automation ~/.claude/skills/workflow-automation
```

## README

# Workflow Automation

## Core Concepts

### 1. BPM Fundamentals for Financial Operations

Business process management (BPM) is the discipline of modeling, executing, monitoring, and improving operational processes. In securities operations, BPM applies to every repeatable process that involves multiple steps, multiple participants, or decision points: account opening, account maintenance requests, transfer processing, corporate action elections, reconciliation break resolution, and billing exception handling.

**Process modeling.** A workflow begins as a process model — a formal representation of the steps, decision points, roles, and data flows in an operational process. The model serves three purposes: (1) it documents how the process works for training, audit, and examination purposes, (2) it provides the blueprint for automation, and (3) it establishes the baseline for measurement and improvement.

**Process modeling notation.** BPMN 2.0 is the industry standard for process modeling; model operational processes with tasks, decision gateways, start/intermediate/end events, and swim lanes per responsible role so that handoffs between operations, compliance, and external systems are explicit and visible.

**Process decomposition.** Complex operations workflows are decomposed into sub-processes. An account opening workflow decomposes into: data collection, KYC verification, document review, custodian submission, confirmation processing, and account activation. Each sub-process can be modeled, automated, and measured independently while the parent process orchestrates the sequence.

**State machines for financial workflows.** Many operations items are best modeled as state machines — an item exists in one of several defined states, and transitions between states are triggered by events or actions. A transfer request might have states: Initiated, Validated, Submitted to ACATS, In Progress, Completed, Rejected, Cancelled. Each transition has a guard condition (e.g., the transition from Validated to Submitted requires all validation checks to pass) and an action (e.g., send ACATS message). State machines enforce that items follow valid paths and prevent invalid transitions (an item cannot move from Initiated to Completed without passing through Validated and Submitted).

### 2. Task Routing and Assignment

Task routing determines which person or team receives a work item when it enters the workflow. Effective routing minimizes queue wait time, balances workload, and ensures items reach someone with the appropriate skill and authority.

**Role-based routing.** The simplest routing strategy. Each task type is assigned to a role (e.g., "Account Opening Analyst," "Transfer Specialist," "Senior Operations Reviewer"), and any person filling that role can pick up the task. Role-based routing is sufficient when all members of a role have equivalent skills and authority.

**Skill-based routing.** Extends role-based routing by matching task attributes to individual skill profiles. A trust account opening routes to analysts certified in entity account processing. A cross-border transfer routes to analysts with international custody experience. Skill-based routing reduces rework by ensuring the first handler has the competence to resolve the item.

**Round-robin assignment.** Tasks are distributed evenly across team members in rotation. Round-robin prevents any one person from being overloaded but does not account for task complexity or individual capacity. It works well when tasks are roughly uniform in effort.

**Workload-based assignment.** Tasks are assigned to the team member with the lowest current workload, measured by the number of open items, the total estimated effort of open items, or a weighted score that considers both. Workload-based assignment adapts to variable throughput across team members and handles uneven task complexity better than round-robin.

**Queue management.** When tasks cannot be immediately assigned (because all qualified team members are at capacity), they enter a queue. Queue management includes: priority ordering within the queue (SLA deadline, dollar value, client tier), visibility into queue depth and wait time for management, and automatic re-routing if a queue exceeds a defined depth or wait-time threshold.

**Capacity planning.** Historical data on task volumes, processing times, and SLA targets feeds capacity models that determine how many staff are needed for each role. Workflow systems capture the data needed for capacity planning: arrival rate (tasks per hour/day), service rate (average processing time per task), and queue wait time.

### 3. Approval Chains and Authorization

Many operations tasks require one or more approvals before proceeding. Approval chains enforce segregation of duties, limit authority by seniority and dollar value, and create a documented decision trail.

**Multi-level approval workflows.** A simple task may require one approval (e.g., standard account maintenance reviewed by a team lead). A high-risk task may require two or three levels (e.g., a large wire transfer reviewed by an operations analyst, then a senior manager, then a compliance officer). The number of approval levels is determined by the risk profile of the task, defined in the firm's delegation of authority matrix.

**Approval matrices by dollar amount and risk level.** A delegation of authority matrix maps task types and dollar thresholds to required approval levels. Example structure:

| Task Type | Amount or Risk | Approval Required |
|---|---|---|
| Cash disbursement | Under $25,000 | Operations analyst |
| Cash disbursement | $25,000 - $100,000 | Operations analyst + team lead |
| Cash disbursement | Over $100,000 | Operations analyst + team lead + operations manager |
| Account transfer (full ACAT) | Any | Operations analyst + supervisory review |
| Journal entry (different registration) | Any | Operations analyst + compliance review |
| Fee waiver or adjustment | Under $500 | Team lead |
| Fee waiver or adjustment | Over $500 | Operations manager |

**Four-eyes principle.** A foundational control in financial services: no single individual should be able to initiate and approve a transaction. The maker-checker pattern requires one person to prepare (make) and a different person to review and approve (check). For high-value or high-risk items, a third reviewer (four-eyes plus) may be required. Workflow systems enforce the four-eyes principle by preventing the initiator from also serving as the approver for the same item.

**Delegation of authority.** When an approver is unavailable (out of office, on leave), the workflow must support delegation — the designated alternate inherits the approval authority for a defined period. Delegation must be: (1) explicitly configured in advance by the primary approver or a system administrator, (2) time-limited (auto-expires at the end of the delegation period), (3) logged (the audit trail records that the delegate approved on behalf of the primary), and (4) restricted (the delegate cannot further delegate).

**Timeout and auto-escalation.** If an approval sits unactioned beyond a defined threshold, the workflow escalates automatically. A first-level escalation sends a reminder to the assigned approver. A second-level escalation notifies the approver's manager. A third-level escalation reassigns the item to an alternate approver. Timeout thresholds are tied to the SLA for the task type — a same-day disbursement cannot wait 24 hours for approval.

### 4. Escalation Rules and SLA Monitoring

Service-level agreements define the expected completion time for each task type. Escalation rules enforce SLAs by triggering progressively urgent actions as items age toward or beyond their deadlines.

**SLA definition per task type.** Each operational task type has a defined SLA based on regulatory requirements, client expectations, and operational capacity. Examples:

| Task Type | SLA Target | Regulatory Driver |
|---|---|---|
| ACAT transfer validation | 3 business days | FINRA Rule 11870 |
| ACAT transfer completion | 6 business days | FINRA Rule 11870 |
| Account maintenance (name change) | 2 business days | Internal service standard |
| Cash disbursement | Same day (if before cutoff) | Client expectation |
| Corporate action election submission | 1 business day before DTC deadline | DTC PTOP/ATOP rules |
| Reconciliation break resolution | 5 business days (standard), 1 business day (high value) | SEC Rule 15c3-3, fiduciary obligation |
| New account opening | 3 business days | Internal service standard |

SLAs are measured from the time the task enters the workflow (not from when it is assigned to an individual) to the time it is completed or resolved.

**Aging thresholds.** Work items are classified by age relative to their SLA:
- **Green** — within the first 50% of the SLA window. No action needed beyond normal processing.
- **Yellow** — between 50% and 80% of the SLA window. The item appears on the priority list and the assigned analyst is prompted to accelerate.
- **Red** — between 80% and 100% of the SLA window. Management is notified. The item is escalated to the next tier if not actively being worked.
- **Breached** — SLA exceeded. A formal breach is recorded. The item is escalated to senior management and included in the SLA breach report.

**Escalation tiers.** Escalation follows a defined chain:
- Tier 1: Notification to the assigned analyst (automated reminder).
- Tier 2: Notification to the team lead with a request to intervene or reassign.
- Tier 3: Notification to the operations manager with a summary of the blocked item and the reason for delay.
- Tier 4: Notification to the head of operations or COO for items that represent regulatory risk or significant client impact.

Each tier includes a defined time interval. If Tier 1 does not resolve the item within the interval, Tier 2 fires automatically.

**Notification cadence.** Escalation notifications follow a frequency schedule: initial alert, then periodic reminders at defined intervals (e.g., every 2 hours for same-day SLAs, every business day for multi-day SLAs). Notification fatigue is a real risk — if escalations fire too frequently or for low-priority items, recipients learn to ignore them. Calibrate notification thresholds to match the urgency and volume of each task type.

**SLA breach handling.** When an SLA is breached, the workflow system records the breach with: the task identifier, the SLA target, the actual completion time (or that the item remains open), the root cause (if determined), and the responsible party. Breach data feeds management reporting, trend analysis, and process improvement prioritization.

**Management reporting.** SLA dashboards provide real-time and historical views:
- Current queue depth by task type and age band (green/yellow/red/breached)
- SLA compliance rate by task type (percentage completed within SLA)
- Trend analysis: SLA compliance over time, identifying improving or degrading processes
- Top breach causes: categorized root causes for the most frequent SLA misses
- Analyst-level metrics: individual throughput, average processing time, SLA compliance

### 5. Process Orchestration Patterns

Orchestration defines how individual tasks are sequenced, parallelized, and conditioned to form a complete workflow.

**Sequential processing.** Tasks execute in a defined order. Each task must complete before the next begins. Example: account maintenance request received, then validated, then executed, then confirmed. Sequential processing is appropriate when each step depends on the output of the previous step.

**Parallel processing.** Multiple tasks execute simultaneously. Example: during account opening, KYC verification, document review, and custodian pre-validation run in parallel because they are independent. A synchronization point (join gateway) waits for all parallel tasks to complete before the workflow proceeds to the next step. Parallel processing reduces total cycle time.

**Conditional branching.** The workflow takes different paths based on data conditions. Example: if the account type is individual, route to the simple opening path; if the account type is trust, route to the entity review path; if the account type is estate, route to the legal documentation review path. Conditional branching is implemented with exclusive (XOR) gateways.

**Sub-process invocation.** A parent workflow delegates a portion of its work to a self-contained sub-process. The sub-process has its own tasks, gateways, and error handling. Example: the account opening workflow invokes a "KYC verification" sub-process that handles identity verification, screening, and risk scoring. Sub-processes promote reuse (the same KYC sub-process is invoked by account opening, account maintenance, and periodic review workflows) and maintainability (changes to KYC logic are made in one place).

**Event-driven triggers.** The workflow starts or advances in response to an external event rather than a timer or human action. Example: a custodian sends a settlement confirmation message, which triggers the reconciliation workflow for that transaction. A corporate action announcement from a data vendor triggers the event setup workflow. Event-driven processing requires a message bus or event broker (Kafka, RabbitMQ, or a cloud-native equivalent) to decouple the event source from the workflow engine.

**Timer-based triggers.** The workflow starts or advances based on a schedule or elapsed time. Example: daily reconciliation runs at 7:00 AM after custodian files arrive. An account maintenance request that has been in "pending documentation" state for 30 calendar days triggers an auto-close workflow. Timer-based triggers are essential for deadline-driven processes like corporate action elections and regulatory filings.

**Human-in-the-loop gates.** At defined points in an otherwise automated workflow, the process pauses and waits for a human decision. Example: an automated KYC check returns a "review required" result; the workflow assigns the review to a compliance analyst and waits for an approve/reject decision before continuing. Human gates should be the exception, not the rule — each gate adds latency and staffing requirements. Design the workflow to minimize human gates by handling the most common cases automatically and reserving human review for genuinely ambiguous items.

### 6. Workflow Engines and Tooling for Financial Services

Selecting a workflow platform for securities operations requires evaluating both technical capabilities and financial-services-specific requirements.

**Platform categories:**
- **Enterprise BPM suites (Pega, Appian).** Full-featured platforms with visual process designers, case management, analytics, and AI-assisted routing. Strong in regulated industries. High license cost, significant implementation effort, and vendor lock-in risk.
- **Open-source workflow engines (Camunda, Flowable, Temporal).** Developer-oriented engines that provide workflow orchestration as code. Camunda supports BPMN 2.0 natively, integrates via REST APIs, and can be self-hosted or SaaS. Lower license cost, greater flexibility, but requires engineering staff to build and maintain.
- **IT service management platforms (ServiceNow).** Originally designed for IT operations but increasingly used for business process workflows. Strong in ticketing, SLA management, and escalation. May require customization to handle securities-specific workflow semantics.
- **Custom-built workflow engines.** Built in-house using state machine libraries, message queues, and database-backed task tables. Maximum flexibility and zero license cost, but high development and maintenance burden. Appropriate when the firm's workflows are highly specialized and commercial platforms cannot accommodate them without excessive customization.

**Evaluation criteria for financial services:**
- **Audit trail completeness.** Every state change, assignment, approval, and escalation must be logged with timestamp, actor, and action. The audit trail must be immutable — entries cannot be modified or deleted. This is non-negotiable for SEC Rule 17a-3/17a-4 compliance.
- **Integration capabilities.** The engine must integrate with custodian systems, portfolio management platforms, CRM, compliance screening tools, and document management systems. REST APIs, message queue connectors, and file-based integration are minimum requirements.
- **Role-based access control.** Fine-grained permissions that restrict who can view, process, approve, and administer each workflow type. FINRA's supervisory obligations (Rule 3110) require that supervisors have visibility into and control over the workflows they oversee.
- **Scalability.** The platform must handle peak volumes (quarter-end rebalancing, corporate action clusters, market volatility events) without degraded performance or SLA breaches.
- **Business continuity.** The workflow engine is a critical operations system. It must support high availability, disaster recovery, and documented failover procedures.

**Build vs. buy.** The decision depends on the firm's size, engineering capability, and workflow complexity. Firms with fewer than 50 operations staff and standard workflows typically benefit from commercial platforms. Firms with large, specialized operations teams and highly customized workflows may find that the cost of customizing a commercial platform exceeds the cost of building a purpose-fit engine.

### 7. Audit Trail and Regulatory Compliance

In regulated financial services, every workflow action is a potential examination artifact. The audit trail must be complete, immutable, and retrievable.

**Every action logged.** The workflow system must record: who performed the action (user identity, not just role), what action was performed (state change, approval, rejection, reassignment, data modification), when the action occurred (timestamp with timezone), why the action was taken (approval reason, rejection reason, override justification), and the data state before and after the action.

**Immutable records.** Audit log entries must be write-once. No user — including administrators — should be able to modify or delete audit entries. This is a direct requirement of SEC Rule 17a-4, which mandates that records be preserved in a non-rewriteable, non-erasable format. Workflow systems that store audit logs in a standard relational database must implement application-level immutability controls or use append-only storage.

**Books-and-records requirements for automated workflows.** SEC Rule 17a-3 requires broker-dealers to create and maintain specified records, including records of all orders, transactions, and communications. When workflows automate the creation, routing, or approval of these records, the workflow itself becomes part of the books and records. The automated rules, decision logic, and configuration that govern the workflow must be documented and preserved alongside the transaction records. If a workflow rule is changed (e.g., the approval threshold for cash disbursements is raised from $25,000 to $50,000), the change must be documented with the effective date, the business justification, and the approver.

**FINRA Rule 3110 (Supervision).** FINRA requires member firms to establish and maintain supervisory systems, including written supervisory procedures, reasonably designed to achieve compliance with applicable securities laws and regulations. When operations workflows enforce supervisory controls (approval chains, exception reviews, compliance gates), the workflow configuration is part of the supervisory system. The workflow design must be reviewed and approved by compliance, and the firm must be able to demonstrate that the workflow enforces the supervisory procedures as written.

**Examination defensibility.** During a regulatory examination (SEC, FINRA, state regulators), examiners may
