"A lead / booking disappeared from the app"
The mobile Lead Inbox only loads leads created in the last 30 days — by design, there's no history view in the app. An older lead, and any booking attached to it, is simply not loaded; nothing has been deleted. (Before 2026-09-02 it loaded only the newest 100 leads, which hid leads within days at busy accounts.) Exception (2026-10-08): a lead an agent added by hand ("Add a lead", below) stays loaded for as long as it's open, however old.
"Bookings are showing under the wrong person"
When someone schedules a call or visit, the "assigned to" picker now defaults to the person scheduling it (fixed 2026-09-02). It used to default to the account's oldest user — usually the Owner — so a booking made without changing the picker landed under them. Older bookings created that way can be fixed by opening the job in the app (Jobs → tap the booking) and changing the assigned-to person.
"A lead stopped replying — is the AI broken?" (added 2026-09-30)
Not a bug if the lead was flirty, suggestive, or otherwise not actually asking about the business — the AI recognizes that and stops instead of replying to every follow-up. Flirting or inappropriate/adult requests: one decline, then the lead is closed right away. Chat that just wanders off your services: one friendly redirect, and if the person keeps going off-topic, one short final line, then closed (so at most two replies). After a close like this, if the same person messages again the AI stays silent for 24 hours rather than restarting — the message is still saved on the lead and visible in the inbox, so a team member can answer it personally if it looks like a real request; the AI itself won't reply until the window passes. A normal "Closed - Not Interested" close from an agent is not affected by this and still reopens instantly, same as always. Applies to every customer automatically, no setting to find. See the Notion "Bot & Spam Protection" page (2026-09-30 update) for the full mechanics.
"Agents want to track customers they handle on their own WhatsApp / by phone" — Add a lead (added 2026-10-08)
In the Lead Inbox, the + button next to the search bar lets any team member log a lead by hand (name + phone, where it came from, optional note; Owner/Admin can assign it to a teammate). These are tracking-only: LeadHub never messages the customer, the AI stays off for the life of the lead (no "AI" status option, no Enable-AI swipe), nothing auto-closes it for being quiet, and the agent moves the status themselves (Booked / Completed / Lost). Scheduling an appointment on it sends no confirmation text, and there is no message box until the customer writes in. If the customer later messages the business number (SMS or WhatsApp), the message lands on the same lead (no duplicate), the agent gets a "Customer replied" push, and the lead becomes a normal SMS/WhatsApp lead so the agent can reply from the app — the AI still stays off. A lead that was already Completed/Lost is not reused: that customer starts a fresh lead and the AI handles it as usual. The same phone number can't have two open leads (the app opens the existing one). Source shows as "Added by agent" in the customer dashboard until the customer writes in. Native iPhone/Android app: the + button arrives with the next store release (the web app/PWA has it now). Built across the SMS + WhatsApp webhooks, the follow-up job, the inbox function and the app; leads.manualOrigin is the lifetime marker.
"Can agents leave a private note on a lead?" — Internal notes (added 2026-10-08)
Yes. In any conversation the message box has a Reply | 📝 Note toggle. A note shows in the thread as a yellow "Internal note" bubble with the author and time, between the messages. It is never sent to the customer and the AI never sees it (notes live in their own table, lead_notes, not in messages, so the AI history, list previews, unread dots and the follow-up job's "agent touched it" check are unaffected). No push notification. Anyone who can see the lead can read and add; the author or an Owner/Admin can delete (no editing). On a lead the agent added by hand, the note box replaces the reply box — notes are how the agent keeps that sale's history — and the note typed on the Add-a-lead form becomes its first note. Native iPhone/Android: arrives with the next store release (web app/PWA has it now).
"How long has this lead been in its status?" / "Who changed this status?" — Status history, timers, chips (added 2026-10-08)
Every change of a lead's status or label is recorded by database triggers on leads (so the AI, both webhooks, the follow-up job and the inbox app are all covered — no per-function code) into lead_status_history: from → to, label names as they were at the time, when, and who. An agent's change carries their name (the inbox routes stamp statusChangedAt/By); anything else is "Automatic". leads.statusChangedAt is the clock. In the app: a timer next to each row's status badge (neutral → amber at 3 days → red at 7; none on Completed/Lost), a "Status history" timeline in the lead's ⓘ details, and a row of chips with counts under the tabs — Assigned and Won only, each as a parent chip plus the customer's own labels in that bucket (Won is where post-sale follow-up happens; there is deliberately no Lost chip — Lost leads are under the Closed tab) — plus a "Longest first" sort. History started 2026-10-08 — older leads show no timer until their next change, and there is no backfill. Deleting a label clears it from leads but does not reset their timers or log a change (handled in the trigger), and renamed/deleted labels keep their name in old history entries. If a history write ever fails, the lead update still goes through (a warning is logged). Chip counts cover the leads the app loads (last 30 days + open agent-added leads), not all-time. Labels reload in the app every ~5 minutes. Native iPhone/Android: arrives with the next store release.
"Can agents send videos / audio files?" — Video + audio attach (added 2026-10-08)
Yes, on Facebook, Instagram and WhatsApp (not SMS). The attach button takes a photo, a video or an existing audio file; voice recording is unchanged. Limits: video MP4/MOV up to 25 MB on Facebook and Instagram; WhatsApp takes MP4 only (H.264 + AAC) up to 16 MB. Audio files: M4A/AAC/WAV up to 25 MB on Facebook/Instagram; M4A/AAC/MP3/AMR up to 16 MB on WhatsApp. Files are checked in the app first (clear message with the size and limit) and again on the server. Nothing is shrunk — a too-big video needs a shorter or lower-quality recording. Most common support case: an iPhone video on WhatsApp — iPhones can record in a format WhatsApp rejects; the fix is Settings → Camera → Formats → Most Compatible, then re-record (or send it on Facebook/Instagram). Sent and received videos play inline in the conversation. The WhatsApp 24-hour rule applies to video like photos. Stored in the same private bucket with the same 30-day cleanup (a weekly sweep), so storage tracks about one month of video. A WhatsApp video can be accepted by the send step and still fail later at WhatsApp's end (unlike Facebook/Instagram, which reject immediately) — if a customer says they never got one, suspect the format first. Native iPhone/Android: arrives with the next store release.
"How do reps keep track of after-sale work (e.g. a gift card 25 days after activation)?" — After-sale tasks (added 2026-10-08)
The customer sets up a short list in their dashboard: Settings → After-sale tasks (Owner/Admin only) — each task has a name, "due after N days" and optional instructions. In the Lead Inbox app, right after a rep marks a lead Won a skippable sheet offers that list; each task the rep picks is due today + its days (customer's timezone, so the timer starts at the pick, not at the activation — the rep can change a task's date). Nothing is created automatically. Two kinds of task (added 2026-10-09): Follow-up (a lead still being worked: "Call back · 1 day") and After-sale (after Won). Every new business gets a default follow-up set (Call back 1d, Send quote or details 2d, Check in 3d, Final follow-up 7d) the first time the task list is loaded — only for businesses created on/after 2026-10-09, and only once (deleting them stays deleted; marker customers.taskDefaultsSeededAt). Older businesses get them with the dashboard button Add the default follow-up tasks; after-sale tasks always start empty. The app offers the follow-up list when a rep applies a label in the Assigned bucket that maps to status Assigned (the default "Follow-up" label) and the after-sale list on Won; + Add task on a lead offers both. Each task row shows its kind and the lead's current status. A lead with an open task is never auto-closed by the 48h "assigned and forgotten" rule in ai-followup-cron (the only place tasks touch that job — tasks themselves use no cron). Moving a lead along the steps (e.g. Activation → Trade-in → Gift card): in the Tasks tab the rep swipes a task left (or taps ⋮) → Change to another task (marks the current one done and starts the chosen one with a fresh clock = today + its days) or Complete task (done, and the lead leaves the Tasks list). There is deliberately no tick circle — a task is only ever finished by Change or Complete, so a lead can't fall off the list halfway through its steps. A small "Added by mistake? Delete" link deletes a task with no record. The Tasks tab lists open tasks only; finished ones stay as history in the lead's ⓘ details, where "+ Add task" also works on an already-closed lead (the app only loads leads from the last 30 days, plus leads with an open task, so a closed lead older than that can't be opened to add one). The order of steps isn't enforced — the rep picks the next one. Reminders are in the app only: a banner at the top of the inbox with today's/overdue tasks (tick to finish, tap to open the lead) and a Tasks tab (Overdue / Today / Upcoming, last 7 days done; Owner/Admin can switch to Everyone). No push, no email, no scheduled job — "due" is worked out in the app from the customer's local date. The tab and banner only appear once a customer has added a task type or a lead has a task. Editing or deleting a task type never changes tasks already on leads; the same type can't be open twice on a lead; open tasks follow the lead if it is reassigned; a lead with an open task stays in the inbox list however old it is. Data: task_types (catalog), lead_tasks (the tasks). Native iPhone/Android: arrives with the next store release (web app/PWA has it now).
"Can my agents call the customer from the app?" / "Where did the Call button go?" — Call button (added 2026-10-09)
Every lead with a real phone number gets a green Call button in the chat header (next to ⓘ) and in the lead's ⓘ details, plus Log a call there. It is a plain tel: link: the agent's own phone places the call (their own carrier, minutes and caller ID) — LeadHub is not in the call, can't hear or record it, and there is no per-minute cost to us or the customer; no phone-system integration exists. The button only shows when the number is 7–15 digits; ~84% of recent Facebook/Instagram leads have no phone stored, so those leads have no button until the customer shares a number (a Messenger/Instagram ID is never treated as a phone). The "How did it go?" prompt: tapping Call leaves a small marker in the phone's local storage; when the app has been in the background 4+ seconds and comes back (within 3 hours) it asks Reached / No answer / Left voicemail / Wrong number + an optional note, saved as an internal note on the lead ("📞 Call: No answer") through the normal notes route — so it shows in the thread, never reaches the customer, and, like all notes, does not count as the agent "touching" the lead for the cron rules. A quick back-out (iOS Cancel, Android dialer closed in a couple of seconds) shows nothing; Skip drops it. Calls never change status, AI pause or timers. Admin switch: dashboard → Settings → Calling (Owner/Admin only, enforced in customer-dashboard PATCH /settings) writes customer_settings."callButtonEnabled" (default true; all customers ON); inbox GET /account returns it as callButtonEnabled, and the app hides both buttons when it is false (the flag loads with the lead list, so a change shows up at the next refresh). Not built: automatic call duration or a call-history list (the notes are the log), dial pad for arbitrary numbers, in-app calling over the internet. Native iPhone/Android: arrives with the next store release (web app/PWA has it now).
"A website-form lead got a text / the AI answered it / nobody was assigned" / "How does Globomark's quote form work?" — Rep-contact form leads (added 2026-10-09)
Each directory listing has directory_listings."contactMode": AI (default — the original flow: visitor ticks "Text me" → automatic first text → AI conversation) or REP (Globomark only, set by SQL; no dashboard toggle). In REP mode directory-lead-submit (v21) sends the customer nothing (no first text, no email), inserts the lead as ASSIGNED, aiPaused=true, source LEADHUB_DIRECTORY (attribution kept) with manualOrigin='WEBSITE_FORM' — the same lifetime marker agent-entered leads use, so AI stays off for life, the 48h stale auto-close skips it, it stays visible past 30 days, and reopening keeps the same agent — and pushes the assigned agent (send-push with userId). Who gets it: the same rotation as AI auto-assign (longest since last assignment), but only if the customer's autoAssignEnabled is on; in "detailed" mode it uses the LEADHUB_DIRECTORY agent list if one exists, otherwise the SMS list (the grid has no "Website form" column). With nobody eligible the lead stays NEW/unassigned and the account's push mode decides who is told. Code: _shared/form-lead.ts (+tests). What the rep sees: the visitor's answers are in leads.qualifyingAnswers (wireless: lines, provider, device, reference code; note = their own words) and the channels they ticked in leads.contactPreferences (text / whatsapp / call / email); the answers are also inserted as the lead's first message (messages row, INBOUND, channel WEB_FORM — a value added to the MessageChannel enum for this) so every app version, including the native 1.6 that has no new screens, shows them the moment the lead opens; the channel is what stops it counting as the customer writing in (the send block and the app's tracking-only check both ignore WEB_FORM) — it adds one to the analytics "messages received" count per form; the app also shows a Website request card (channels asked for + Text / WhatsApp / Call / Email buttons; it repeats the answers only for leads without that message) that open the rep's OWN apps (sms:, wa.me, tel:, mailto:). Text is only offered when the visitor ticked Text (the only gated channel — user decision); the others always show, requested ones highlighted. The "how did it go?" prompt after a tap is saved as an internal note. Send block: while the lead has no INBOUND message, inbox returns 409 TRACKING_ONLY on any send and skips the job-confirmation text. If the customer later texts/WhatsApps the business number: twilio-webhook v105 / whatsapp-webhook v89 attach it to the open form lead (the normal lookup only matches source SMS/WHATSAPP and would otherwise start a second, AI-run lead) — source is NOT changed; once an inbound exists the agent can reply. The public page (leadhubai-site _listing.html, wireless category only): Text me (no "fastest response"/RECOMMENDED), WhatsApp me with its own disclosure (stored with the lead in qualifyingAnswers.whatsappConsent, with timestamp and IP), Call me, Email me; the page's own Text us / WhatsApp us buttons open an empty message (so the hidden "(ref: …)" directory-attribution marker no longer rides along on wireless pages). The "under 60 seconds" line in the form subhead is still there and is not true in this mode. Same change fixed lh_src=meta_ads leads failing to save (the enum had no META_ADS). Not built: dedupe if the same person submits twice, a "Website form" column in the assignment grid, an internal-dashboard toggle for contactMode. Native iPhone/Android: card and buttons arrive with the next store release (until then the lead shows the service line, and the push text carries the requested channels).
"The AI kept talking after the lead was assigned" / "an assigned lead still shows a PENDING follow-up" (added 2026-10-08)
Check the lead's Status history (lead ⓘ details) first — it shows who changed the status and when, and it settles most of these. The usual causes: (1) a team member picked "AI" in the status menu (or swiped Enable AI) — that deliberately hands the lead back to the AI; the history shows "Assigned → AI" with their name. It's easy to tap by accident; picking Assigned again turns the AI back off. (2) A scheduled AI follow-up still showed as green PENDING after assignment. Fixed 2026-10-08: assigning (Assign to me / Assign to…) and the Assigned/Qualified statuses now cancel pending AI follow-ups straight away. Before that they stayed listed until the follow-up job dropped them at send time — so nothing was ever sent, but it looked like the AI was about to. (Case: Ulises Ribera, Globo Mark, 2026-10-08 — every AI reply was before the 18:49 UTC assignment; the agent had toggled AI on for ~2 minutes herself.)