How to Submit Worklets and API Scripts
You can create your own Worklets
Represents an automation script that can execute on a set of devices, consisting of evaluation and remediation code blocks. Worklets can be OS-specific or targeting a platform-agnostic language. and API
A method for programmatic platform access. scripts and submit them to the Automox Community. Just follow the instructions below:
- Once you have created your new Worklet or API script, log into the Automox Community.
- Create a new post in the appropriate group:
- For Worklets, create a new post in Worklets & Scripts.
- For API scripts, create a new post in Automox API & Integrations.
- Give your new post a title, and add a brief description of what your worklet or API script does.
- Select the Code option from the menu (under the 3 dots) to create a code block in your post.
- For Worklets, you need to use 2 code blocks. One for the evaluation code
A worklet code block that checks whether certain criteria are met before running the remediation block to install a patch or package., the other for the remediation code
A block of code in a worklet script that installs a patch or makes a configuration change. Remediation blocks generally run after the evaluation block..
- For Worklets, you need to use 2 code blocks. One for the evaluation code
- Once you're sure that you've got everything you need in your post, submit it. Your worklet or script will then be submitted for review by our team.
The Automox team reviews Worklets and API scripts submitted to the community, to ensure that they function properly and that there is no malicious code, before they are posted to the community. If you do not see your post right away, it is likely under review.
