View as Markdown
Neo4j AuraDB icon

Neo4j AuraDB ACTION

Create Relationship

Creates a relationship between two existing nodes. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Neo4j AuraDB account once, then configure and run Create Relationship from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "neo4j_auradb-create-relationship",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    neo4j_auradb: { authProvisionId: "apn_xxxxxxx" },
    relationshipType: "Create Relationship Type",
    startNode: "Start Node Identifier",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Create Relationship inputs
Property Type Description
relationshipType Create Relationship Type string
The name of the relationship to create.
Required
startNode Start Node Identifier object
An object containing any fields used to identify the start node.
Required
endNode End Node Identifier object
An object containing any fields used to identify the end node.
Required
relationshipProperties Create Relationship Properties object
An object representing the properties of the relationship to create.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
neo4j_auradb-create-relationship
Version
0.0.2
App
Neo4j AuraDB
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes