Hackathon prototype

Hackathon prototype

GTM Meeting Brief

A Salesforce meeting brief for Opportunity records, built as a hackathon prototype.

Problem

Preparing for a customer meeting means gathering CRM context by hand. A brief generated from the Opportunity can give a starting point.

My contribution

  • Built the prototype with native LWC, Apex and NVIDIA NIM.
  • Used CRM context to generate meeting objectives, questions and risks.
  • Implemented asynchronous generation with status polling, and kept model settings in Custom Metadata.
  • This is a hackathon prototype, not a production feature.

Design

Illustrative reconstruction of the general pattern using synthetic data. It is not a description of any production design or employer code.

  1. User requests a brief
  2. Apex gathers Opportunity context
  3. Async job calls the model endpoint
  4. LWC polls generation status
  5. Brief displayed when ready
  • Asynchronous generation keeps the interactive request short while the model call runs in a separate transaction. Apex callout timeouts still apply to that call.
  • Model settings are kept in Custom Metadata so they can change without code.

Tradeoffs

Design tradeoffs
ChoiceBenefitCost
Async generation with pollingKeeps the interactive request short; generation runs in a separate transactionApex callout limits still apply (120 seconds cumulative), and polling adds complexity
Model settings in metadataSwap models without deploymentSettings need access control
Generated text as a draftHonest about model limitsUsers must review before relying on it

Demonstrated behavior

Planned demo (not yet built)

  • A synthetic opportunity producing a brief via a mock model provider

See the planned demo: GTM Meeting Brief

Technologies

  • LWC
  • Apex
  • Queueable Apex
  • Custom Metadata
  • NVIDIA NIM