Skip to content
Tutorials Center
My learning

Topics

Lesson 27 of 37 ยท Automation and Workflows

Sequences and Record Rotation: Fair Lead Routing

Learn how HubSpot sequences automate one-to-one sales follow-up, how rotation assigns records fairly, and how capacity and availability affect routing, with runnable simulations.

Two automation tools often get mixed up. Workflows run in the background on records. Sequences are for salespeople: a planned series of personal emails and tasks sent from a rep's own inbox, which stop when the prospect replies. This lesson covers sequences and the companion skill of rotating records so every rep gets a fair share of leads.

HubSpot cannot run here. The Python code is a stand-in for the logic of rotation and enrollment. Sequences need a paid Sales Hub or Service Hub seat; sending limits depend on the plan, so check your account.

What a sequence is

Create one under Automation > Sequences (in Sales Hub, the Sales menu). A sequence is a list of steps with delays between them:

  • Automatic email (sent at the scheduled time),
  • Manual email (a task to review and send),
  • Task (call, LinkedIn message),
  • Delay between steps, usually in business days.

Example: Day 0 intro email, Day 2 call task, Day 5 follow-up email, Day 9 breakup email.

Settings control send windows (send only on weekdays, certain hours), a unenroll when rule, and which steps are skipped on weekends. A contact is unenrolled automatically when they reply, book a meeting through your meetings link, or when the rep unenrolls them. Unsubscribed contacts, those who opted out, and contacts with invalid emails cannot be enrolled. Each rep connects their inbox so messages come from them and replies land in their own mailbox and the CRM.

A sequence in 9 days

Day 0 Intro email
Day 2 Call task
Day 5 Value follow-up
Day 9 Breakup email

A reply ends the sequence

1 / 2

Planning the schedule

Steps are measured in business days. The stand-in below turns a plan into dates, skipping weekends.

Python Plan sequence dates in business days

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Unenrolling on reply

Python Stop the sequence when someone replies

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Rotating records

A Rotate record to owner workflow action assigns records to a list of users in turn (round-robin). When a new lead arrives and the workflow runs, it gives the lead to the next person. Options let you restrict rotation to users who are available (working hours, or users not marked away), set a team, and keep an existing owner if there is one. Combine it with a branch for regions: "if country is Germany, rotate among the DACH team."

Fairness matters: a pure round-robin ignores capacity. A rep with 80 open leads should not get a new one at the same pace as a rep with 10.

Python Round-robin versus capacity-aware routing

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

HubSpot's rotation action does not itself balance by open workload; if you need that, a custom code action or a property updated by a workflow can approximate it. Verify current options in the workflow editor.

Sequences versus workflows

Sequence Workflow
Who owns it One rep, one-to-one The system, at scale
Emails sent from Rep's connected inbox Marketing email tool
Stops when Contact replies or books Goal, unenrollment, end of steps
Best for Prospecting, follow-up Nurture, assignment, housekeeping

A good pattern is to let a workflow enroll qualified contacts in a sequence after assigning an owner, so the right rep sends the right message. Related: lead scoring handoff.

Etiquette and compliance

  • Respect unsubscribes and applicable email law (for example consent rules in your target countries).
  • Personalize with real research; tokens alone read as spam.
  • Keep sequences short; four to six touches is plenty.
  • Review reply and bounce rates monthly.

Check your understanding

Quick check ยท 3 questions

of 3 answered You scored / 3 ยท perfect!

  1. 1. When does a sequence stop for a contact?

    Reply and meeting-booking detection prevent follow-ups to someone already engaged.
  2. 2. Which action assigns records to owners in turn?

    The rotate action is HubSpot's round-robin assignment step.
  3. 3. Why can plain round-robin be unfair?

    Equal turns do not mean equal workload.

Summary

  • Sequences are rep-owned multi-step follow-up that stops on reply.
  • Steps use business-day delays and send windows.
  • Rotation assigns records fairly; add availability and capacity thinking.
  • Workflows and sequences work best together.

Next: Dashboards and Single-Object Reports