08 · Energy
One questionnaire engine, any process
Business teams kept asking for new questionnaires: go/no-go gates on early deals, ESG screens, a regulatory checklist on big opportunities. I built one data-driven engine instead. Questions, chapters, answer types and scores live as records, and the page renders whatever they say.
- Client
- Builds power and grid equipment for utilities worldwide
- Built with
- Salesforce
- Lightning Web Components
- Apex
- Visualforce PDF
- Lightning Message Service
Screens
Rendered from the real code with made-up data.

A bid go/no-go questionnaire: chapters down the left, scored single-choice questions, rich-text guidance and a help tip.

A later chapter with a multi-select question, a single-choice question and a choice that also takes a comment.

The summary step: a generated PDF with a color-coded score for each chapter and a total score.

The same component set up as a three-chapter ESG questionnaire with open answers and no scoring, with no code changes.
What it changed
- 01
One engine runs three questionnaires, from a go/no-go gate to a regulatory checklist, with no code changes between them.
- 02
Five answer types, scored per option. A multi-select takes its lowest score, so one red flag is never averaged away.
- 03
The go/no-go chapter rolls up to a 0 to 100% score that is written to the project only after the user confirms it.
How it fits together
- Built by me
- Platform or outside system
- People
More of my work
See allContact
Need something like this built?
I take on full-time roles and focused projects. Email is the fastest way to reach me.
- Email[email protected]
- LinkedInin/seanbfoster
- LocationOrlando, FL · Remote