People endpoint filter by first and last name
Is it possible to do this? I tried forming my filter query using name.firstName and name.lastName but it just returns all people. I am trying to create an n8n workflow that checks if customers exist before inserting them into twenty but the people endpoint seems kinda of lacking unless I create helper fields
3 Replies
Yes, it's possible, here's filter I used
and(name.firstName[eq]:"a",name.lastName[eq]:"b")
See whenever I try to do that it just doesn't filter anything and returns all people (the default 5 starter people in my example)
well I figured it out, I was passing the filter in the body and not the query
Good for you then