Skip to main content
The Manage Documents action creates, updates, deletes, or publishes a Document for a contact. Available in User events only. See Automation nodes.

Configuration

FieldDescription
operationcreate, update, delete, or create_or_update.
template_idThe document template.
document_id_or_slugA field mapping locating the document (required for update/delete/upsert).
contactThe owner contact — required for every operation (document slugs are unique per contact).
field_mappingsThe attribute values.
taxonomies / tagsAdd/remove lists of taxonomy or tag references — see Taxonomies, tags and ownership.
ownershipAdd/remove lists of { user, role } entries — see Taxonomies, tags and ownership.
The document’s required attributes are only enforced on create and upsert — an update that only touches taxonomies, tags, or ownership saves without filling them in.

Taxonomies, tags and ownership

Besides its attribute values, the action can manage the document’s Taxonomies, Tags, and ownership. Each of the three sections takes an add list and a remove list of field mappings, with strict add/remove semantics:
  • Entries already on the document that the action doesn’t name are always preserved — the lists are never replaced wholesale.
  • On create only the add lists apply; remove lists are available on update and upsert. Removing an entry that isn’t present is a no-op.
How the values resolve:
  • Each entry may resolve to a single id or slug, a list of them, or objects copied from the run context — all shapes are flattened to identifiers.
  • Ownership entries are { user, role }, with role either owner or follower (default owner). The user can be referenced by id or email. Adding a user who is already on the list updates their role instead of duplicating it; archived users can’t be added.
When the document template’s ownership mode is Sync with contact, ownership adds are skipped on create — the new document inherits its contact’s ownership — and the run detail marks the section as skipped. Ownership changes on update apply normally.
The action’s response includes a relations summary of what was added, removed, or had its role updated, readable from later nodes in the flow. The same summary appears in each run’s node detail as Taxonomies, tags & ownership changes, with ids resolved to user emails and taxonomy/tag slugs.

Documents

The records this action manages.

Document creation

The contact-side create equivalent.