Using the Get Attributes, you can return the list of attributes in a data layer.
When the processor is done running, the list below the processor logs. Only the names of the attributes appear.
Select the data layer for which you want to return the list of attributes.