Search for objects using the same syntax as Rules.
For instance:
data.name = "bob"
AND data.age < 60
AND data.emails[0] != "bob@bobsburgers.com"
AND createdAt > 3 HOURS_AGO
Objects will be returned in an array which may contain anywhere from 0 to 25 results.
There is currently no way to sort the results or retrieve subsequent pages from within workflows. You should instead limit your query to match on fewer objects.