This video shows how you can add additional filters to your Extract DataRaptor for use in OmniStudio Document Generation (docgen).
To filter out null values, make sure you use "$Vlocity.NULL'
When using numbers, make sure you put quotes around the number
I'll also show you how to limit the number of records returned, and also how to sort/order the response.