Create Relationship
AI-generatedSummary
Create a relationship of a specified type with optional properties between two existing nodes identified by their internal IDs in the Neo4j graph database.
Inputs
- From Node ID (required) — Internal ID of the source node from which the relationship originates.
- To Node ID (required) — Internal ID of the target node to which the relationship points.
- Relationship Type (required) — The type (label) of the relationship to create, e.g., KNOWS or WORKS_AT.
- Relationship Properties — JSON object containing properties to set on the newly created relationship.
Output shape
a list of JSON objects representing the created relationships
Each output item includes the relationship's internal ID, type, start and end node IDs, and any specified properties. Output corresponds one-to-one to input items.