Accessing field titles in workflows

We access record values in workflows using the record.values. format. Is there any way to access the field title (the name that is displayed on the page) in a similar fashion?

Field Name: memberSocialSecurityNumber
Field Title: Social Security Number <----- this is what I want to get and put into a text variable

You can use the Compose module lookup function to get the related module and it’s fields/labels.

Once I get the module through the lookup function, how do I access the fields and labels? The documentation doesn’t seem to include an object model for a module.

You can use a logger to log the object structure using toJSON(module)

In essence its this

{
  "moduleID": "420731673173295105",
  "namespaceID": "420731673172049921",
  "name": "Module Name",
  "handle": "module-handle",
  "createdAt": "2024-12-12T13:25:35.372036Z",
  "updatedAt": "2025-11-04T09:53:34Z",
  "fields": [
    {
      "label": "Name",
      "fieldID": "420731673173098497",
      "namespaceID": "420731673172049921",
      "moduleID": "420731673173295105",
      "kind": "String",
      "name": "Name",
      "options": {
        "description": { "view": "" },
        "hint": { "view": "" },
        "multiDelimiter": "\n",
        "multiLine": false,
        "useRichTextEditor": false
      },
      "isRequired": false,
      "isMulti": false,
      "defaultValue": [],
      "expressions": {},
      "createdAt": "2024-12-12T13:25:35.370461Z",
      "updatedAt": "2025-11-04T09:53:34Z",
    }
  ]
}

You’ll need to find the field you want and use the label property.