CRM

LMichael
Participant

Workflow to Set Contact Owner by Zip Code

SOLVE

I'm trying to set up a workflow to set the contact owner based on zip codes here in California. We cover most of central and southern california divided between two sales people. I started the workflow with an if/then branch. I tried to add the filter as "zip code is equal to" then add all the zip codes seperated by commas. Nothing shows up when I click save.

 

Do I need to add each zip code as a new filter? ex. zip code is equal to 91342 OR zip code is equal to 91344 OR etc.

Does anyone have any other suggestions on how to set this up?

 

Thanks!

0 Upvotes
1 Accepted solution
karstenkoehler
Solution
Hall of Famer | Partner
Hall of Famer | Partner

Workflow to Set Contact Owner by Zip Code

SOLVE

Hi @LMichael,

 

HubSpot doesn't interpret commas as a separator – however semicolons should work. I explained this in a earlier post here.

 

Could you try with semicolons, following the steps from the link above and report back?

 

Best regards!

Karsten Köhler
HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer

Beratungstermin mit Karsten vereinbaren

 

Did my post help answer your query? Help the community by marking it as a solution.

View solution in original post

6 Replies 6
karstenkoehler
Solution
Hall of Famer | Partner
Hall of Famer | Partner

Workflow to Set Contact Owner by Zip Code

SOLVE

Hi @LMichael,

 

HubSpot doesn't interpret commas as a separator – however semicolons should work. I explained this in a earlier post here.

 

Could you try with semicolons, following the steps from the link above and report back?

 

Best regards!

Karsten Köhler
HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer

Beratungstermin mit Karsten vereinbaren

 

Did my post help answer your query? Help the community by marking it as a solution.

SBamaca
Member

Workflow to Set Contact Owner by Zip Code

SOLVE

Hi There!

 

I was wondering if you could help me. We are trying to add over 1000 postal codes to each territory and I am getting an error message. Is there a limit to the number of postal codes you can add? 

 

SBamaca_0-1725648120905.png

 

Thanks in advance,

Samantha

 

0 Upvotes
Jaycee_Lewis
Community Manager
Community Manager

Workflow to Set Contact Owner by Zip Code

SOLVE

Hey, @SBamaca  👋 I did some searching through past support cases for similar issues. There is an internal limit of 60000 bytes for lists. Have you checked the network tab in your browser's dev tools for more info on the warning you get? This is an older screenshot from another case, but it should be similar to what the 2024 version of Chrome Dev tools should look like.

Screenshot 2021-09-06 at 12.11.43 (1).png

You may need to look at alternatives and loading in 1000 or less at a time to see if you can get around the error that way. Lastly, if you need to, filing a support ticket is also an option for getting additional clarification.

 

Best,

Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes
LMichael
Participant

Workflow to Set Contact Owner by Zip Code

SOLVE

Thanks Karsten! That makes sense. Now the issue I'm running into is I don't have the "is equal to any" option, just "is equal to." So when I paste my list into "is equal to" is goes blank. Is this something I can change regarding the zip code properpty?

 

LMichael_0-1643225680890.png

 

0 Upvotes
karstenkoehler
Hall of Famer | Partner
Hall of Famer | Partner

Workflow to Set Contact Owner by Zip Code

SOLVE

Hi @LMichael,

 

It looks like your "Zip Code" property was created as a number property. The system default "Postal code" is a single-line text:

 

karstenkoehler_0-1643226361920.png

 

When you navigate to Settings > Properties, and search for "Zip Code" you can double check the property type. Usually, if the property is already in use (in lists, workflows etc.), you can't change the type anymore.

 

A fix could a contact-based workflow that copies the "Zip Code" into the "Postal code" for each contact:

 

karstenkoehler_1-1643226585290.png

 

You can then use the "Postal code" from now on.

 

Let me know if you have any follow up questions!

Karsten Köhler
HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer

Beratungstermin mit Karsten vereinbaren

 

Did my post help answer your query? Help the community by marking it as a solution.

0 Upvotes
LMichael
Participant

Workflow to Set Contact Owner by Zip Code

SOLVE

You are a lifesaver! Thank you so much for your help!

0 Upvotes