This article covers every Jamf Pro workflow action for managing computers and computer groups — adding or removing group membership, retrieving diagnostic history, and sending remote MDM commands such as lock, erase, OS update, and blank push.
Validation note legend
| Term | Meaning |
|---|---|
| Required | The workflow will fail to run if this field is blank or missing. |
| Optional | The field can be left blank; the action will still run. |
| Text | A plain text value. Can include dynamic workflow variables. |
Note on ID fields: For fields that accept a computer group ID, you may supply either the numeric Jamf Pro ID or the group's name. The action automatically resolves names to the correct numeric ID before calling the API.
Actions
Add Computer to Computer Group
Adds a computer to a specified static computer group in Jamf Pro. This is only applicable to static (manually managed) groups — it does not modify smart groups.
| Field | Description | Validation |
|---|---|---|
| Computer ID | The numeric Jamf Pro computer ID of the computer to add. | Required · Text |
| Computer Group ID | The Jamf Pro computer group ID or group name to add the computer to. | Required · Text |
Remove Computer from Computer Group
Removes a computer from a specified static computer group in Jamf Pro. This is only applicable to static groups — it does not modify smart groups.
| Field | Description | Validation |
|---|---|---|
| Computer ID | The numeric Jamf Pro computer ID of the computer to remove. | Required · Text |
| Computer Group ID | The Jamf Pro computer group ID or group name to remove the computer from. | Required · Text |
Get Diagnostic Information for Computer
Retrieves the management history (diagnostic information) for a specific computer from Jamf Pro. The history includes MDM command results, policy logs, and other management events, returned as a data object available to later workflow steps.
| Field | Description | Validation |
|---|---|---|
| Computer ID | The numeric Jamf Pro computer ID whose history you want to retrieve. | Required · Text |
Lock Computer
Sends an MDM DeviceLock command to a managed computer, immediately locking its screen. An optional passcode can be included so the user must enter it to unlock the device.
| Field | Description | Validation |
|---|---|---|
| Computer ID | The numeric Jamf Pro computer ID of the computer to lock. | Required · Text |
| Passcode | A numeric passcode the user must enter to unlock the computer after it has been locked. If left blank, no passcode is set. | Optional · Text |
Erase Computer
Sends an MDM EraseDevice command to a managed computer, performing a remote wipe of the entire device. An optional passcode can be set, which is required on the device before the erase begins (macOS only).
| Field | Description | Validation |
|---|---|---|
| Computer ID | The numeric Jamf Pro computer ID of the computer to erase. | Required · Text |
| Passcode | A numeric passcode required on the device to authorize the erase (applies to macOS). If left blank, no passcode is set. | Optional · Text |
Warning: This action is irreversible. Once the workflow sends this command, the device is completely wiped and its data cannot be recovered.
Schedule OS Update for Computer
Schedules an OS update to be installed on a managed computer via an MDM ScheduleOSUpdate command, set to the install action. The update applies the next time the device checks in with Jamf Pro and the update conditions are met.
| Field | Description | Validation |
|---|---|---|
| Computer ID | The numeric Jamf Pro computer ID of the computer to update. | Required · Text |
Send Blank Push to Computer
Sends a silent BlankPush MDM notification to a managed computer. This does not install anything — it wakes the device so it checks in with the Jamf Pro MDM server, which is useful for forcing pending commands to execute.
| Field | Description | Validation |
|---|---|---|
| Computer ID | The numeric Jamf Pro computer ID of the computer to push. | Required · Text |
Your workflow can now manage Jamf Pro computers and computer groups. Next, see how to manage Jamf Pro mobile devices and users from HappyFox Workflows to extend the same automation to mobile devices and user accounts.