FLOW MASON

Pipeline Breakdown

Five modular pipelines that work together or independently. Each pipeline is production-ready with detailed stage documentation.

Overview of all 5 financial counselling pipelines with composition patterns
01

Crisis to Action

Complete workflow from intake to action plan

Open in Wizard

Description

The main orchestration pipeline that handles the complete journey from initial client contact to a comprehensive action plan. Includes crisis detection, risk scoring, verified research, and document generation.

Key Features

  • Crisis gate with immediate escalation
  • 4 parallel research streams (Perplexity)
  • Cross-model validation (GPT-4 + Claude)
  • Complete citation tracking
15 stages Claude + GPT-4 + Perplexity Production Ready

Stages

1 validate-input schema_validate
2 parse-intake Claude Sonnet
3 detect-crisis Claude Sonnet
4 crisis-gate router
5 calculate-risk-score GPT-4
6-9 research-* (4 parallel) Perplexity
10 validate-research schema_validate
11 synthesize-action-plan Claude Sonnet
12-13 generate-* (briefing + materials) Claude Sonnet
14 route-by-severity router
15 log-completion logger
02

Intake & Assessment

Standalone intake with crisis detection

Open in Wizard

Description

A focused pipeline for intake processing and risk assessment. Use this when you want to parse client information without running the full research workflow. Perfect for initial triage or when research is handled separately.

Use Cases

  • Quick initial assessment
  • Triage for appointment scheduling
  • Integration with existing research workflows
  • Batch processing of intake forms
5 stages Claude + GPT-4 Modular

Stages

1 parse-intake Claude Sonnet
2 assess-crisis Claude Sonnet
3 calculate-risk GPT-4
4 determine-next-steps Claude Sonnet
5 compile-output json_transform

Output

{
  "structured_intake": {...},
  "crisis_assessment": {...},
  "risk_score": {...},
  "recommended_next_steps": [...]
}
03

Verified Research

Perplexity-powered research with citations

Open in Wizard

Description

The zero-hallucination research engine. Four parallel Perplexity searches gather current information on hardship programs, local services, legal protections, and creditor policies—all with verified citations.

Research Categories

  • 1 Hardship Programs - Utility relief, emergency funds, rental assistance
  • 2 Local Services - Gambling support, financial counselling, community services
  • 3 Legal Protections - Consumer rights, hardship provisions, debt collection limits
  • 4 Creditor Policies - Bank hardship programs, negotiation approaches
7 stages Perplexity sonar-pro Zero Hallucination

Stages

1 research-hardship Perplexity
2 research-services Perplexity
3 research-legal Perplexity
4 research-creditors Perplexity
5 compile-citations json_transform
6 verify-citations Claude Sonnet
7 final-output json_transform

Note: Stages 1-4 run in parallel for optimal performance. Each returns results with citation URLs that are validated in stage 6.

04

Action Plan Generator

Briefings and client materials from research

Open in Wizard

Description

Takes research inputs and generates prioritized action plans, counsellor briefings, and client-friendly materials. Perfect when you have research from another source or want to regenerate documents.

Outputs Generated

  • A Action Plan - Prioritized by urgency with owner assignments
  • B Counsellor Briefing - Research highlights, conversation guide, citations
  • C Client Materials - Plain language (8th grade), hope-focused, contacts
4 stages Claude Sonnet Modular

Stages

1 synthesize-plan synthesizer
2 generate-briefing Claude Sonnet
3 generate-client-materials Claude Sonnet
4 compile-output json_transform

Required Inputs

{
  "client_summary": {...},       // From intake
  "risk_assessment": {...},      // Optional
  "research": {
    "hardship_programs": {...},
    "local_services": {...},
    "legal_protections": {...},
    "creditor_policies": {...}
  }
}
05

Follow-up Tracker

Progress tracking and session planning

Open in Wizard

Description

Supports ongoing counselling relationships by tracking progress, celebrating wins, and planning next sessions. Feeds back into the system to update priorities and identify new needs.

Key Features

  • Progress analysis with completion tracking
  • Wins celebration points (positive reinforcement)
  • Challenge identification with support mapping
  • Next session planning with recommended intervals
6 stages Claude Sonnet Ongoing Support

Stages

1 analyze-progress Claude Sonnet
2 identify-new-needs Claude Sonnet
3 update-priorities Claude Sonnet
4 prepare-next-session Claude Sonnet
5 compile-output json_transform
6 log-session logger

Session Output

{
  "progress_summary": {
    "completion_percentage": 65,
    "overall_trajectory": "improving"
  },
  "celebration_points": [...],
  "updated_priorities": {...},
  "next_session": {
    "recommended_interval": "2_weeks",
    "focus_areas": [...]
  }
}

Pipeline Composition

These pipelines are designed to work together or independently. Here's how they compose:

Full Workflow

fc-crisis-to-action
  └── Contains all functionality

Use for complete intake-to-action flow

Modular Approach

fc-intake-assessment
  │
  ├──▶ fc-verified-research
  │
  └──▶ fc-action-plan-generator
          │
          └──▶ fc-follow-up-tracker

Use for custom workflows