Round Robin assignment of CSMs on Company Object (once deal stage passes)

Hello Hubspot Community!

I’m trying to create a workflow automation to automatically assign a Company to one of our Customer Success Managers once the stage of a deal has passed a certain point. The steps themselves are relatively straight forward, but having trouble building the workflow to trigger across two different objects and with the following parameters.

Pre Step:

- Define Company custom field - Customer Success Manager (we don’t want to use the Company Owner static field)

Workflow Steps:

1) Deal passes Stage (Closed - Won)

2) Customer Success Manager Field in Company Object associated to the Deal automatically triggers and populates with a user based on a List (our customer success manager roster)

Requirements and Parameters:

- I would want the system to check if the Company object already has this field populated. If it is already populated, there should be no change over overwriting (scenario: upsell / expansion / new deal on same Company record)

- If i have a roster of multiple CSMs, I would like the assignment to be done in a round robin style so that assignments are divvied up fairly

- There is no requirement for location / timezone / geography etc.

Thanks for your help on building this workflow!

Hi @BLeung6,

You could leverage any company property that is automatically updated upon winning a deal on the company object, such as:

  • Recent deal amount: the value of the last associated deal closed as won. This is set automatically by HubSpot.
  • Recent deal close date: the date of the last associated deal closed as won. This is set automatically by HubSpot.

In other words, your company-based workflow could do the following:

  1. Enrollment based on ‘When filter criteria is met’ → ‘Recent deal close date is known’ AND ‘Customer Success Manager Field is unknown’
  2. Enable re-enrollment for ‘Recent deal close date is known’
  3. Use ‘Rotate record’ workflow action to rotate company between your customer success managers: Assign ownership of records

If these users do not have an assigned paid seat, as an alternative, you could also use a random split (which requires Marketing Hub Professional or Enterprise). Use branches in workflows

If you have neither, then another approach could be with a custom code action (Operations Hub Professional) that assigns a random number, before you branch based on that number.

Let me know if you have any follow-up questions!

PS. It sounds like your customer success manager field is an owner property and not a regular single-line text or dropdown. If it is not, I would strongly recommend you re-create it with the property type “HubSpot user”.

Thank you @karstenkoehler - Very helpful I will try this solution and reach out if I have any blockers or questions! Appreciate your help

Hi @karstenkoehler

Thank you - your suggestions were very helpful. However I had a follow up question with a bit of a twist:

Let’s say our goal changed, and we want to assign a Pre-Sales engineer to the Company Object, once a Deal Stage is updated. So a this would involve a trigger on the Deal property → making an update to a Company property.

Example Desired Outcome:

  1. Lead is qualified and passed to AE
  2. AE meets with the prospect and creates an associated Deal with the Deal Stage property set to: Demo Call
  3. AE then moves Deal Stage property to: Technical Demo
  4. Workflow recognizes that Deal Stage property is set to Technical Demo, and triggers the following actions (Essentially what you helped with before)
    1. Check Company user property: Pre-Sales Engineer is unknown
    2. If unknown, Round Robin from a list of selected Pre-Sales engineers
    3. If known, no action

Essentially, the outcome is the same as my original question, but the main difference is that I want to trigger on a property that isn’t shared between the Deal and Company objects. Hope this makes sense and thanks for your help and input if this is possible or not!

Actually I think I am able to link different objects together as triggers - so should be the same flow as above just with a different selection on the object