Workflow 2013 Migration to new site

we are trying to create some Sharepoint 2013 sites to use as templates to create new Sharepoint 2016 sites.
We have many workflows 2013 with Plumsail Actions and I wonder if there is any tool, script, or guidelines to save also the workflows in the template.
Or if it is possible to export the workflow in a file package and then import it back to the new site.
Thanks in advance for your help.