Skip to main content

Content Query action

Lists records for a flow to run across. In the action picker it is Content Query, under Content Actions. Wire its results output into a loop to process every match. With no connection it lists this workspace's records; with a Brightspot connection it lists content in that CMS, by a query built here or by one of the CMS's saved work streams.

It only reads, so it runs unchanged under a dry run and previews the real result set.

Fields

FieldRequiredDescription
ConnectionNoLeave empty for this workspace's records. Pick a Brightspot connection to query that CMS.
SiteNoShown only for a Brightspot connection: the site to act on. Blank means the connection's site when it pins exactly one, otherwise every site the connection reaches.
SourceYesWhich records. Custom Query everywhere; Work Stream with a Brightspot connection. With one choice the form draws it in place.
Max ResultsNoCaps how many records are returned and iterated. Defaults to 100; capped at 1000.
SkipNoHow many matching records to skip before the first returned one, for paging through a large set.
Sort ByNoThe field to order results by. The picker lists the type's queryable fields plus the publish and update dates; type the internal name of any other indexed field.
Sort OrderNoAscending or Descending by the sort field. Ascending when unset.
Include Field ValuesNoReturn each record's field values alongside its summary, so a loop body can read them without a Content Fetch per item.

Custom Query

FieldRequiredDescription
Content TypeYesThe type to list.
PredicateNoHow to narrow the type: Match Fields or Query Expression. Leave it unset to match every record of the type.

Match Fields builds the filter from conditions in the editor. Match says how to combine them (All, Any, None), and Conditions holds Condition rows (a field, an operator, a value that accepts variables) and nested Groups with their own Match. The field picker lists the fields the type can be queried on: in a workspace, the record id and every indexed field, where a field is indexed when its content type marks it Unique or Search Filter.

Query Expression is a raw Dari predicate with ? placeholders and a list of Values that fill them in order, for what the builder can't express.

Output

FieldDescription
resultsThe page of matches. Each carries contentId, contentTypeId, contentTypeName and label, plus values when Include Field Values is on.
totalCountHow many records matched in all.
truncatedWhether matches remain beyond this page.

A Brightspot connection whose Automation plugin predates a setting reports on the node which settings it would ignore, so you know before a run.

Was this page helpful?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.