How-to · Workflows & Automation
How to Use If/Else Branches in GoHighLevel Workflows
If/Else splits a workflow into paths based on conditions. Learn how branches, conditions, and the None path work, with three practical patterns you can copy.
What you'll do
- If/Else checks conditions and sends each contact down the first branch that matches.
- Contacts that match no branch go down the None (else) path.
- Conditions can be combined with AND and OR, and checked against contact, opportunity, appointment, and message data.
- Test every branch, including None, with a prepared test contact.
An If/Else action in a GoHighLevel workflow checks one or more conditions and sends each contact down the first branch that matches; anyone who matches nothing goes down the None branch. Use it to route by tags, custom fields, lead source, replies, or time of day, so one workflow can treat different contacts differently.
Before you start
- A workflow open in the builder, with the data you'll branch on already being captured. You can't branch on "service requested" if no form or action fills that field.
- Know exactly how the data is stored: tag spelling, field values, dropdown options. Open a real contact and look.
- A test contact you can change to match each branch.
How If/Else works
| Piece | What it means |
|---|---|
| Branch | A named path with its own conditions, such as "Residential" |
| Condition | A single test: "Contact tag includes roof-repair" |
| Segment (AND/OR) | Groups of conditions combined with AND (all true) or OR (any true) |
| None branch | Where contacts go if no branch matches |
| Evaluation order | Branches are checked in order; the first match wins |
Build a branch
- Add the If/Else action at the point where paths should split. Why: everything above it is shared; everything below belongs to a branch.
- Name the first branch for its audience ("Has phone", "Commercial lead").
- Add the condition. Pick the data type (contact details, tags, opportunity, appointment, and so on), the field, the operator ("is", "includes", "is empty", "greater than"), and the value.
- Add more conditions with AND or OR if needed.
- Add further branches for other cases, most specific first.
- Save, then add actions under each branch, including the None branch. Why: an empty None branch is fine if you want those contacts to stop, but decide that deliberately.
Three patterns to copy
1. Channel check
Branch "Has phone": phone is not empty → send SMS. None branch → send email only. This prevents failed SMS actions on email-only leads.
2. Business hours
Branch "Open": current day is Monday–Friday AND current time is between 8:00 and 17:00 → "we'll call you in a few minutes." None → "we're closed, we'll call first thing." Check that your sub-account time zone is right; time conditions depend on it.
3. Replied or not
After a Wait with a reply condition, branch "Replied": the contact replied → tag and notify the owner. None → send the next follow-up. This is the backbone of most nurture sequences.
Rejoining paths: branches don't automatically merge. If two branches should continue with the same steps, put those steps in one branch and use a Go To action at the end of the other branch to jump to them, or move the shared steps into a separate workflow and use Add to Workflow from both.
Branch on data captured moments earlier
Timing trips people up. If a form fills a custom field and the If/Else runs a fraction of a second later, the data is normally there. But if the field is filled by a different workflow or an integration, it may arrive after the If/Else has already run. When branching on data from another system, add a short Wait (a minute or two) before the If/Else, and test with the real integration.
Test it
- List every branch, including None.
- Set your test contact up to match the first branch, run the workflow, and confirm the path in the execution history.
- Remove the contact from the workflow, change the contact to match the next branch, and run again.
- Finish with a run that matches nothing, to prove the None branch behaves.
The testing tutorial has a full checklist.
Common mistakes
- Tag typos. "Roof-Repair" and "roof-repair" may not be treated the same way. Standardise on lowercase.
- Wrong branch order. A broad branch first ("has any tag") catches everyone before the specific branch gets a chance.
- Using "is" when you need "includes". For multi-value fields and tags, "is" can fail where "includes" works.
- Forgetting the None branch. Contacts silently end there with nothing happening.
- Deeply nested branches. More than two levels deep becomes impossible to test. Split into separate workflows.
What to build next
- Pair branches with wait steps to build reply-aware sequences.
- Let contacts skip ahead when they convert with goal events.
- See branching in an industry build: real estate workflows split buyers and sellers.
Frequently asked questions
Can If/Else check whether a contact replied?
Yes, the common approach is a Wait step with a reply condition followed by an If/Else that checks whether the contact replied. Some versions let you check reply content too.
How many branches can an If/Else have?
You can add multiple branches to one If/Else. Contacts go down the first branch whose conditions match, so order branches from most specific to least specific.
Can branches join back together?
Use the Go To action to jump from the end of a branch to a step elsewhere in the workflow, which lets separate paths rejoin a shared set of steps.
Why does everyone go down the None branch?
The condition probably doesn't match how the data is stored: a tag with different spelling, a field that's empty at that moment, or a value with different capitalisation. Check the contact record at the time the If/Else runs.