Skip to main content
Home does not generate anything itself. It reads suggestions, drafts, to-dos, and calendar events that other parts of Klipy already produced, then filters and orders them into five cards. This page covers that assembly logic — what feeds each card, what decides its ordering, and when it’s gated off entirely. For how a suggestion, draft, or meeting brief is itself produced, see the linked deep-dives at the end.

What decides which areas render

KlipyBriefingPanel (app/(app)/(home)/_page.tsx:96-208) gates the whole page on three signals before it renders any card. First, whether you have a Nylas grant at all. With nylasGrants loaded and empty, the entire briefing area is replaced by a single cold-state message (_page.tsx:156-169) — nothing below renders. Second, calendar validity. With every connected calendar invalid, CalendarConnectionEmpty replaces Meeting brief and Next up, but Needs review and Rest of day still render below it (_page.tsx:178-185). With some (not all) calendars invalid, a dismissible reconnect banner appears above the cards instead (_page.tsx:173-175). Third, the onboarding import job. isImportRunning is true only while nylasImportJobs.getImportProgress reports the job incomplete and not FAILED (_page.tsx:105-112). It does not key off suggestion count, so a caught-up user with zero suggestions is never mistaken for one still mid-import. While it’s true, a ghost silhouette replaces Needs review specifically; Next up, Meeting brief, and Rest of day are unaffected (_page.tsx:190-203). The greeting line switches on whether a meeting is happening now. It shows "<name>, let's get you ready" when currentEvents.length > 0 and calendars are valid, and a time-of-day greeting otherwise (_page.tsx:151).

Needs review: what qualifies, and in what order

NeedReviewCard (app/(app)/(home)/(components)/need-review.tsx) runs three queries (need-review.tsx:129-133). todos.queries.listMyDue uses a dueBefore set to one business day past end of today. agentSuggestions.queries.list returns every suggestion with status: "suggested", scoped by by_user_status. agentDrafts.queries.listMyDue returns every suggested draft. Those three sources feed one combined gamePlans array (need-review.tsx:143-189):
  • Suggestions pass through suggestionInDueDateGamePlanFilter — it drops anything snoozed past today (remindAgainDate in the future), then keeps every record-update suggestion (update contact/deal/company/todo, add interaction note) regardless of due date, and requires a dueDate for everything else (components/agent-suggestions/utils/record-update-suggestion-types.ts:19-29).
  • Urgency for a suggestion comes from defaultUrgencyForGamePlan: its own urgency field if set, otherwise "high" for a record-update suggestion and undefined for anything else (record-update-suggestion-types.ts:31-36).
  • Drafts are included only when they carry a dueDate and aren’t snoozed past today (need-review.tsx:154-157).
  • To-dos skip any task that already has a matching mark_todo_done suggestion, to avoid listing the same item twice (need-review.tsx:162). An overdue to-do is forced to "critical"; one due tomorrow is bumped to "high" unless it’s already higher; anything due later is dropped from this card entirely (need-review.tsx:163-171).
The combined list is filtered down to urgency === "critical" || "high", then sorted by urgency first and soonest dueDate second (need-review.tsx:175-188). A medium- or low-urgency suggestion can exist and still never appear in Needs review. Zero items after that filter renders the “You’re all caught up” empty state instead of the card (need-review.tsx:191-210). The card shows the first 3 items and a “Show N more” toggle for the rest (need-review.tsx:244-262). It opens automatically (showSome) only when there’s no current meeting and no upcoming meeting to show above it (_page.tsx:201); otherwise it starts collapsed.
Klipy never applies a suggestion or sends a drafted message from Home without your approval. Clicking Review opens the same approval step as the Suggestions and Drafts queues elsewhere in Klipy.

Rest of day: the same pool, the opposite filter

