First Class Modules

Follow-ups

Lists the follow-ups assigned to the signed-in person across records, with priority, due time, overdue state, and replies that reach the person who assigned them.

Open raw .md
Runtime key
module.followups
Experience
Personal follow-up list
Security
Server-enforced

Use Follow-ups so each person sees what they owe on which record, can mark it done or reschedule it, and can reply to whoever assigned it without leaving the page.

Note

The bundled renderer key is module.followups. First-class means BuildWithHQ supplies a native, typed, secured runtime experience inside normal app provisioning and the signed-in user's existing permissions.

What it does

Lists the follow-ups assigned to the signed-in person across records, with priority, due time, overdue state, and replies that reach the person who assigned them.

Key capabilities

  • List my open and in-progress follow-ups across records, newest due first, with a Done filter.
  • Assign a follow-up on a record to someone who can also read that record, with a note, priority 1-3, and an optional due time.
  • Mark a follow-up done or reschedule it; every change is fenced by the follow-up's current revision.
  • Open a record's follow-ups in a modal and reply; each reply is delivered to the other person as an in-app notification.

Common uses

  • Call-backs and next steps after a customer conversation.
  • Hand-offs between teammates on a shared record.
  • A personal daily list of due and overdue work on a workspace page.

How it connects

Follow-ups belong to an existing record and follow the page's selected record when placed beside a record list. Replies land in Notifications. The record itself keeps its own module, scope, and permissions.

Where applicable, its records use the universal RecordId conventions so they can participate in secured relationships, activity history, favorites, dynamic fields, notifications, Inbox attention, and global search without copying the source record.

Security and data boundary

Both the assigner and the assignee must be able to read the record when the follow-up is created; the people list only offers active people who share a readable DataRole with you and can read the record. Reads and replies re-check that you can still read the record. The assigner's name is hidden when you no longer share a readable DataRole with them.

  • The authenticated service derives the SaaS app, tenant account, user, DataRole, and location scope; browser identifiers are never authorization proof.
  • The page editor composes React components with validated data bindings. Those bindings call typed runtime APIs, whose application services execute reviewed stored procedures.
  • List, search, detail, relation, activity, favorite, and write operations reapply their required server-side permissions.

Add it to an app

  1. Open the SaaS app in the Developer Console and identify the user journey and page where this module belongs.
  2. Add the validated module.followups module block through the supported page/template authoring flow.
  3. Configure the module with the page editor's React components and validated data bindings; the bindings call authenticated platform APIs backed by reviewed stored procedures.
  4. Place the page in the correct user-type menus and assign existing DataRole, record, field, and location permissions.
  5. Test list, detail, search, empty, denied, stale-update, and cross-location behavior before publishing an exact version.

Copy/paste the Follow-ups page

The native block shows my follow-ups with the Done filter, paging, and the new-follow-up form:

{
  "blocks": [
    { "_id": "my-followups", "_type": "module.followups", "props": {}, "children": [] }
  ]
}

Exact data path

GET /api/modules/followups lists mine through sp_Followups_ListMineSecured; GET /people uses sp_Followups_ListAssigneesSecured; POST creates through sp_Followups_CreateSecured; PUT /{followupId} marks done or reschedules through sp_Followups_UpdateSecured with the expected revision; GET /record/{recordId} and POST /{followupId}/replies use sp_Followups_ListForRecordSecured and sp_Followups_ReplySecured. Times are UTC.

Build a professional Follow-ups dashboard

These six registry-backed presentation blocks let a designer turn the secured Follow-ups API into a complete admin page without writing a chart, grid, status badge, empty state, or timeline from scratch. The normal operational API begins at /api/modules/followups; a dashboard-wide count or trend should come from a separate purpose-built presentation binding so the browser never downloads a broad record population to calculate one number.

The ZIP contains this feature's fictional design composition at pages/first-class/followups-sample.json, its executable authenticated page at pages/first-class/followups-live.json, and the catalog-driven FirstClassPresentationGallery.tsx. Use the sample only for visual design. The live page calls the real native API and reviewed stored procedures under the signed-in user's scope.

