Admin Guide

This document is for Business Detonator staff only. Enter the access password to continue.

Incorrect password. Contact rob@businessdetonator.com

New Administrator Guide

Day-to-day operations reference for Business Detonator staff. System internals are in the in-app System Reference tab (admin login required).

1 — BD System Overview

Business Detonator is a 4-layer automated marketing SaaS:

LayerWhat It DoesWhere It Lives
BD HubWeb platform — client login, dashboard, content review, admin panelbusinessdetonator.com
n8nAutomation engine — runs content generation, scrapers, schedulers. Calls Claude AI. Posts results to BD Hub via API.Hetzner server (internal)
HostMDSFile & image storage — all client images, static pages, formsfiles.businessdetonator.com
GHLPublishing destination — blog, social posts, email deliveryGoHighLevel (per-client sub-account)

The flow: Client profile → n8n generates content using Claude AI → BD Hub content queue → client approves → publishes to GHL.

2 — Client Lifecycle

StageStatus in DBWhat's ActiveWhat Triggers Change
Trialtrial14 days OR 12 UCCM runs. Auto-suspends when limit hit.Form submission → auto-provision
ActiveactiveFull access per plan. Weekly content, Hot Topics (Builder+), Competitor Monitor (Builder+).Stripe payment confirmed
SuspendedsuspendedLogin blocked. All automation paused.Trial expired, payment failed, or admin action
Trial limits: 14 calendar days OR 12 UCCM runs — whichever hits first. The trial-gate API checks before every run. When expired, the account auto-logs out on next page load.

3 — Admin Panel Tour

/admin.php — System Overview

/admin-hub.php — Active Client Management

/command.php — Command Center

4 — Onboarding a New Client

When a client submits the onboarding form, the system auto-provisions them. Here's what to verify:

1
Form submitted — Client fills onboarding form. Submission stored at files.businessdetonator.com/view-submissions.php.
2
n8n fires — Onboard workflow receives form data and calls /api/provision-client.php.
3
Auto-provisioning — Creates user record (status=trial), seeds 9 default prompts, creates client config, starts trial window, sends admin notification.
4
Admin notification — Check /admin.php Overview tab watchdog within 60 seconds of submission.
5
Verify — Confirm user record exists, trial initialized, prompts seeded (9 rows). Peek as User to confirm their dashboard loads.
6
Send welcome — Email temp password + login URL. Follow up to ensure they complete their profile (check health score).
Google Sheet required: Client needs a Google Sheet ID configured for UCCM to run. Check bd_client_configs.google_sheet_id in admin. If blank, content generation will fail silently.

5 — Content Management Tasks

Approve content on behalf of a client

Admin panel → admin-hub.php → Peek as User → /content-review.php → approve, edit, or reject. All actions are scoped to that client.

Edit a client's AI prompts

Admin panel → Prompts tab → search by client → edit any of the 9 content type prompts. Changes take effect on the next UCCM run. Prompts are never visible to clients.

Trigger a manual UCCM run

POST to /api/trigger-uccm.php with token and client_slug. Bypasses the Sunday schedule for immediate content generation.

Check why content isn't appearing

6 — Common Issues & Fixes

SymptomLikely CauseFix
Client not seeing contentTrial expired, or UCCM hasn't run yetCheck trial_usage + n8n execution log. Trigger manual run if needed.
Content sounds genericProfile incomplete or default prompts not customizedCheck health score. Edit client prompts in admin Prompts tab.
n8n health shows red in adminn8n process crashedSSH to Hetzner → check Docker containers → restart.
Client can't log inAccount suspended or wrong passwordCheck bd_users.status in DB. Reset password via admin.
Duplicate content appearingDedup check not runningCheck /api/dedup-check.php. Verify content_topics_used entries for that user.
Stripe events not updatingWebhook secret mismatchCheck STRIPE_WEBHOOK_SECRET in config.php. Test via Stripe dashboard.

7 — Quick Reference

PageURLWho Uses It
Admin Overview/admin.phpDaily check — stats, watchdog alerts
Client Hub/admin-hub.phpManage active clients, peek as user
Command Center/command.phpMRR, pipeline, system health
System Guide/admin/guide.php (in-app)Full system internals, API ref, DB schema
Submission Viewerfiles.businessdetonator.com/view-submissions.phpAll form submissions (pw: BDmaster2026!)
Onboarding Formfiles.businessdetonator.com/onboard/new-client.htmlGeneric client onboarding
Need system internals? Log into businessdetonator.com/admin/guide.php for the full System Reference tab — infrastructure map, n8n workflow IDs, API reference, DB schema, and deployment checklist.