Skip to content

samargo3/demo-igniters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Demo Igniters - Salesforce Demo Repository

A comprehensive collection of Salesforce demo components, agents, flows, and integrations for showcasing enterprise capabilities.

Salesforce Lightning Apex


πŸš€ Quick Start

# Clone the repository
git clone https://github.com/samargo3/demo-igniters.git
cd demo-igniters

# Install dependencies
npm install

# Authenticate to your Salesforce org
sf org login web --alias my-demo-org

# Deploy metadata
sf project deploy start --target-org my-demo-org

πŸ“¦ What's Included

🎯 Latest Feature: Proforma Resource Forecasting ⭐ NEW

Complete resource planning and profitability analysis tool for opportunities.

  • Custom Objects: Resource_Forecast__c with Master-Detail to Opportunity
  • LWC Component: Professional inline-editable grid for resource management
  • Validation: Stage gate preventing Closed Won without resource forecasting
  • Auto-Calculation: Real-time profitability and margin calculations
  • Test Coverage: 98.7% (exceeds 75% requirement)

πŸ“š Documentation:


πŸ€– Agentforce Demos

Deal Desk Agent

AI-powered deal desk automation for contract analysis and approvals.

Employee FAQ Agent

Conversational AI for employee questions and knowledge base.

MSA Analysis Agent

Master Service Agreement analysis and insights.

Account & Contract Agents

Framework Documentation:


πŸ’‘ Einstein Features

Einstein Lead Scoring

Predictive lead scoring with high-quality demo data.


πŸ”„ Flow Automation

Declarative automation for common demo scenarios.


πŸ“Š Opportunity Management

Opportunity Files & Insights


πŸ“ˆ Reports & Analytics

Custom reports and dashboards for demo scenarios.


🎨 Lightning Web Components

Recommended Next Product

Account page component for product recommendations.

Proforma Manager

Resource forecasting and profitability calculator.

  • See Proforma documentation above

Jira Integration Button

External system integration demo component.


πŸ”§ Integrations & Tooling

MCP (Model Context Protocol) Servers

Connect AI assistants to Salesforce and GitHub.

  • MCP Setup
  • MCP Walkthrough
  • Salesforce MCP Server (SOQL, Apex, Metadata Deploy)
  • GitHub MCP Server (Issues, PRs, Code Search)

GitHub Setup

Prompt Builder

AI prompt templates and data providers.


πŸ“ Demo Scripts & Guides

Client-Specific Demos

General Demo Guides

Use Case Documentation


πŸ› οΈ Development

Prerequisites

  • Node.js 18+
  • Salesforce CLI (sf)
  • Authenticated Salesforce org
  • Git

Project Structure

demo-igniters/
β”œβ”€β”€ force-app/main/default/       # Salesforce metadata
β”‚   β”œβ”€β”€ classes/                  # Apex classes
β”‚   β”œβ”€β”€ triggers/                 # Apex triggers
β”‚   β”œβ”€β”€ lwc/                      # Lightning Web Components
β”‚   β”œβ”€β”€ objects/                  # Custom objects & fields
β”‚   β”œβ”€β”€ flows/                    # Flow definitions
β”‚   └── ...
β”œβ”€β”€ scripts/                      # Node.js scripts
β”‚   β”œβ”€β”€ import-leads-bulk.js
β”‚   β”œβ”€β”€ generate-products.js
β”‚   β”œβ”€β”€ create-demo-flow.js
β”‚   └── ...
β”œβ”€β”€ data/                         # Sample data & CSVs
β”œβ”€β”€ mcp/                          # MCP server implementations
β”‚   └── salesforce-mcp-server.js
β”œβ”€β”€ specs/                        # Agent specifications
└── docs/                         # Additional documentation

Useful NPM Scripts

# Lead generation
npm run leads:quick              # Quick lead generation
npm run leads:tech               # Tech industry leads
npm run leads:healthcare         # Healthcare leads

# Product generation
npm run products:quick           # Quick product generation
npm run products:tech            # Tech products

# Flows
npm run flow:create              # Create demo flows
npm run flow:deploy              # Deploy flows

# SOQL queries
npm run soql:count               # Count leads
npm run soql:qualified           # Get qualified leads

# MCP Server
npm run mcp:start                # Start Salesforce MCP server

# Demo setup
npm run demo:setup               # Complete demo setup
npm run demo:seed                # Seed demo data

πŸ“š Documentation Index

By Feature Area

Agents & AI

Sales & Revenue

Automation

Integration & Tools

Demo Execution


πŸ§ͺ Testing

Run Apex Tests

# Run all tests
sf apex run test --test-level RunLocalTests --target-org my-demo-org

# Run specific test class
sf apex run test --tests ProformaManagerControllerTest --target-org my-demo-org

# With code coverage
sf apex run test --test-level RunLocalTests --code-coverage --target-org my-demo-org

Test Coverage

Component Coverage Status
ProformaManagerController 96% βœ…
OpportunityResourceValidationHandler 100% βœ…
OpportunityFileRetriever 95%+ βœ…
PromptBuilderDataProvider 95%+ βœ…

πŸš€ Deployment

Deploy to Scratch Org

# Create scratch org
sf org create scratch --definition-file config/project-scratch-def.json --alias my-scratch

# Deploy metadata
sf project deploy start --target-org my-scratch

# Assign permissions
npm run demo:permissions

# Seed data
npm run demo:seed

Deploy to Sandbox/Production

# Deploy specific metadata
sf project deploy start --metadata CustomObject:Resource_Forecast__c --target-org my-sandbox

# Deploy with tests
sf project deploy start --test-level RunLocalTests --target-org my-sandbox

# Validate deployment (no actual deployment)
sf project deploy start --test-level RunLocalTests --target-org my-prod --dry-run

πŸŽ“ Learning Resources

Salesforce Documentation

Related Resources


🀝 Contributing

This is a demo repository. For questions or improvements, create an issue or contact the maintainer.


πŸ“ž Support

For technical questions or demo setup assistance:

  • Review the documentation guides
  • Check the troubleshooting sections in specific guides
  • Consult the Demo Playbook

πŸ“… Recent Updates

January 15, 2026

  • βœ… Added Proforma Resource Forecasting feature
  • βœ… Fixed GitHub MCP server configuration
  • βœ… Updated Salesforce MCP server to SDK v1.x
  • βœ… Comprehensive documentation updates
  • βœ… UI improvements and bug fixes

πŸ“„ License

This is a demo repository for Salesforce demonstrations and training purposes.


Built with ❀️ for Salesforce Demos

About

A comprehensive toolkit for creating advanced Salesforce demo presentations. Features automated data generation, AI capabilities, deployment scripts, and step-by-step guides to help teams deliver compelling demo experiences.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors