Summary

Add an Entity Query node processor that enables querying Drupal entities within workflows. This provides powerful data retrieval capabilities with configurable filtering, sorting, and pagination.

Business Value

  • Enables data-driven workflows that operate on existing content
  • Supports batch processing by querying entities for iteration
  • Provides flexible filtering to target specific content subsets
  • Enables content audit and validation workflows

Query Parameters

  • entity_type: Entity type to query (node, taxonomy_term, user, etc.)
  • bundle: Filter by content type/bundle
  • published_only: Filter to published entities only
  • changed_after: Filter by modification timestamp
  • conditions: Array of custom field conditions with operators
  • sort_field: Field to sort results by
  • sort_direction: ASC or DESC
  • limit: Maximum results (1-1000)
  • offset: Skip N results for pagination
  • load_entities: Load and serialize full entity data

Outputs

  • success: Query success indicator
  • count: Number of results returned
  • results: Array of entity data (id, uuid, label, bundle)
  • ids: Array of entity IDs for lightweight processing
  • entities: Full serialized entities (when load_entities=true)
  • has_more: Indicates more results exist beyond limit

Comments

joevagyok created an issue. See original summary.

gxleano’s picture

I have contributed (not only by code, but discussion, presentation, testing or anything related).

d34dman’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.