Engineering notes
Building a native survey app on Salesforce
The hard, under-documented platform problems we hit building AutoSurvey — and exactly how we solved them. Written for the admins and developers who run into the same walls.
-
Apex Flows Metadata API
Quadrupling backslashes: hand-generating Salesforce Flow XML with REGEX formulas in Apex
July 1, 2026
A REGEX formula in a hand-serialized Flow needs four backslashes in the Apex source to land one at the formula parser. A single backslash deploys as
Read the write-up →field integrity exception: ... Syntax error, with no line number and no pointer. Here's the four-layer escaping chain, a transformation table you can count against, and why only a deploy proves it. -
Experience Cloud Flows Guest user
How to run a Salesforce Flow as an Experience Cloud guest user (the safe way)
June 25, 2026
Spring '23 quietly removed the "Run Flows" permission from guest profiles and replaced it with a granular per-flow model. The result: guests get denied at flow interview creation, while authenticated users work fine — so the regression hides in plain sight. Here's the complete, least-privilege fix, including the one setting whose name suggests the opposite of what it does.
Read the write-up →
More coming — including programmatic metadata deploys from an LWC wizard, and a look back at the spreadsheet-to-Flow generator we ultimately retired. Want a heads-up when they land, or to compare notes? Get in touch.