ForceLens turns a raw Apex log into the exact order Salesforce ran your transaction — every trigger, flow, and query — then explains it with the AI model you already pay for.
Every other tool makes you set up a Trace Flag, run your code, switch tabs, and dig for the log. ForceLens collapses that entire ritual into a single button — then hands you the analysis. This is the part no one has built before.
It sets the trace flag for you, captures every log as it fires, groups them live, and drops them in a panel you can open — analyzed — without ever leaving your page.
Manage and customize Salesforce from Setup.
| Name | Type |
|---|---|
| Prit Sakhvala | User |
| SFDC_DevConsole | Debug Level |
| Asset Layout | Page Layout |
| OpportunityTrigger | Apex Trigger |
ForceLens is not "just a log viewer." It reconstructs execution, reads Flows like an expert, runs on the AI model you choose, and keeps every session on your machine.
Plug in Claude, GPT-4o, Groq or OpenRouter. Calls go straight to the provider, the key never leaves your browser, and we never see a token. No subscription tax on intelligence.
Anthropic Claude — deep reasoning over long execution traces.
ForceLens rebuilds Salesforce's true order of execution from the log: before/after triggers, validation, flows, workflow, roll-ups. The thing every architect draws on a whiteboard, now drawn from your actual run.
The same Flow, analyzed as a Developer, a Business Analyst, a QA engineer, or a Security reviewer — each lens surfaces what that role actually cares about, then hands you a ready .docx report and an AI prompt to go deeper.
Developer lens — null-handling, bulkification, fault paths, and DML inside loops.
Your last 200 analyzed sessions stay in local storage — searchable by org or log ID, reopenable in one click, and never sent to a server. Close the tab, come back tomorrow, pick up exactly where you left off.
No copying log IDs. No downloading files. No new tab to babysit. ForceLens quietly places one button exactly where your eyes already are — and the moment you click it, your log is open and understood.
An "Inspect Log" link sits right beside View · Download · Delete — exactly where your cursor already lives. One click and you're inside.
No log ID hunting
Already staring at one log in Setup? "Inspect Log" appears next to Download and Delete — so the deep view is one click away, not a workflow away.
No downloading files
A pinned "Inspect with ForceLens" button rides the console's log tab strip. Stay in your flow — no closing the console, no context switch.
No context switch
Three places you already go. One button waiting in each. That's the whole idea — ForceLens meets you where you are.
Click through all 12 lenses — including Order of Execution and AI Pulse — to see exactly how your transaction is structured and explained.
No more squinting at a maze of boxes on a canvas. Click once and ForceLens reads the whole Flow, scores its health, and writes it up — the way the right expert would explain it to you.
"Analyze Flow" and "Copy AI Prompt" appear right in Flow Builder — no export, no setup.
Zero setup
Watch it parse every element, decision, loop, and fault path in real time.
Nothing missed
Developer, Business Analyst, QA, or Security — each lens scopes the findings to that role.
Made for your role
A health score, a ready .docx write-up, and an AI prompt to go even deeper.
Done in seconds
The extension costs nothing. Capturing logs, reconstructing the order of execution, and reading your Flows are always free and run entirely on your machine. The only thing you ever pay for is your own AI provider — and only if you choose to use the AI features.
Straight answers before you install — on cost, safety, and exactly what runs where.
No catch. The extension is free to install and use. Log capture, order-of-execution reconstruction, and Flow analysis all run locally at no cost. AI explanations use an API key you supply, so you only ever pay your own provider for what you actually use.
Your debug logs are parsed in your own browser and stored only in your local browser storage. ForceLens has no server that receives or holds your logs. The only outbound calls are the ones you explicitly trigger — AI requests that go directly from your browser to the provider whose key you configured.
A key is only needed for the AI-powered explanations. Everything else — Smart Capture, the execution tree, SOQL/DML and limits views, and Flow analysis — works without any key at all. When you're ready for AI, plug in Claude, GPT, Groq, or OpenRouter.
It works wherever you read Apex debug logs — sandboxes, developer orgs, and production — across both Lightning Experience and Classic, plus the Developer Console and Flow Builder.
Your API key is stored locally in your browser and is sent only to the AI provider it belongs to, on requests you initiate. Logs stay local unless you send a snippet to your chosen AI for explanation. ForceLens never routes either through a server of its own.
Salesforce shows you a raw, line-by-line log. ForceLens reconstructs the true order of execution — triggers, flows, validation, queries and limits — captures logs in one click, reads Flows through expert lenses, and explains it all with the AI model you choose. It's an intelligence layer, not just a viewer.
Install free, point it at any sandbox, dev org, or production environment, and get answers in under five seconds. Secure, local, and powered by the AI key you already own.