Toggle to see differences in the workflow

Pre-flight — 7 Required Fields (checked by Make.com)

1

Phase 1 — Trigger

MAKE.COM INSTANT
Fires automatically when task status → Closed Won • ~2 seconds
  1. Sales task moves to "Closed Won" in ClickUp
    Anyone on the sales team moves the task status. A ClickUp API webhook fires instantly to Make.com — filtered to only taskStatusUpdated events where the new status is "closed won".
  2. Make.com checks all 7 required fields exist
    Router with pre-flight filter checks the sales task's custom fields. All 7 must have values. If ANY field is missing → Route B fires (no folder created, "fix these fields" assigned comment posted to Michael).
  3. Project folder created from template (10 lists)
    Route A (all fields OK): Make.com calls POST /v2/space/54603442/folder_template with return_immediately: true. ClickUp starts provisioning in the background — 10 template lists, all template tasks, custom fields, and the Project Doc. Takes 2–3 minutes.
  4. Assigned comment posted to Michael
    Appears in Michael's Assigned Comments tray in ClickUp:

    Project folder created for TS260306 Sunshine Kebabs.
    Run in Claude Code: /project-setup-orchestrator 86d2xxxxx
    Folder ID: 90169xxxxxx
2

Phase 2 — Orchestrator

CLAUDE CODE
Run by Michael locally • /project-setup-orchestrator {taskId}
  1. Find the project folder (already created by Make.com)
    Searches SBI PROJECTS space for a folder matching the job number prefix (e.g. 260306). Make.com already created it — no duplicate.
  2. Poll for provisioning readiness (smart check, no fixed sleep)
    Polls every 10 seconds until all 10 lists exist:
    GET /v2/folder/{id}/list → count lists
    • Check Project Doc exists
    • Up to 3 minutes (18 attempts)

    If already provisioned (usual case), continues instantly.
  3. Detect project type — BUILD or DESIGN
    1. Task/folder name contains "DESIGN" → DESIGN
    2. Task/folder name contains "BUILD" → BUILD
    3. Falls back to Job Type custom field
    4. Asks user if still unclear
  4. Read sales documents and build project context
    Reads from sales task: contact details, deal value, job address, plans, proposal, Buildsoft, date sold, notes.
    Checks shared drive: G:\Shared drives\SBI JOB FILES_Share\{project}\

    Builds a project context object passed to every sub-skill.
  5. Check what's already done — skip completed sub-skills
  6. Call sub-skills in sequence (Phases 3–6)
3

Phase 3 — Sales Handover

CLAUDE CODE AUTOMATED
Sub-skill: /sales-handover • ~2 min
  1. Folder renamed: YYMMDD BUILD/DESIGN Project Name
    Examples:
    260306 BUILD Sunshine Kebabs Christine
    260317 DESIGN Tracey Fletcher Wamberal

    Schedule list (06) also renamed to include the full folder name.
  2. Template tasks customised with job name
    Placeholder names replaced with actual job name:
    List 02: {Job Name} - Construction Plans, Drawing - Revision 0
    List 08: 300 {Job Name} BUILD LABOUR, 310 {Job Name} Materials
    List 06: 10.1 {Job Name} SITE WORKS [SCHEDULE]
  3. Project Info Doc populated (client details, plans)
    ClickUp Doc (page 1) updated with:
    • Client contact details (name, email, phone)
    • Job address
    • Construction plans reference table
    • Joinery plans reference table (if in scope)

    This becomes the site reference document for the PM and crew.
  4. Sales task multi-listed into List 01, prefixed "SOLD"
    1. Sales task added to List 01 via multi-list (same task in Deals + project folder)
    2. Task name prefixed: SOLD TS260306 Sunshine Kebabs...
    3. "ADD WON sales Task" placeholder renamed and marked done
  5. Progress claims created in List 04
    Invoice milestone tasks assigned to Gail. Amounts calculated dynamically from deal value.

    Claim%Example ($79K)
    Deposit40%$31,600
    Start on Site30%$23,700
    Practical Completion20%$15,800
    Final10%$7,900
    Claim%
    Design Deposit60%
    Design Final40%
  6. Schedule set in List 06 (sequential phase dates)
    BUILD — 5 tasks get sequential dates from date sold:
    TaskStartEnd
    JOB SOLDDate Sold
    08 ProcurementDate Sold+ 1 week
    07 Pre-Manufacture+ 1 week+ 2 weeks
    09 Manufacturing+ 1 week+ 2 weeks
    10 SITE WORKS+ 2 weeks+ 3 weeks
    DESIGN — Simplified: JOB SOLD + Design Start/Finish dates only.
    Only the 5 high-level tasks. Subtasks under 10.1 SITE WORKS are PM-owned.
  7. Site works tasks created from proposal scope BUILD ONLY
    Proposal and cost budget read to extract scope. Broken into 5–10 sequential install tasks as subtasks of 10.1 SITE WORKS in List 06.

    Task names reference actual materials and quantities from the proposal.
  8. Handover task assigned — Chadd, Gemma, Gail, Michael
    "Handover between SALES and PM" task in List 05 updated with due date (within 2 days) and assigned to full team.

    DESIGN projects where salesperson = designer: handover is skipped.
4

Phase 4 — Cost Budget

