Yes, in Airbyte, you can send data such as a foreign key from one stream to another by using the concept of parent and child streams (also known as substreams). The output of a parent stream (for example, IDs or foreign keys) can be used as input in a child stream. This is commonly used when you need to fetch data from one endpoint and use its results to make further requests in another stream. For HTTP sources, Airbyte's CDK supports this pattern, allowing you to use the output of a parent stream as query parameters or in the request body of a child stream. This approach is also adaptable for non-HTTP sources by mimicking the substream behavior in your custom source implementation. You would typically create a class that mimics the behavior of substreams, passing the relevant data (like foreign keys) from the parent to the child stream as needed [[Multi stage stream](
https://github.com/airbytehq/airbyte/discussions/46711)][Forum Post: SubStreams for Non HTTP Source](
https://discuss.airbyte.io/t/1706). So, passing a foreign key from one stream to another is supported and is a common pattern in Airbyte connector development.