What is the most efficient way it to download all contacts with a specific tag? I have the HighLevel node connected to the subaccount and working fine. There is a field to add in some filters but no docs I can find to understand how to populate that field. Is this even the most efficient way or should I be trying a different approach. Insights appreciated.
Tried this - “tags”: [“lead-state-lunch-attendee”] - based on the output. It doesnt work.
Hi there, welcome to the community
you can see this documentation from GHL on what and how can you fill the query params
from what i see, on the filters, the GHL needs it to be in this format
{
"field": "tags",
"operator": "eq",
"value": "YourTagValue"
},
im not sure how the GHL n8n node, treats it to be like that
but what you can do is mess around with the query, maybe put something like
“tags eq YourTagValue” and then trigger it and see in the console how does the filter actually looks like
or you can move into the expression mode of the filter param and paste the object that i showed you above
or if none works, then i think you should just use the HTTP Node for it
you can use this link to import the curl of the contacts/search
and just put in the filters as i mentioned above n you should be good
if this answer your question please give it a like and mark it as the solution
1 Like
@fahmiiireza I appreciate the ideas. The expression in the filter idea does not work:
{
“field”: “tags”,
“operator”: “eq”,
“value”: “lead-state-called”
}
The problem with “testing” ideas is that the node executes properly so the there is no error (and no output).
Its suprising to me there aren’t a few working examples of a filter in the node since the filter section exists.
As for the other idea - I have burned about 12 hours on the HTTP node for this application and won’t be revisiting that for while…