Actions22
- Chat Actions
- Container Tag Actions
- Conversation Actions
- Document Actions
- Memory Actions
- Profile Actions
- Search Actions
Document → Copy
AI-generatedSummary
Copy a document to a new container tag
Inputs
- documentId (required) — ID of the source document to copy
- copyTargetTag (required) — Target container tag where the copy will be created
- copyMetadata — Whether to copy the source document's metadata to the new document
- customId — Custom identifier for the copied document; leave empty to auto‑generate
Output shape
a single document object representing the copied document
Returns the full document payload created by Supermemory (including generated id and any applied metadata). Errors propagate as n8n operation errors.
Examples
Example 1: Duplicate a stored article into a user‑specific container
Set Document ID to the article’s ID, Target Container Tag to the user’s tag (e.g., 'user-123'), leave Copy Metadata enabled, optionally set a customId such as 'article-42-copy'.
Example 2: Create a templated copy with a custom identifier
Specify Document ID as 'doc_abc', Target Container Tag as 'project-xyz', enable Copy Metadata, and set Custom ID to 'template‑v1'.
