Lightroom Classic: Custom Filename Template Editor doesn't have option to use the Smart Collection Name for a Published Service
You can create smart collections and folders for a collection service so that in theory you can publish smart collections.
If you are attempting to construct a file upload name that is based on the smart folder name, there is currently no template option that can extract the name of the smart folder the image is contained in.
Filename Template Editor provides a Folder Name but that is the original folder name in the library.
This is require because it seems the published service only has one set of settings so you need to create the name from a template.