Deal Search API in Custom_Code of Workflow Step. Filter Multiple Checkbox Field
SOLVE
I have a Custom_Code Step where I'm searching deals on a field that is a multi-select. If I search for a specific value it equals, it works fine, but the minute I change it to see if it has one of the items checked, it does not
Deal Search API in Custom_Code of Workflow Step. Filter Multiple Checkbox Field
SOLVE
@Teun thanks for your reply. I can use the "IN" operator with Deal Search when I do this in Postman. I just cannot get it to work within a Workflow Custom_Code Step. I understand I could use the EQ and stack multiple requests, but am trying to keep the requests and code clean
I might be completely wrong here, but is "IN" a valid operator for the Search API? You could pass multiple filterGroups with the "EQ" operator instead. When multiple filterGroups are included in the request body, they'll be combined using a logical OR operator.
Learn more about HubSpot by following me on LinkedIn or YouTube
✅ Did my answer solve your issue? Help the community by marking it as the solution.