Here is an example for a workflow that does the following:
vFiler Filelight - CIFS Setup
CIFS setup
Create CIFS shares (Daten, Audit)
Remove CIFS shares (Home, ETC)
Quota entry
Modify Cifs access
Add omainuser
Vscan configuration
Fsecurity configuraion
Set Ontap options
WFA Version 1.1.1.22.5
Enclosed are different new commands, vscan options, fescurity definitions for example. If there were no api calls I used the Invoke-NaSsh cmdlet and issued the cli command via ssh. The create cifs share command throwed an error when you want to use a qtree for the share. The orginal command checks if the volume exists. If the vfiler only owns the qtree not the volume it fails. Therefor I had to add a create cifs share qtree that avoids that.
The workflow is for a specific customer situation. It is used to customize a vfiler that is created with another workflow I shared. Both workflows together will be used to deploy the same kind of vfilers to different customers. Maybe you can modify parts of it for your environment.
Enjoy!