Learn

What is a decision table?

In short

A decision table is a grid of conditions and outcomes: each row is a rule, read as "if these fields match, set these values", and a system checks a record against the rows in order and applies the first one that fits. It turns business logic into data a non-developer can read and edit, instead of code buried in an application.

Most businesses carry a pile of small rules in someone’s head: if the deal is over a certain size, route it to a senior rep; if the postcode starts with a certain prefix, assign the regional team; if the industry field says one thing, fill in the standard rate for it. A decision table is what happens when those rules get written down in a shape a computer can check.

Rows, columns and order

A decision table has condition columns (what to check) and outcome columns (what to set). Each row is one rule. When a record is checked, the system walks the rows in order and stops at the first one that matches, which is why row order matters: specific rules usually sit above a broad fallback row that catches everything else.

  • Condition columns read values already on the record: a field, a status, a count.
  • Outcome columns write values: fill in a field, set a flag, apply a default.
  • A fallback row with no conditions catches records that match nothing more specific.

Why tables beat hard-coded rules

Writing the same logic directly into an application means a developer has to change code every time a business rule changes. A table separates the two: the rules live as rows someone can edit, read and reorder, and the system that evaluates them stays the same.

How GuardenerAI handles it

  • Automation’s enrichment rules are decision tables: a record is checked on save, and the first matching row fills in fields automatically, alongside validation rules and duplicate rules that run at the same moment.
  • See what is data enrichment for what gets filled in and why.
  • Workflows can also chain steps, including AI agent steps, started from a chat command, the AI assistant, or the API; see the CRM for where enriched records end up.
Try it in GuardenerAI → Free plan, no card.

Related terms

Every term in Learn →

The CRM that
grows with you.

Cultivate visibility. Guard growth.