<@U04S8PLJWMT> i am using connector builder to rea...
# replication-ask-ai
s
@kapa.ai i am using connector builder to read an api. There is a field i want to filter in record selector which is nested inside another field. what is the syntax? This is the data, I want to filter on the value of flow.slug value. Should it look like this?
{{ record['flow', 'slug'] in ['test_value'] }}
Copy code
{
        "id": "9f26bd7d-c5d6-47a2-a209-53f0e5f8f016",
        "entity_id": "c7c96de1-e8fc-4851-8bc0-72b971b7d810",
        "status": "successful",
        "status_code": "200",
        "environment": "sandbox",
        "start_time": "2026-04-20T16:02:02.244387+00:00",
        "end_time": "2026-04-20T16:02:02.712593+00:00",
        "flow": {
          "id": "6d2b5969-89d7-4386-a53b-8f65606dcc6b",
          "slug": "test-flow-input-output-checks-verification-flow",
          "version": {
            "name": "v1.0",
            "id": "5638c17e-386a-4238-b469-61f5e2664c23",
            "input_schema": {
              "masked_fields": []
            }
          }
        }
k
New message text here
s
@kapa.ai could i have two conditions? e.g. record['flow']['slug'] in ['test_value']
k
Yes, you can combine two conditions in a record filter using standard Jinja2 logical operators (
and
/
or
). For example:
Copy code
{{ record['flow']['slug'] in ['test_value'] and record['status'] == 'successful' }}
or with `or`:
Copy code
{{ record['flow']['slug'] in ['test_value'] or record['flow']['slug'] in ['other_value'] }}
The filter condition supports full Jinja2 expression syntax, so logical operators work as expected. [Record Filter] > Note: There is a known community report of
or
conditions behaving unexpectedly in some contexts (specifically pagination stop conditions). If you encounter issues, try testing each condition independently first to verify they work, then combine them. [Combining two conditions] 👍 0 button 👎 0 button â„šī¸ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.