Skip to main content

Hey there, 

On this related and very helpful post of updating a hubspot contact with a multi property….

written by @nicksimard

 

 

Is there a way to do the opposite?

 

In the example shown, What i would want to do is pull the list of currently selected options,

then clear one of the selections.  In the example above, it would be remove “Two” but keep the remaining fields if any selected.

 

Thanks in advance.  

Hi @SLevitt2000 

I believe you can do this by following these steps:

  1. Use Find Contact action to get the contact and existing selections in that field: Assuming those are one;two;three
  2. Use Formatter>Replace action to remove a specific selection. If your initial/trigger value has ‘two’ in it, you’d replace ‘;two’ with blank/nothing, so the end result is one;three
  3. Use Update Contact and map this one;three value to that contact

Hi @SLevitt2000

Q: What if the existing selections don’t include the option you want remove?

 

You can do this type of reduction logic with a Code step: https://zapier.com/apps/code/help