Pull a filtered list of contacts from Active Campaign

I’m trying to use n8n to pull a filtered list of contacts (or a segment I’ve created in AC) but, being a newb, i’m not sure how to do it from the filter node. I want to pull based on “in a list” and a custom field. We have approx 8-9000 contacts but the list pulled should only be around 100.

I don’t see the custom fields in the filter area.
I don’t see the in the JSON either after executing the get many contacts in the AC node ahead of it either.

Here’s maybe a better explanation: Zight Recording 2025-08-01 ...

Hey @tracyselena hope all is well.

here is a simple example that you can copy and paste to your n8n workflow canvas to see how that would work.

Instead of the Active Campaign it has contacts in the Code node (the source shouldn’t matter), followed by the filter node. The filter node in the example is set to only keep contacts, which are 35+ y.o. and hired in 2025. It will yield two contacts out of 30.

You can see the syntax for filtering the contact data is

{{ $json.<field_name> }} then the data type (number for age and date for hiring info. Please let me know if that helps.

Wow thank you for being so helpful. I will give it a try and let you know. Maybe a few days till I get some time.

No worries, glad to help. I’ll be here if you need me :slight_smile:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.