A Chrome browser extension that pairs an LLM (Large Language Models) object designer with a full Salesforce inspector — build custom objects from natural language, then run SOQL, execute Apex, manage users, read debug logs and inspect your org without leaving the page.
Session handling builds on ideas from Salesforce Inspector Reloaded (MIT licensed — see LICENSE and THIRD-PARTY-NOTICES.md). SaralForce is an independent project by Bhajan Mandali and is not affiliated with, sponsored, or endorsed by Salesforce, Inc.
Describe what you want in plain English and the AI proposes the complete object — labels, API names, data types, required flags, picklist values, and Lookup/Master-Detail relationships. Keep chatting to refine it (“add a field for resolution notes”, “make Priority required”) and deploy when the visual preview looks right.
✨ Enhance Prompt turns a rough one-liner into a structured design brief before you send it: business purpose, key fields and their data types, expected record volume, relationships to standard objects, must-have vs. nice-to-have features, and security and sharing recommendations — with Accept / Discard controls.

After the proposal arrives, the Object Preview opens in Plan mode: edit the object label, API name, sharing model and every field inline, pick deployment-target profiles, then switch to Build to lock the plan and deploy.

Open the Inspector from the header (or the sidebar button) to reach every tool below. The last opened tab and scroll position are restored the next time you open the panel.
A two-column workspace: LLM assistant chip, row limit, run button, query history and saved queries on the left; the syntax-highlighted editor, colour-coded field explorer (with category pills) and results table on the right — no horizontal scrolling. Tooling API and Recycle Bin toggles switch the backing API per query. Click any ID cell in the results to open Show All Data for that record.
When Salesforce rejects a query, the extension asks the LLM for a ✨ Suggested fix: a plain-English explanation of what went wrong plus the corrected query, with Apply & Run and Copy buttons.

Execute anonymous Apex with a terminal-style editor: line numbers, syntax highlighting, Quick Templates, and saved/recent script chips. Choose the Log Level and Timeout, then Execute (or Ctrl+Enter) — or select a snippet and Execute Highlighted. Toggle Use AI to pre-check code before each run; compile errors get a suggested fix you can apply in one click. After a run, the Execution Results panel shows the debug log with event filters, a Debug-Only view, and the raw trace.

ApexLog rows for any user or Apex class in a chosen time window, with
trace-flag management built in.
Search and filter the org’s users by profile or role, then select one to inspect: full detail tabs (Details, Permission Sets, Groups, Profiles, Roles, Settings), recent Login IP addresses, and quick actions — Login As, Enable Logs (30-minute debug trace), Copy Id, and View in Salesforce. Community users get an Experience-site login picker when live sites exist.
Clone User walks through a two-step wizard — pick the source user and the components to copy (permission sets, groups, role), review the summary, then create the new user and its assignments. Reset Password sends the standard Salesforce password-reset email via the User password API.


ApexCodeCoverageAggregate, test-class
filtering, and a one-click test run with freshness polling.
Install directly from the Edge Add-ons store: SaralForce on Microsoft Edge.
The Chrome Web Store version is coming soon.
Clone or download this repository
cd sf-object-creator
npm install
npm run copy-react
chrome://extensions/addon subdirectory of this projectoptions.html from the extension)I want an object that captures payment transaction data including amount, status, payment method, and reference numbers
AI Output: Creates a Payment_Transaction__c object with fields:
Create a customer support ticket object that relates to Accounts and Contacts, with priority levels and assignment tracking
AI Output: Creates a Support_Ticket__c object with Lookup fields to Account and Contact, plus Priority picklist, Status picklist, and assignment fields.
After the initial proposal, you can say:
Add a field for the resolution notes and make the priority field required
The AI will update the proposal accordingly.
| Type | Description |
|---|---|
| Text | Short text (up to 255 chars) |
| Text Area | Multi-line text |
| Text Area (Long) | Very long text content |
| Number | Numeric values |
| Currency | Monetary amounts |
| Percent | Percentage values |
| Date | Date only |
| Date/Time | Date and time |
| Checkbox | Boolean true/false |
| Picklist | Single select from values |
| Picklist (Multi-Select) | Multiple select from values |
| Email addresses | |
| Phone | Phone numbers |
| URL | Web links |
| Lookup | Relationship to another object |
| Master-Detail | Required relationship to another object |
OpenAI, Anthropic Claude, Google Gemini, OpenRouter, and any OpenAI-compatible endpoint (OpenCodeZen, etc.) are supported. One configuration drives every AI feature — the object-builder chat, Enhance Prompt, SOQL query repair, Apex pre-check, and debug-log analysis.
N row(s)
counts, light-theme legibility fixes across the panelsf-object-creator/
├── addon/
│ ├── manifest.json # Chrome Extension Manifest V3
│ ├── background.js # Service worker (session + LLM proxy)
│ ├── inspector.js # Salesforce API layer (REST/SOAP)
│ ├── inspector-tools.js # Inspector tabs (Records, SOQL, Run-Apex, Users, Logs, …)
│ ├── object-creator.html/js # Main feature page (chat, preview, inspector shell)
│ ├── options.html/js # LLM provider settings
│ ├── button.js/css # Content script (injected into SF pages)
│ ├── sf-time.js # Shared time-zone helpers
│ ├── llm/
│ │ ├── llm-service.js # Provider abstraction + config
│ │ ├── openai.js # OpenAI adapter
│ │ ├── claude.js # Anthropic Claude adapter
│ │ ├── gemini.js # Google Gemini adapter
│ │ └── openai-compatible.js
│ ├── prompts/
│ │ └── system-prompt.js # AI prompt engineering
│ └── styles/slds/ # Salesforce Lightning Design System CSS
└── package.json
localStorage) and never sent anywhere except the LLM provider you configuredcookies: Read Salesforce session cookies for API authenticationstorage: Store LLM configuration and extension settings# Install dependencies
npm install
# Copy React files to addon directory
npm run copy-react
# Load in Chrome
# 1. Open chrome://extensions/
# 2. Enable Developer mode
# 3. Click Load unpacked
# 4. Select the addon/ directory
MIT License — see LICENSE. Session/auth code derives in part from
Salesforce-Inspector-reloaded (MIT © 2023 Thomas Prouvot); see
THIRD-PARTY-NOTICES.md for full attribution.