Skip to content

Word Get Property

Type: word-get-property  ·  Package: Word Activities v1.0.4  ·  Output: object

Reads a metadata field (property) of the document: its title, author, subject, creation or modification dates, etc. Useful to classify or audit documents by their information.

Returns the value of the property set in property, read from the file’s core properties (the ones in File › Info in Word). It accepts session or path — see the two modes; with path it opens the file, reads it and closes it without changes.

property is picked from the list; it does not accept expressions.

ParameterTypeDefaultDescription
propertystring—Property to read: Title · Author · Subject · Description · Keywords · Category · Created · Modified.
ParameterTypeDefaultDescription
sessionZoanWordSession—Session from Word Open (instead of path). Inherited automatically inside a body.
pathstring—Path to the .docx (quick mode). Only used when there is no session.

Returns an object:

  • Title, Author, Subject, Description, Keywords, Category: the property text.
  • Created, Modified: the date as ISO 8601 text (for example 2026-03-14T09:30:00.0000000Z). Convert it with the date functions if you need to calculate with it.
  • If the property has no value: null. Use str(value) to treat it as empty text.
Word Get Property path = filePath property = Author → output: author
Log message = "Document created by: " + str(author)
MessageCause and fix
'session' or 'path' is required.There is no session and no path.
File not found.The path does not exist on the robot’s machine.
'property' is required.No property was chosen.