# Pull a filtered list of contacts from Active Campaign

**URL:** <https://community.n8n.io/t/pull-a-filtered-list-of-contacts-from-active-campaign/160618>\
**Category:** Questions\
**Tags:** active-campaign\
**Created:** [Agosto 1, 2025, 9:52pm UTC](https://community.n8n.io/t/pull-a-filtered-list-of-contacts-from-active-campaign/160618 "2025-08-01T21:52:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tracyselena](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/tracyselena/32/98374_2.png) [@tracyselena](https://community.n8n.io/u/tracyselena)\
**Post date:** [Agosto 1, 2025, 9:52pm UTC](https://community.n8n.io/t/pull-a-filtered-list-of-contacts-from-active-campaign/160618/1 "2025-08-01T21:52:34Z")

</div>

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 ...](https://share.zight.com/yAuqv2WN)

---

<div class="post-metadata">

**Author:** ![jabbson](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jabbson/32/87328_2.png) [@jabbson](https://community.n8n.io/u/jabbson)\
**Post date:** [Agosto 2, 2025, 2:11am UTC](https://community.n8n.io/t/pull-a-filtered-list-of-contacts-from-active-campaign/160618/2 "2025-08-02T02:11:13Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![tracyselena](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/tracyselena/32/98374_2.png) [@tracyselena](https://community.n8n.io/u/tracyselena)\
**Post date:** [Agosto 2, 2025, 2:13am UTC](https://community.n8n.io/t/pull-a-filtered-list-of-contacts-from-active-campaign/160618/3 "2025-08-02T02:13:23Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![jabbson](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jabbson/32/87328_2.png) [@jabbson](https://community.n8n.io/u/jabbson)\
**Post date:** [Agosto 2, 2025, 2:15am UTC](https://community.n8n.io/t/pull-a-filtered-list-of-contacts-from-active-campaign/160618/4 "2025-08-02T02:15:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [Outubro 31, 2025, 2:15am UTC](https://community.n8n.io/t/pull-a-filtered-list-of-contacts-from-active-campaign/160618/5 "2025-10-31T02:15:44Z")

</div>

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