Sub topic 5
Combine cue and action into an if-then plan
This chapter assumes you have already chosen one target habit, written a specific cue, and defined an action with a minimum version. Here you join the cue and the action into one sentence that you can follow without deciding anything in the moment. You do not need to run the Python example to follow the chapter, but it helps if you can read a short regular expression.
What an if-then plan is
An if-then plan is a sentence in the form "If situation X happens, then I do behavior Y." Psychologists call this an implementation intention. Peter Gollwitzer introduced the term in the 1990s to separate it from a goal intention.
- A goal intention states what you want: "I want to stretch every morning."
- An implementation intention states when, where, and how you will act: "If I pour my first coffee, then I put the mat on the floor and start stretching."
A goal intention leaves the key decisions open. You still have to notice that it is time, pick a moment, and choose what to do. An implementation intention makes those choices ahead of time, so the situation itself prompts the behavior. A 2006 meta-analysis by Gollwitzer and Sheeran, covering about 94 studies, found a medium-to-large average benefit for people who added if-then plans to their goals. Treat that as evidence that the technique tends to help, not as a promise for any single person or habit.
Why the sentence format matters
An if-then plan does two things.
- It links the cue to the action in memory. After you rehearse "if X, then Y", noticing X brings Y to mind more readily. You spend less effort remembering to act.
- It removes the decision. Without a plan, each morning you ask yourself whether to stretch now, later, or at all. With a plan, the question was already answered when you wrote it.
This is why the cue and the action need their own chapters first. The if-then sentence adds no new content. It only joins the two parts so that each triggers the other.
The anatomy of the sentence
A good plan has three parts.
| Part | Role | Example |
|---|---|---|
| If-clause | A cue that is specific, observable, and certain to occur | "If I pour my first coffee" |
| Then-clause | One concrete action, starting with the first physical step | "then I put the mat on the floor and start stretching" |
| Fallback | A reduced version for bad days (covered more fully in the obstacle chapter) | "If I wake up late, then I do the minimum version" |
Here is the plan as it appears in the one-page template. This block shows only the lines that belong to this chapter.
## Cue
After I pour my first cup of coffee, in the kitchen.
## Action
I will do one stretch routine: 5 minutes.
**Minimum version:** Touch my toes once.
## If-then plan
If I pour my coffee, then I put the mat on the floor and start stretching.The cue and the action are written once in their own sections. The if-then line then restates them as one sentence. That repetition is intentional. The sentence is the version you will read, say aloud, and rehearse.
How the plan runs
The diagram shows what should happen each day. The plan has no step where you decide whether to do the habit. The only branch is whether you do the full version or the minimum version.
Notice that the first step happens before the branch. Starting is the part the if-then plan is meant to secure. Once the mat is on the floor, choosing the minimum version is far better than stopping.
Writing the then-clause
The then-clause is where most plans fail quietly. Follow these rules.
- Start with a physical step. "Put the mat on the floor" can be done in seconds. "Be more flexible" cannot be done at all.
- Use one behavior. If the clause has three actions joined by "and", it is a routine, not a trigger. Pick the first action as the trigger and let the rest follow.
- Say what you will do, not what you will avoid. "If I feel stressed, then I will not snack" gives no behavior to start. Replace it with "If I feel the urge to snack at 3 p.m., then I drink a glass of water."
- Match the minimum version. The plan should still make sense on the worst day. If the then-clause only works when you have 30 minutes, it will fail on busy days.
Writing the if-clause
The cue chapter covered how to design a cue. For the sentence, check these three points.
- It must happen reliably. "If I have free time" may never occur. "If I sit down at my desk" occurs every workday.
- It must be noticeable. An event such as "I pour my coffee" is easy to spot. A vague state such as "I feel motivated" is not.
- It must come before the action, not after. "If I finish stretching, then I stretch" is circular. The cue must be something other than the habit.
You can anchor the cue in time ("at 7:00 a.m."), in place ("when I enter the kitchen"), or in another action ("after I pour my coffee"). An existing action is usually the strongest anchor because it already happens without effort. Time cues work, but you may miss them if you are absorbed in something else.
Weak and strong versions
| Weak plan | Problem | Strong plan |
|---|---|---|
| "I will stretch more." | Not an if-then plan. No cue. | "If I pour my first coffee, then I put the mat on the floor." |
| "If I have time, then I stretch." | The cue may never occur. | "If I finish brushing my teeth, then I touch my toes once." |
| "If it is morning, then I exercise." | Neither part is specific. | "If I pour my coffee, then I do 5 minutes of stretching." |
| "If I feel stressed, then I won't snack." | The action is an avoidance. | "If I feel the urge to snack, then I drink a glass of water." |
| "If I get home, then I change, run, and shower." | Three actions in the then-clause. | "If I get home, then I put on my running shoes." |
Checking a plan with code
This optional Python snippet checks a sentence against the rules above. It is a crude check, not a judge of quality, but it shows that the rules can be applied mechanically. It uses only the standard library and runs as shown.
import re
PLAN_PATTERN = re.compile(
r"^if\s+(?P<cue>.+?),\s*then\s+(?P<action>.+?)\.?$", re.IGNORECASE
)
VAGUE_CUES = [
"in the morning",
"when i have time",
"if i have time",
"i have time",
"i feel",
"later",
"whenever",
"every day",
]
NEGATIVE_WORDS = ["not", "never", "stop", "avoid"]
def check_plan(sentence):
"""Return a list of problems found in an if-then sentence."""
match = PLAN_PATTERN.match(sentence.strip())
if not match:
return ["Not in the form 'If <cue>, then <action>.'"]
cue = match.group("cue").lower()
action = match.group("action").lower()
problems = []
for phrase in VAGUE_CUES:
if re.search(rf"\b{re.escape(phrase)}\b", cue):
problems.append(f"Vague cue: '{phrase}'. Name an observable event.")
for word in NEGATIVE_WORDS:
if re.search(rf"\b{word}\b", action):
problems.append(f"Action contains '{word}'. State what you will do instead.")
return problems
plans = [
"If I pour my first coffee, then I put the mat on the floor.",
"If I have time in the morning, then I will exercise more.",
"If I feel stressed, then I will not snack.",
"I will stretch more.",
]
for plan in plans:
result = check_plan(plan)
print(plan, "->", result if result else "OK")The first plan passes. The second is flagged for two vague cue phrases, "in the morning" and "i have time". The third is flagged for "i feel" in the cue and "not" in the action. The fourth does not match the if-then form at all. A pattern check cannot tell whether a cue truly occurs every day. You still have to judge that yourself.
Common errors
- Writing the plan but never reading it. The link between cue and action strengthens through rehearsal. Read the sentence aloud when you write it, and again for the first several days.
- Packing in too many plans. One habit gets one primary if-then sentence, plus a few fallbacks. Many competing cues dilute each other and make the page hard to use.
- Choosing a cue that conflicts with another plan. If two plans share the same cue, you must pick one at that moment. That brings back the decision you were trying to remove.
- Treating the plan as a promise of willpower. If-then plans help most when the goal is already one you want. They are less likely to rescue a goal you do not care about.
- Never changing it. If the cue fails repeatedly, the sentence needs rewriting. Revise the sentence during the weekly review rather than blaming yourself.
When an if-then plan helps less
An if-then plan works best for actions that are clear, brief, and tied to a recurring situation. It is weaker in these cases.
- The action depends on a changing situation. Examples are "exercise when the weather is good" or "write when inspiration comes". Use a stable cue, and treat the variable condition as an obstacle plan.
- The real barrier is not remembering. If you already remember but do not want to do the habit, a better cue will not fix it. Revisit the action size, the reward, and the friction in the environment, which later chapters cover.
- The behavior is a complex skill. An if-then plan can start a practice session, but it cannot make the session go well.
Practice
Write your own if-then plan before moving on. Use the cue and action you defined in the earlier chapters. Then check it against this list.
- It starts with "If" and contains "then".
- The cue is an event that you can observe and that happens on most days.
- The action begins with a physical first step.
- The action contains one behavior and no avoidance words.
- It still makes sense when you do only the minimum version.
Exercise
A learner writes "If I have time after work, then I will go for a run and stretch and meditate." Name two problems with this plan and rewrite it so that it fixes both.
Show answer
First, the cue "if I have time" may never occur, so it is not a reliable event. Second, the then-clause holds three behaviors (run, stretch, meditate), which is a routine and not a single trigger. A better plan: "If I walk through my front door after work, then I put on my running shoes." The cue is an observable event that happens on workdays, and the action is one physical first step. The learner can add a minimum version, such as "walk to the end of the street", for days with little energy.
Exercise
Why does the plan "If I feel stressed, then I will not snack" tend to work poorly, and what would you change?
Show answer
The then-clause names something to avoid, not something to do, so it gives no concrete first step when the cue happens. The cue "I feel stressed" is also a vague internal state that is hard to notice reliably. A stronger version names a specific, observable trigger and a replacement action, for example "If I feel the urge to snack at my desk, then I drink a glass of water."