Payload kindRuntime blockUseful Follow-ups projection
metric-setcore.metric-stripOpen, due-today, overdue, and completed counts
entity-listcore.entity-listFollow-ups due soonest on records you can still read
progress-listcore.progress-listDistribution by priority, status, or record module
series-chartcore.series-chartAssignments and completions over time
data-gridcore.presentation-gridOne bounded personal follow-up page
timelinecore.timelineCreate, reassign, complete, reopen, and due-date changes

Copy/paste design preview: all six blocks

This complete static page document renders immediately in Puck/Monaco and is useful while styling a template. Its names, counts, dates, and IDs are fictional design fixtures; static preview values are not live tenant facts.

Copy the complete six-block page JSON
{
  "blocks": [
    {
      "_id": "followups-metrics",
      "_type": "core.metric-strip",
      "props": {
        "title": "Follow-up queue",
        "asOfUtc": "2026-09-04T18:00:00Z",
        "items": [
          {
            "key": "open",
            "label": "Open",
            "value": 14,
            "format": "number",
            "tone": "primary"
          },
          {
            "key": "due",
            "label": "Due today",
            "value": 4,
            "format": "number",
            "tone": "warning"
          },
          {
            "key": "overdue",
            "label": "Overdue",
            "value": 2,
            "format": "number",
            "tone": "danger"
          },
          {
            "key": "done",
            "label": "Done this week",
            "value": 9,
            "format": "number",
            "tone": "success"
          }
        ]
      },
      "children": []
    },
    {
      "_id": "followups-recent",
      "_type": "core.entity-list",
      "props": {
        "title": "Follow-ups due soon",
        "hasMore": true,
        "items": [
          {
            "id": "followups-sample-1",
            "recordId": "followups-record-1",
            "primary": "Call back about the rooftop unit",
            "secondary": "WO-1042 Rooftop unit - Work Orders",
            "status": {
              "key": "due-today",
              "label": "Due today",
              "tone": "warning"
            },
            "trailing": "2 h"
          },
          {
            "id": "followups-sample-2",
            "recordId": "followups-record-2",
            "primary": "Call back about the rooftop unit - Follow-up",
            "secondary": "WO-1042 Rooftop unit - Work Orders - Updated two hours ago by the assigned owner",
            "status": {
              "key": "in-review",
              "label": "In review",
              "tone": "primary"
            },
            "trailing": "Today"
          },
          {
            "id": "followups-sample-3",
            "recordId": "followups-record-3",
            "primary": "Call back about the rooftop unit - West region",
            "secondary": "WO-1042 Rooftop unit - Work Orders - Related to three visible records at the Reno location",
            "status": {
              "key": "on-track",
              "label": "On track",
              "tone": "success"
            },
            "trailing": "3 related"
          },
          {
            "id": "followups-sample-4",
            "recordId": "followups-record-4",
            "primary": "Call back about the rooftop unit - Customer response",
            "secondary": "WO-1042 Rooftop unit - Work Orders - Waiting for an external response before work can continue",
            "status": {
              "key": "scheduled",
              "label": "Scheduled",
              "tone": "warning"
            },
            "trailing": "Tomorrow"
          },
          {
            "id": "followups-sample-5",
            "recordId": "followups-record-5",
            "primary": "Call back about the rooftop unit - Regional operations review with a deliberately long title",
            "secondary": "WO-1042 Rooftop unit - Work Orders - This deliberately longer supporting line verifies wrapping, truncation, responsive spacing, and dense dashboard behavior.",
            "status": {
              "key": "needs-attention",
              "label": "Needs attention",
              "tone": "danger"
            },
            "trailing": "Review",
            "tertiary": "Long-content fixture: verify keyboard focus, wrapping, narrow columns, and mobile overflow before publishing."
          },
          {
            "id": "followups-sample-6",
            "recordId": "followups-record-6",
            "primary": "Call back about the rooftop unit - Completed preview",
            "secondary": "WO-1042 Rooftop unit - Work Orders - Closed after review with its related evidence retained",
            "status": {
              "key": "complete",
              "label": "Complete",
              "tone": "success"
            },
            "trailing": "Closed"
          }
        ]
      },
      "children": []
    },
    {
      "_id": "followups-bystatus",
      "_type": "core.progress-list",
      "props": {
        "title": "Follow-ups by priority",
        "items": [
          {
            "key": "high",
            "label": "High",
            "value": 3,
            "maximum": 14,
            "displayValue": "3",
            "tone": "danger",
            "status": {
              "key": "high",
              "label": "High",
              "tone": "danger"
            }
          },
          {
            "key": "normal",
            "label": "Normal",
            "value": 8,
            "maximum": 14,
            "displayValue": "8",
            "tone": "primary",
            "status": {
              "key": "normal",
              "label": "Normal",
              "tone": "primary"
            }
          },
          {
            "key": "low",
            "label": "Low",
            "value": 3,
            "maximum": 14,
            "displayValue": "3",
            "tone": "success",
            "status": {
              "key": "low",
              "label": "Low",
              "tone": "success"
            }
          }
        ]
      },
      "children": []
    },
    {
      "_id": "followups-trend",
      "_type": "core.series-chart",
      "props": {
        "title": "Follow-up activity",
        "variant": "bar",
        "defaultPeriodKey": "d7",
        "periods": [
          {
            "key": "d7",
            "label": "7 days",
            "labels": [
              "Fri",
              "Sat",
              "Sun",
              "Mon",
              "Tue",
              "Wed",
              "Thu"
            ],
            "series": [
              {
                "key": "primary",
                "label": "Assigned",
                "tone": "primary",
                "values": [
                  8,
                  5,
                  4,
                  12,
                  15,
                  11,
                  17
                ]
              },
              {
                "key": "secondary",
                "label": "Completed",
                "tone": "success",
                "values": [
                  6,
                  4,
                  3,
                  9,
                  12,
                  10,
                  14
                ]
              }
            ]
          }
        ]
      },
      "children": []
    },
    {
      "_id": "followups-table",
      "_type": "core.presentation-grid",
      "props": {
        "title": "Your follow-ups",
        "columns": [
          {
            "key": "note",
            "label": "Follow-up",
            "type": "text",
            "align": "left"
          },
          {
            "key": "record",
            "label": "Record",
            "type": "text",
            "align": "left"
          },
          {
            "key": "priority",
            "label": "Priority",
            "type": "status",
            "align": "left"
          },
          {
            "key": "status",
            "label": "Status",
            "type": "status",
            "align": "left"
          },
          {
            "key": "due",
            "label": "Due",
            "type": "date",
            "align": "left"
          }
        ],
        "rows": [
          {
            "id": "followups-row-1",
            "recordId": "followups-record-1",
            "cells": {
              "note": "Call back about the rooftop unit",
              "record": "WO-1042 Rooftop unit",
              "priority": {
                "key": "high",
                "label": "High",
                "tone": "danger"
              },
              "status": {
                "key": "open",
                "label": "Open",
                "tone": "warning"
              },
              "due": "2026-09-04T22:00:00Z"
            }
          },
          {
            "id": "followups-row-2",
            "recordId": "followups-record-2",
            "cells": {
              "note": "Call back about the rooftop unit - Follow-up",
              "record": "WO-1042 Rooftop unit",
              "priority": {
                "key": "in-review",
                "label": "In review",
                "tone": "primary"
              },
              "status": {
                "key": "in-review",
                "label": "In review",
                "tone": "primary"
              },
              "due": "2026-09-04T15:42:00Z"
            }
          },
          {
            "id": "followups-row-3",
            "recordId": "followups-record-3",
            "cells": {
              "note": "Call back about the rooftop unit - West region",
              "record": "WO-1042 Rooftop unit",
              "priority": {
                "key": "on-track",
                "label": "On track",
                "tone": "success"
              },
              "status": {
                "key": "on-track",
                "label": "On track",
                "tone": "success"
              },
              "due": "2026-09-04T12:18:00Z"
            }
          },
          {
            "id": "followups-row-4",
            "recordId": "followups-record-4",
            "cells": {
              "note": "Call back about the rooftop unit - Customer response",
              "record": "WO-1042 Rooftop unit",
              "priority": {
                "key": "scheduled",
                "label": "Scheduled",
                "tone": "warning"
              },
              "status": {
                "key": "scheduled",
                "label": "Scheduled",
                "tone": "warning"
              },
              "due": "2026-09-03T21:07:00Z"
            }
          },
          {
            "id": "followups-row-5",
            "recordId": "followups-record-5",
            "cells": {
              "note": "Call back about the rooftop unit - Regional operations review with a deliberately long title",
              "record": "WO-1042 Rooftop unit - This deliberately longer supporting line verifies wrapping, truncation, responsive spacing, and dense dashboard behavior.",
              "priority": {
                "key": "needs-attention",
                "label": "Needs attention",
                "tone": "danger"
              },
              "status": {
                "key": "needs-attention",
                "label": "Needs attention",
                "tone": "danger"
              },
              "due": "2026-09-03T16:31:00Z"
            }
          },
          {
            "id": "followups-row-6",
            "recordId": "followups-record-6",
            "cells": {
              "note": "Call back about the rooftop unit - Completed preview",
              "record": "WO-1042 Rooftop unit",
              "priority": {
                "key": "complete",
                "label": "Complete",
                "tone": "success"
              },
              "status": {
                "key": "complete",
                "label": "Complete",
                "tone": "success"
              },
              "due": "2026-09-02T19:14:00Z"
            }
          }
        ],
        "page": {
          "pageNumber": 1,
          "pageSize": 6,
          "totalRecords": 14,
          "totalIsExact": true,
          "hasMore": true
        }
      },
      "children": []
    },
    {
      "_id": "followups-timeline",
      "_type": "core.timeline",
      "props": {
        "title": "Follow-up activity",
        "hasMore": true,
        "items": [
          {
            "id": "followups-event-1",
            "recordId": "followups-record-1",
            "occurredUtc": "2026-09-04T17:58:00Z",
            "title": "Follow-up completed",
            "description": "Call back about the rooftop unit was marked done.",
            "actor": "You",
            "tone": "success"
          },
          {
            "id": "followups-event-2",
            "recordId": "followups-record-2",
            "occurredUtc": "2026-09-04T15:42:00Z",
            "title": "Follow-up completed - Follow-up",
            "description": "Call back about the rooftop unit was marked done. Updated two hours ago by the assigned owner.",
            "actor": "Avery Patel",
            "tone": "primary"
          },
          {
            "id": "followups-event-3",
            "recordId": "followups-record-3",
            "occurredUtc": "2026-09-04T12:18:00Z",
            "title": "Follow-up completed - West region",
            "description": "Call back about the rooftop unit was marked done. Related to three visible records at the Reno location.",
            "actor": "Sam Rivera",
            "tone": "success"
          },
          {
            "id": "followups-event-4",
            "recordId": "followups-record-4",
            "occurredUtc": "2026-09-03T21:07:00Z",
            "title": "Follow-up completed - Customer response",
            "description": "Call back about the rooftop unit was marked done. Waiting for an external response before work can continue.",
            "actor": "Maya Chen",
            "tone": "warning"
          },
          {
            "id": "followups-event-5",
            "recordId": "followups-record-5",
            "occurredUtc": "2026-09-03T16:31:00Z",
            "title": "Follow-up completed - Regional operations review with a deliberately long title",
            "description": "Call back about the rooftop unit was marked done. This deliberately longer supporting line verifies wrapping, truncation, responsive spacing, and dense dashboard behavior.",
            "actor": "Automation",
            "tone": "danger"
          },
          {
            "id": "followups-event-6",
            "recordId": "followups-record-6",
            "occurredUtc": "2026-09-02T19:14:00Z",
            "title": "Follow-up completed - Completed preview",
            "description": "Call back about the rooftop unit was marked done. Closed after review with its related evidence retained.",
            "actor": "Jordan Lee",
            "tone": "success"
          }
        ]
      },
      "children": []
    }
  ]
}

