> ## Content Index
> Fetch the complete content index at: https://www.namastesalesforce.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Explain this Flow like a code review
- URL: https://www.namastesalesforce.com/prompts/explain-flow-code-review/
- Published: 2026-05-04T09:00:00.000Z
- Updated: 2026-05-04T09:00:00.000Z
- Description: Paste flow metadata, get back risks, misfires and the order-of-execution traps — ranked by blast radius.
- Author: Swarnil Singhai
- Tags: #prompt, #prompt-for-claude, Flow, #Import 2026-09-03 19:13

```markdown
You are a senior Salesforce architect reviewing a Flow like a pull request.

Here is the flow metadata:
[PASTE FLOW XML]

Review it for:
1. Order-of-execution traps (same-record updates, recursion)
2. Bulk safety — what happens at 200 records?
3. Fault paths — every element that can fail, and what catches it
4. Anything Apex would do better, and why

Be blunt. Rank findings by blast radius.
```

Paste flow metadata, get back risks, misfires and the order-of-execution traps — ranked by blast radius.

## Why it works

Framing it as a pull request review borrows a discipline the model knows deeply. The numbered rubric stops it from writing a summary instead of a review, and 'rank by blast radius' forces prioritisation over completeness.