BUILD ONLY CLAUDE CODE
Sub-skill: /budget-cost-sheet • ~1 min
  1. Buildsoft file located in 1.2 COST SHEETS/
    Found on shared drive at G:\Shared drives\SBI JOB FILES_Share\{project}\1.2 COST SHEETS\.
    Contains cost code categories (300 Labour, 310 Materials, 320 Contractors, etc.) with quantities, rates, and totals.
  2. Pre-flight check: verify pricing data exists
    Checks for at least one cost code with Qty, Rate, and Total > 0. If the file is empty:
    Price it — go back and enter numbers
    Mark N/A — skip budget + procurement
    Generate stub — reverse-engineer from deal value (estimates only)
  3. SBI Cost Budget tab generated in Excel
    New "SBI Cost Budget" sheet added to a working copy (never the original). Two tables:

    Cost Sheet Summary — one row per cost code with Budget, Rate/hr, Hours Allowed
    Cost Sheet Detail — every line item with Qty × Rate = Budget

    Footer: Total Cost, Markup, Overhead Recovery (66%), Budgeted Profit (33%), Sell ex-GST, GST, Sell incl-GST.
  4. Formatted + exported to styled PDF with donut charts
    Professional styling + single-page PDF export:
    • Dark navy headers, blue categories, grey subtotals
    Two donut charts: Cost Breakdown (by cost code) + Sales Breakdown (Cost vs Overhead vs Profit vs GST)
    • Saved as SBI Cost Budget - {project name}.pdf
  5. Totals verified against deal value — flagged if mismatch
5

Phase 5 — Procurement Setup

CLAUDE CODE AUTOMATED
Sub-skill: /budget-to-procurement • ~1 min
  1. Cost codes read from SBI Cost Budget tab
    Each cost code category and its budget amount extracted from the Cost Sheet Summary. Zero-budget categories are skipped.
  2. One task per cost code created in List 08
    Task name: {code} {Job Name} {CATEGORY}
    Example: 310 Sunshine Kebabs BUILD Materials

    If re-running, existing tasks matched by cost code — no duplicates.
  3. Budget amounts set on each task
    Budget Allowance SBI custom field set to the budget amount (ex GST). This is the figure the PM tracks against when placing orders.

    Dashboard shows Budget vs Actual bar charts from this field.
  4. Procurement category + workflow initialised
    CodeCategoryLabel
    300–304Labour - SBI InternalLABOUR
    310Build Works SupplierBUILD supplier
    315, 317Factory MaterialsJOINERY PROCUREMENT
    320–330ContractorsCONTRACTORS
    Workflow set to "Not Started". PM progresses: Quoting → Quoted → Approved → Ordered → Received → Paid.
6

Phase 6 — Project Dashboard

CLAUDE CODE AUTOMATED
Sub-skill: /project-dashboard • ~2 min
  1. All project data fetched from ClickUp
    Data pulled from every project list:
    • Sales info — client details, deal value
    • Claims & variations (List 04)
    • Schedule (List 06) — phase dates, site works progress
    • Budget vs actual (List 08)
    • Procurement status (List 08)
    • Compliance (List 03)
    • Site works (subtasks of 10.1 in List 06)
  2. Interactive HTML dashboard generated (7 tabs)
    Overview — health badge, phase indicator, key metrics
    Sales — client info, claims table, variations
    Financials — budget vs actual bar charts per cost code
    Procurement — workflow summary + task table
    Schedule — Gantt chart of phases and milestones
    Compliance — admin task checklist
    Actions — next actions and blockers for Tuesday meeting
  3. Saved to shared drive + deployed to GitHub Pages
    Three locations:
    1. Local working copy
    2. Shared drive: @Claude Dashboards/{jobNumber}-{slug}.html
    3. GitHub Pages: michael-sbi.github.io/sbi-dashboards/{slug}/

    Live within 1–2 minutes after git push.
  4. Link posted to Projects Meeting task
    Comment on the current Projects Meeting task (reviewed every Tuesday):
    📊 Sunshine Kebabs — Dashboard: https://michael-sbi.github.io/sbi-dashboards/sunshine-kebabs/
7

Phase 7 — Completion

AUTOMATED
Posted by Claude • tags Michael, Gail, Leah
  1. Summary comment posted on sales task
    Single completion comment tagged to Michael, Gail, and Leah:
    • Each phase: completed / skipped / failed
    • Key numbers: claim amounts, budget total, procurement count
    • Dashboard link
    • Manual steps checklist
  2. Sales task marked: "Project Folder Ready" ticked
  3. Handover summary posted with all data transferred and next actions
!

Manual Steps Checklist

MANUAL
Flagged in completion comment • Leah, Gail, PM Team

Leah

  • Job folder set up in Shared Drive
  • Client Information Form sent
  • Master Builders Contract sent

Gail

  • Xero project created
  • Deposit invoice sent
  • Cost codes set up in Xero

PM Team

  • Handover meeting within 2 days
  • Joinery project set up (if applicable)
  • Confirm no materials ordered before deposit paid

Who Does What

M
Make.com (Automated)
Phase 1: webhook, pre-flight, folder, notification
AI
Claude Code (Local)
Phases 2–7: orchestrator + 4 sub-skills
MC
Michael
Triggers orchestrator from assigned comment
L
Leah
Drive folders, contracts, client forms
G
Gail
Xero setup, invoicing, cost codes
PM
PM Team
Handover meeting, joinery, materials hold