To configure the Conditional Sub-Queries component:
Merge the component. See Merging Components.
Build component entries by creating an item:
a primary query
a custom event
Schedule the document on the server.