Resolve the prospect first
Start with a verified company domain from your CRM or a rep’s selection. If the flow begins with a work email, use Brand by email and let the rep confirm the result. Similar company names, subsidiaries, and platform-hosted pages can otherwise produce the wrong branding. Keep the sender and prospect as distinct identities:Gather branding and selected facts
On your server, use an API key from the Quickstart to retrieve the Brand profile. Use Styleguide only when the template needs additional design context. Read selected about or product pages as Markdown, or use a bounded Extract request. For example, the following body asks only for public product context:Extract request body
urls_analyzed and the retrieval time with the result. Before approving a fact for the demo, inspect the relevant page and retain its supporting URL or excerpt. The source list does not automatically provide field-level citations.
A full-site crawl should not be required to preview a demo. Let an unavailable page remain missing, and keep a neutral theme and editable company name when brand data is partial.
Keep website evidence and CRM history distinct
Public website text can support a description of a product. Your CRM can support a rep’s meeting notes or a stated next step. Neither source should silently overwrite the other.demo-model.ts
approvedFacts means facts checked against their source for this revision. Keep their IDs tied to content or a source version so a changed claim cannot inherit an old approval. Rebuilding creates a draft while preserving design and headline edits; it does not silently update an already-shared demo.
Populate the product demonstration
Use the configuration to select and fill components you control. A model can suggest which product features to highlight, but its output should reference approved fact IDs and a fixed list of available demo sections. Do not infer the prospect’s budget, purchase intent, goals, customer relationships, or results from its branding. Keep sample accounts, transactions, metrics, and testimonials visibly illustrative unless the rep supplied approved real data. In the preview, show the sender and recipient labels, the source links behind account facts, and controls to replace the logo or edit the copy. Keep internal CRM notes out of the shared payload unless the rep intentionally selects content appropriate for the recipient.Save and share the reviewed revision
Persist the configuration and source-bundle version with your CRM account ID. A share action should select an approved revision and create the appropriate application link or export. Email sending, CRM updates, access controls, and link expiry belong to your application. Try one complete prospect profile, one missing logo, a failed product-page read, and an edited headline. Regenerate the demo and verify that edits survive, unsupported claims remain absent, and the shared version stays unchanged until a new revision is approved.Lead enrichment
Save company and person context without replacing rep edits.
Branded documents
Render the approved meeting brief as a report or deck.