Actions25
- Entity Actions
- Relationship Actions
- Episode Actions
- Traversal Actions
Relationship → Create
AI-generatedSummary
Create a relationship between two entities in the selected Engram storage backend. Provide the source and target entity UUIDs and a factual statement; you can also set the relationship name, validity start time, and JSON attributes.
Inputs
- Backend — Storage backend: Embedded (Graphology) or Neo4j (Remote). Defaults to Embedded.
- Custom Storage Path — For the Embedded backend, an optional directory for graph data files. Leave empty to use n8n’s default storage directory.
- Source Entity UUID (required) — UUID of the source entity.
- Target Entity UUID (required) — UUID of the target entity.
- Relationship Name — Relationship type or name; the field description says it is auto-uppercased.
- Fact (required) — Factual statement represented by the relationship.
- Valid At — ISO datetime when the fact became true; the field description says it defaults to now.
- Attributes — Additional key-value attributes as a JSON object; defaults to an empty object.
Output shape
A list of n8n items containing the created relationship record.
The source pack provides only the operation’s signature, not its implementation body, so the exact output fields and any validation or defaulting at runtime are not shown.
