Please refer to the wiki.
Guides for creating Ongoing and reusable workflows to manage Macs in Jamf Pro