RestOfDayCard (app/(app)/(home)/(components)/rest-of-day.tsx) runs the same three query shapes, with two differences (rest-of-day.tsx:48-66). Its to-do window extends to two business days out. Every suggested suggestion is eligible regardless of due date — the record-update-only carve-out from Needs review doesn’t apply here. Its to-do loop keeps the inverse of Needs review’s filter (rest-of-day.tsx:68-79). It skips anything overdue or due today or tomorrow, and keeps everything else. That includes a to-do with no dueDate set at all, which falls through to the same branch. The combined list is then filtered to urgency !== "critical" && urgency !== "high" (rest-of-day.tsx:81-94). This card keeps the opposite urgency band from Needs review: medium, low, or unset. The card lists today’s remaining calendar events first, or a “This is your focus time” note when there are none (rest-of-day.tsx:146-158). Below that, a collapsed “When you have a moment” row names the filtered gamePlans count. Expanding it reveals the same suggestion and to-do cards Needs review uses (rest-of-day.tsx:159-193). The card itself auto-expands only when no meeting is in progress right now (_page.tsx:203).

Next up: chaining back-to-back meetings

getUpcomingBackToBackEvents (app/(app)/(home)/utils.ts:4-45) decides which meetings land in Next up. It sorts today’s remaining events by start time, then finds the first one starting within 90 minutes (utils.ts:12-21). Anything further out yields an empty chain and no Next up card at all. From that first event, it keeps chaining forward (utils.ts:28-42). The next event joins the chain if it overlaps the previous one, or starts within 30 minutes of it ending. The chain stops at the first gap wider than that. A lone event that isn’t part of any chain still shows, as long as it hasn’t already started (utils.ts:43). NextUpCard (app/(app)/(home)/(components)/next-up.tsx) re-filters that chain to events at least a minute from starting, or not yet ended (next-up.tsx:25-27). It renders a back-to-back banner whenever more than one event remains (next-up.tsx:32-36). Between two chained events, it labels the gap: OVERLAP for a negative gap, and BACK-TO-BACK under 10 minutes (next-up.tsx:70-89). A wider gap shows a plain minute count, styled progressively calmer as it grows. Only the soonest event expands by default (next-up.tsx:101).

Meeting brief: which meeting, and when it loads

Meeting brief shows only for currentEvents — a meeting starting within 30 minutes or already running (_page.tsx:139-144). Each qualifying event renders as its own CurrentEventCard; with exactly one, its brief expands by default (meeting-brief.tsx:45-52). A brief also auto-expands and scrolls into view when the page loads with a ?brief=<meetingId> query parameter (meeting-brief.tsx:37-38, 117-125). That’s the link a “Prep before meetings” delegation email sends. Both the default-expand and deeplink paths fire a meeting_brief_viewed_in_app funnel event exactly once per card, guarded so the two paths can’t double-count the same mount (meeting-brief.tsx:79-116). MeetingBriefPanel (app/(app)/(home)/(components)/meeting-brief-sections.tsx:397-427) only queries meetings.queries.getMeetingBrief while the card is expanded — a collapsed card never fires the read. The query is scoped by (userId, organizationId, meetingStartTime), never userId alone (convex/domains/meetings/queries/getMeetingBrief.ts:14-21, 32-44). That scoping keeps a rescheduled meeting’s stale brief from leaking into the new occurrence: the query resolves to null instead. The panel then reads “No briefing yet” rather than showing the wrong plan. A result of undefined (still loading) renders a skeleton instead. Every section the panel renders — attendees, deal, company, agenda, qualification questions, gaps, risks — is present-only (meeting-brief-sections.tsx:361-365). An empty array or absent block renders nothing, never an empty heading. How the brief’s content itself gets generated — the meeting.starting_soon trigger, the confidence levels, the attendee-role classification — is Meetings’ mechanism, not Home’s. See How does Klipy’s meeting pipeline work under the hood?.

Limits worth knowing

What this does not do

Home never decides what a suggestion, draft, or brief should say. It only reads what the owning pipeline already produced, and applies its own display filters on top. It never merges or re-ranks across sources beyond the urgency-then-due-date sort described above; a suggestion’s urgency is set once, upstream, before Home ever sees it.
Klipy never auto-sends a message or applies a CRM write from Home. Every drafted send and every suggestion waits for your approval, in Suggestion mode and Auto mode alike.

Home overview

See what each area of the home screen is and when it appears.

How do I use my Klipy home screen?

Work through Needs review, check Next up, and open a meeting brief.

How does Klipy's meeting pipeline work under the hood?

How the pre-meeting brief itself gets generated, and its confidence levels.

What does Klipy suggest, and when?

Every suggestion type, and how Suggestion mode and Auto mode change what lands in your queue.
Last modified on September 14, 2026