Lucas Segers
07/30/2025, 7:04 PMkapa.ai
07/30/2025, 7:05 PMListaDeFiltro.*.OcorrenciasAusencias and then use a transformation to add the Contrato.Matricula field to each record. ### 1. Record Selector Set the field_path in your selector to: yaml field_path: ["ListaDeFiltro", "*", "OcorrenciasAusencias", "*"] This will extract each object inside every OcorrenciasAusencias array within each item of ListaDeFiltro as a record. ([Reference](https://docs.airbyte.com/platform/next/connector-development/config-based/understanding-the-yaml-file/record-selector)) ### 2. Add Field Transformation To pull Contrato.Matricula from the parent object and add it to each record, use the AddFields transformation. The value can be referenced using the parent context: yaml transformations: - type: AddFields fields: - path: ["Matricula"] value: "{{ parent['Contrato']['Matricula'] }}" This will add a top-level field Matricula to each record, containing the value from the parent object. ([Reference](https://docs.airbyte.com/platform/next/connector-development/config-based/understanding-the-yaml-file/record-selector#transformations)) ### Example Stream Definition yaml stream: # ... other stream config ... selector: extractor: field_path: ["ListaDeFiltro", "*", "OcorrenciasAusencias", "*"] transformations: - type: AddFields fields: - path: ["Matricula"] value: "{{ parent['Contrato']['Matricula'] }}" Note: The use of parent in the template is supported for referencing the parent object when extracting nested records, as described in the transformations documentation. --- This approach will give you each OcorrenciasAusencias record with an additional Matricula field from its parent object. If you need to add the field at a different path or with a different name, adjust the path accordingly.Lucas Segers
07/30/2025, 7:08 PMkapa.ai
07/30/2025, 7:08 PMkapa.ai
07/30/2025, 7:08 PM