If you use workflows to route inbound leads and rely on a goal to say “this lead’s handled”, watch out for this one.
The Problem: We’d set up two routing workflows for a professional services client: one for leads that come in out of hours, one for the working day. Reps didn’t want tasks and pings landing at 11pm, and changing everyone’s notification settings wasn’t going to happen. Both workflows used “Contact owner is known” as the goal, which seemed sensible. Once a lead has an owner, job done, right? Not quite. Follow-up tasks stopped appearing, and some leads woke up with a different owner to the one they’d gone to bed with.
At Hatchi Digital, we rebuilt the routing so each lead gets one owner and one follow-up, always inside working hours.
Testing showed two separate issues, both down to the goal. In the working-hours workflow, the owner was assigned partway through. The second that happened, the goal was met, the contact was unenrolled, and the task and notification steps after it never ran.
The overwriting was sneakier. Out-of-hours leads were also enrolling in the working-hours workflow and sitting there until 9am. Overnight, the out-of-hours workflow had already given them an owner. Then morning came and the working-hours workflow handed them to someone else.
Fix one was stopping the double enrolment. The out-of-hours workflow now ends with a “Go to workflow” action into a working-hours workflow that has no enrollment trigger of its own. It only runs 8am to 6pm, with a branch per rep and a one-hour delay for the rep who starts later.
Fix two was getting rid of the owner-based goal. A timestamp property now marks every contact that’s been through the out-of-hours workflow, and that’s what drives unenrolment. Each workflow also excludes contacts the other one is handling.
Every lead now gets an owner once, and the follow-up always fires during the rep’s day. The thing I’d stress for anyone building something similar: a goal pulls the contact out the instant it’s true, even mid-workflow. If the goal property gets set halfway through, everything after that point is skipped, so pick something that marks the very end of the process.
How are others handling out-of-hours routing? Anyone using round robin with business hours instead?