You also use expressions to control dynamic and custom attributes you add to a particle shape node. See Assign to a custom attribute for details on working with custom attributes.
When you add a dynamic attribute to an object, the attribute names appear in the Expression Editor’s Attributes list.