{
  "airtable": {
    "base": "appMATCHMKR000000",
    "table": "tblClients00000000",
    "fields": [
      "Name",
      "Email",
      "Phone",
      "Age",
      "City",
      "Seeking",
      "Preferred Age Range",
      "Source",
      "Consent",
      "Status",
      "First Seen",
      "Last Updated",
      "Intake Count"
    ]
  },
  "dedupe_formula": "AND({Email}!=\"\", LOWER({Email})=LOWER(\"{{2.email_norm}}\"))",
  "cases": [
    {
      "label": "New applicant",
      "submission": {
        "full_name": "Jordan Ellis",
        "email": "jordan.ellis@example.com",
        "phone": "+1 415 555 0142",
        "age": "34",
        "city": "Denver",
        "seeking": "Long-term relationship",
        "age_range_preference": "32-42",
        "how_heard": "Instagram",
        "consent": "true",
        "submitted_at": "2026-07-05T09:14:22Z"
      },
      "email_norm": "jordan.ellis@example.com",
      "search_count": 0,
      "decision": "create",
      "result": {
        "action": "Create a Record",
        "record_id": "recJORDAN00000001",
        "status": "New",
        "first_seen": "2026-07-05T09:14:23Z",
        "intake_count": 1
      }
    },
    {
      "label": "Returning applicant",
      "submission": {
        "full_name": "Priya Nair",
        "email": "Priya.Nair@example.com",
        "phone": "+1 206 555 0197",
        "age": "39",
        "city": "Seattle",
        "seeking": "Long-term relationship",
        "age_range_preference": "36-46",
        "how_heard": "Referral",
        "consent": "true",
        "submitted_at": "2026-07-05T10:02:41Z"
      },
      "email_norm": "priya.nair@example.com",
      "search_count": 1,
      "matched_record": {
        "id": "recPRIYA000000001",
        "fields": {
          "Name": "Priya Nair",
          "Email": "priya.nair@example.com",
          "Phone": "+1 206 555 0143",
          "Age": "39",
          "City": "Portland",
          "Seeking": "Long-term relationship",
          "Preferred Age Range": "35-45",
          "Source": "Referral",
          "Consent": "true",
          "Status": "Active",
          "First Seen": "2026-05-20T16:41:03Z",
          "Last Updated": "2026-05-20T16:41:03Z",
          "Intake Count": 1
        }
      },
      "decision": "update",
      "result": {
        "action": "Update a Record",
        "record_id": "recPRIYA000000001",
        "changed": {
          "City": [
            "Portland",
            "Seattle"
          ],
          "Preferred Age Range": [
            "35-45",
            "36-46"
          ],
          "Phone": [
            "+1 206 555 0143",
            "+1 206 555 0197"
          ],
          "Intake Count": [
            1,
            2
          ],
          "Last Updated": [
            "2026-05-20T16:41:03Z",
            "2026-07-05T10:02:42Z"
          ]
        },
        "preserved": {
          "First Seen": "2026-05-20T16:41:03Z",
          "Email": "priya.nair@example.com"
        },
        "duplicate_created": false
      }
    }
  ]
}
