Data from foldername in an Action

Hi

I know you can extract data from foldernames, when you use the Filename -> Tag
Can this also be done in an Action?

Kind regards
HH

Yup, see action Guess values.