Copy/paste React composition

Copy InteractivePresentationComponents.tsx and its optional CSS from the Professional Foundation Developer Kit, then add this module-specific composition. It is semantic and unstyled by default; pass styled after importing interactive-presentation-components.css for the supplied polished foundation. Either version accepts only a bounded already-authorized document and fails closed through the shared strict parsers.

import {
  EntityList,
  MetricStrip,
  PresentationGrid,
  ProgressList,
  SeriesChart,
  Timeline,
} from "./InteractivePresentationComponents";

export interface FollowupsPresentationData {
  readonly metrics: unknown;
  readonly recent: unknown;
  readonly byStatus: unknown;
  readonly trend: unknown;
  readonly table: unknown;
  readonly timeline: unknown;
}

export interface FollowupsPresentationProps {
  /** Pass only the already-authorized presentation document returned by the API. */
  readonly data?: FollowupsPresentationData | null;
  readonly loading?: boolean;
  readonly error?: boolean;
  readonly styled?: boolean;
  /** Record identity is navigation context; the detail API must authorize it again. */
  readonly onOpenRecord?: (recordId: string) => void;
}

export function FollowupsPresentation({
  data,
  loading = false,
  error = false,
  styled = false,
  onOpenRecord,
}: FollowupsPresentationProps) {
  if (error) return <p role="alert">The Follow-ups presentation could not be loaded.</p>;
  if (loading || !data) return <p role="status">Loading Follow-ups presentation...</p>;

  return (
    <main className={styled ? "bwhq-api-example" : undefined}>
      <header>
        <p>Follow-ups</p>
        <h1>Follow-up queue</h1>
        <p>Open, due-soon, and overdue follow-ups assigned to you, grouped by the records they belong to.</p>
      </header>

      <MetricStrip data={data.metrics} styled={styled} />
      <div className={styled ? "bwhq-api-example__split" : undefined}>
        <ProgressList data={data.byStatus} styled={styled} />
        <EntityList data={data.recent} styled={styled} onOpenRecord={onOpenRecord} />
      </div>
      <SeriesChart data={data.trend} styled={styled} />
      <PresentationGrid data={data.table} styled={styled} onOpenRecord={onOpenRecord} />
      <Timeline data={data.timeline} styled={styled} onOpenRecord={onOpenRecord} />
    </main>
  );
}

Copy the live, authenticated module page

This document has no placeholder key and needs no invented endpoint. Save it to a page and add that page to a User Type menu. The registered native component calls /api/modules/followups, uses the current tenant session, and preserves the module's real list, detail, create/update, pagination, empty, loading, and error behavior. Dynamic Records discovers the organization's real tenant-owned modules when no module key is configured.

Copy the executable live page
{
  "blocks": [
    {
      "_id": "followups-live",
      "_type": "module.followups",
      "props": {},
      "children": []
    }
  ]
}

The server derives SaaS app, organization, user, DataRoles, locations, module-specific membership/privacy, and any AI-read gate from verified identity. A returned identifier can select a detail target, but the detail or write endpoint authorizes it again. Page layout, status, tone, totals, action names, and identifiers never grant authority.

Tip

Place it on a workspace page for a personal list, or next to a record list so it follows the selected record. Assigning only offers people who can already read the record; it never grants access.

Important

A renderer being bundled in the tenant application does not make its data visible in every app. The server returns only components and records authorized for the current app and signed-in user; unavailable or unauthorized blocks fail closed.

Capability review: 2026-09-14. See current features and setup requirements, the generated API Map and first-class module inventory.