For the complete documentation index, see llms.txt. This page is also available as Markdown.

Use Conditional Logic

Learn how to control template output with RENDER statements. Start with the tutorial, move to task-based guidance, then use the reference pages for syntax and examples.

Use this section when you need to control template output with RENDER statements.

Conditional logic lets you show or hide text, clauses, and sections based on Salesforce data.

Use it when one template needs to adapt to record values instead of branching into multiple template versions.

Start with the tutorial if you are new to RENDER. Use the how-to guide for common build patterns. Use the reference when you need exact syntax, operators, and structure.

Start with the path that fits your goal

If you are learning conditional logic for the first time, start with the Quick Start tutorial.

If you already know the output you need, jump to the how-to guide.

If you need exact behavior details, use the Developer's Hub reference.

Conditional Logic Tutorial

Learn the core render pattern, null checks, AND and OR logic, and common starter examples.

Conditional Logic (How-to)

Jump to task-based guidance for render syntax, nesting, and common template use cases.

Conditional Logic Reference

Use the reference for exact operators, syntax rules, and structural details.

What you can do with conditional logic

  • show or hide sections based on field values

  • combine equality, null, AND, OR, and contains checks

  • nest conditions when output depends on earlier logic

  • keep one template flexible across multiple record states

Browse by topic

Last updated

Was this helpful?