Branching and tags
Sending different emails to different people, and tagging them as they go.
A sequence does not have to treat everybody the same. Adding a condition splits it in two: contacts who match carry on down the Yes path, everyone else takes No. Each path has its own emails, waits, tags and ending, and a path can contain another condition inside it.
Adding a branch
- 1Press Add a step, or the + between two steps, and choose Condition.
- 2The path splits in two below it, Yes on the left and No on the right.
- 3Click the condition to choose what it asks.
- 4Use Add a step on either path to add steps to just that path.
Every path has its own +, and either side of a condition can be folded away with hide paths while you work on the other.
What a condition can ask
| Rule | Matches when |
|---|---|
| Opened the previous email | They opened the most recent email this automation sent them. |
| Clicked a link in the previous email | They clicked any link in it, or one whose address contains text you specify. |
| Has a tag | The contact carries that tag. |
| Is in a segment | The contact currently matches that segment. |
Every rule also comes the other way round — Did not open, Did not click, Does not have a tag, Is not in a segment. Somebody who was never sent the previous email has neither opened nor clicked it.
A condition can hold several rules. With more than one, choose All of these (every rule must match — and) or Any of these (one is enough — or). For example, Has the tag “membership: monthly” or has the tag “membership: annual” sends every paying member down Yes.
Segments are chosen from a list of the brand’s own segments — a condition is always evaluated against the contact’s brand, so another brand’s segment could never match. Tags are suggested from those already in use, and you can type a new one. A rule that cannot be answered — a segment that has since been deleted — counts as not matching, including when it is negated.
An unconfigured condition sends everybody down No. It is drawn with a dashed border until you set it, which is the warning that it is not yet doing anything.
Steps you can put on a path
| Step | What it does |
|---|---|
| Sends an email. Opens in a full-page editor, the same one campaigns use, with its own subject line and preview text. | |
| Wait | Pauses before the next step. |
| Condition | Splits the path in two again. |
| Add tag | Puts a tag on the contact, then carries straight on. |
| Remove tag | Takes a tag off, then carries straight on. |
| Coupon | Creates a coupon on your store for this contact, shown in a later email by the Coupon code block or by {{coupon}} in any text. The contact waits here until the code exists. Needs the Connect plugin, 1.23 or later, with coupons switched on. |
| Exit | Ends the journey here. Nothing after it runs. |
Coupons
A Coupon step asks your WooCommerce store, through Nectazo Connect, to create a code for that one contact: restricted to their email address so it cannot be shared, usable once, and expiring after the number of days you set. Put it before the email that offers it, then show it with the Coupon code block or {{coupon}}.
Connect checks Nectazo for coupons to make every 5 minutes, so a contact usually waits on this step for a few minutes. WordPress only runs scheduled work when somebody visits the site, so it can take longer on a quiet one. The next step does not run until the code exists.
- Discounts sets what the code takes off. The order it is used on is an ordinary WooCommerce coupon — on a subscription, that is the first payment only. A subscription's first payment and its renewals keeps the discount going, either for every renewal or for a number of payments you choose (counting the first). That needs WooCommerce Subscriptions, and applies only to subscription products.
- Works on limits the code to one product from your synced catalogue — an offer on your annual plan, say, that cannot be spent on anything else. If that product later leaves your catalogue, no coupon is made at all rather than one that works on everything, and the step's card says so.
- Not valid on subscription products, for a one-off discount, stops the code being used on a subscription — right for a shop discount, wrong for an offer on a membership.
- The expiry is how long they have to use the code, not how long the discount lasts once they have.
- Someone who already holds an unexpired code from another Coupon step keeps that one rather than getting a second, and {{coupon}} shows it.
- If no code can be made, the contact's journey stops at this step, so nobody is sent an offer with a blank where the code belongs. That happens when the store refuses the coupon, or has not collected the request after 24 hours because coupons are switched off or Connect is older than 1.23. Their journey shows the reason.
Tagging people as they go
Tags set inside an automation behave like any other tag — build a segment from them, target a campaign at them, or branch on them later in the same automation with a Has a tag condition. That last one is how a sequence remembers what somebody did earlier in it.
- Adding a tag someone already has does nothing, so passing the same step twice is safe.
- Removing a tag they do not have does nothing either.
- Tags are case-insensitive. “VIP” and “vip” are the same tag, stored in lower case.
Removing a condition
A condition has two paths and removing it can only keep one, so you are asked which. The other path’s steps are removed with it.
If the discarded path contains an email that has already been sent to somebody, Nectazo refuses to remove the condition — doing so would erase the record of who received that email. Delete those emails individually first if you really mean to.
Availability
Branching is included on Growth and above. Timed sequences without branching are on every plan, and an automation you already built keeps running if you move to a plan without branching — you simply cannot add another condition to it.
Something unclear or wrong? Tell us and we'll fix it.