Neo4j Query

Neo4j Query

Certified

Execute a Neo4j Cypher query

Runs a rendered Cypher statement on a Neo4j database and handles results as fetch, fetch-one, store to internal storage, or no-op (default NONE).

yaml
type: io.kestra.plugin.neo4j.Query
yaml
id: neo4j_query
namespace: company.team

tasks:
  - id: query
    type: io.kestra.plugin.neo4j.Query
    url: "{{ url }}"
    username: "{{ username }}"
    password: "{{ password }}"
    query: |
        MATCH (p:Person)
        RETURN p
    storeType: FETCH
Properties

Bearer token

Base64-encoded bearer token used when basic credentials are not provided.

Password for basic auth

Used with username; ignored if credentials are absent.

Reference (ref) of the pluginDefaults to apply to this task.

Cypher query to run

Rendered with Flow variables before execution; must be valid for the chosen result mode.

DefaultNONE
Possible Values
STOREFETCHFETCHONENONE

Result handling mode

FETCHONE returns the first row; FETCH returns all rows; STORE writes all rows to internal storage; NONE skips result handling (default).

Neo4j endpoint URL

Bolt or HTTP(S) URI used to open the driver connection.

Username for basic auth

Used with password; takes precedence over bearer tokens when both are set.

First fetched row

Populated when storeType is FETCHONE.

SubTypeobject

Fetched rows

Populated when storeType is FETCH.

Row count

Number of rows fetched or stored.

Formaturi

Stored result URI

Populated when storeType is STORE; points to internal storage.

The number of records fetched in FETCH or FETCHONE mode.

The number of records stored in STORE mode.