Prashant
09/18/2025, 11:52 AMkapa.ai
09/18/2025, 11:53 AM_airbyte_raw_id, _airbyte_extracted_at, and _airbyte_meta. However, these do not include a source identifier by default—they are more for tracking and debugging purposes, not for identifying the source system of each row. - To solve your use case, you should add a custom field (e.g., source_id or tenant_id) in your source data or use Airbyte transformations (if available in your plan) to inject such a field before the data lands in the destination. This way, each row will carry an explicit identifier for its origin. - Alternatively, you can use table prefixes or namespaces to separate data from different sources, but this results in multiple tables rather than a single combined table. 2. Cloud Version Considerations: - In Airbyte Cloud, you can configure what fields are included in your destination data by adjusting the schema during connection setup. However, there is no built-in feature to automatically add a source identifier for each row unless you include it in your source data or use a transformation step. 3. Community Recommendations: - The Airbyte community suggests using custom DBT transformations to add a source or tenant column when merging data from multiple sources into a single table. This is a common approach for multi-tenancy and downstream business logic. - You can also use table prefixes or custom namespaces to keep data separated if you prefer not to merge everything into a single table, but this may not fit your use case if you want all data together for analysis. - See this community discussion for more context: using a custom column or DBT transformation is a recommended solution for tracking the source of each row [Forum: Manage multiple sources sync to the same tables](https://discuss.airbyte.io/t/323). Summary Table: | Approach | How to Implement | Pros/Cons | |-------------------------|------------------------------------------------------|--------------------------------------------| | Add custom field | Add source_id in source or via transformation | Most flexible, works for all destinations | | Table prefix/namespace | Use Airbyte's prefix/namespace options | Keeps data separate, but in multiple tables| | DBT transformation | Add column during DBT model merge | Powerful, but requires DBT setup | Next Steps: - If you control the source, add a source identifier field to your data. - If not, use Airbyte transformations or DBT to inject the identifier. - Adjust your connection schema to ensure the new field is included in the destination. If you need step-by-step guidance on setting up transformations or DBT with Airbyte Cloud, let me know!Prashant
09/18/2025, 11:58 AMkapa.ai
09/18/2025, 11:59 AMkapa.ai
09/18/2025, 11:59 AMsource_id) and set its value to identify the source. - Example SQL in your dbt model: sql select *, 'source_name_or_id' as source_id from {{ ref('your_airbyte_table') }} - You’ll need a separate dbt job/model for each source, or use logic in dbt to set the identifier based on the table or schema. --- Note: - Custom transformations (like adding columns before data lands in the destination) are not available in Airbyte Open-Source, only in Airbyte Cloud via dbt integration. - The dbt job runs after the sync, so the identifier is added in the transformation step, not during extraction or loading. For more details, see the official documentation: [dbt Cloud integration in Airbyte Cloud](https://docs.airbyte.com/platform/cloud/managing-airbyte-cloud/dbt-cloud-integration). If you need help with the dbt model SQL or further setup, let me know!Prashant
09/18/2025, 12:13 PMkapa.ai
09/18/2025, 12:13 PMkapa.ai
09/18/2025, 12:13 PMJustin Beasley
09/18/2025, 1:22 PMour-project.[client_name]_[client_id].hubspot_123_*
This works well for us and ensures that streams group together for each instance of a connection and avoids stream/table name conflicts between connections or for multiple instances of the same type of connection (e.g. if a client has multiple Facebook Ads accounts).
This lets you still use a single destination, but still have some separation of the output data at both a client and connection level.Prashant
09/18/2025, 2:41 PMJustin Beasley
09/18/2025, 5:06 PMPrashant
09/24/2025, 8:23 AM