Repository navigation
Tap Actions
A Tap Action automation is a fifth trigger type. A person taps a web clip on their own managed iOS or iPadOS device; JAWA shows a confirmation page describing what will happen, and only when they tap the confirm button does JAWA run the script — synchronously, against that device — and show a success or failure page.
The URL contract
The web clip's URL points at JAWA:
https://<jawa>/tap/<service-name>?token=<service token>;id=$JSSID;udid=$UDID;DEVICENAME=$DEVICENAME;SERIALNUMBER=$SERIALNUMBER
Parameters are separated with ; rather than & on purpose: Jamf Pro refuses to save a web clip
profile whose URL contains an ampersand in any encoding (it answers 409 Unable to update the database). JAWA accepts either separator on /tap/, so a hand-built profile may use ; too.
token, id, and udid are reserved and required. token is the automation's per-service
token; id and udid are Jamf Pro payload variables ($JSSID, $UDID), substituted per device
when the profile installs. JAWA adds DEVICENAME and SERIALNUMBER to the URL by default; any
other Jamf Pro payload variable can be appended the same way. Any query parameter beyond token,
id, and udid passes through to the script and can be shown on the confirmation or result page
with a {NAME} placeholder.
Security
The token is the same for every device carrying the profile, so treat it as a gate, not a
per-device credential. The script itself must fetch the device by id from Jamf Pro and refuse
if the UDID does not match — the two bundled templates do this. Nothing runs on the GET request
that loads the confirmation page, only the confirmation form's POST runs the script, and
/hooks/<name> refuses Tap Action automations, which can only be triggered through
/tap/<name>.
The payload contract
The script receives the same JSON-on-sys.argv[1] contract as a webhook automation, built from
the query string:
{
"webhook": {
"webhookEvent": "TapAction",
"name": "<service-name>",
"eventTimestamp": <int ms>
},
"event": {
"jssID": <int>,
"udid": "<str>",
"deviceType": "mobile" | "computer",
"params": {"<every query/form field except token, id, udid>": "..."},
"remoteAddress": "<str>"
}
}deviceType comes from the automation's device family.
Jamf Pro side
Creating a Tap Action automation — or enabling one of the bundled Tap Action templates — can create the web clip configuration profile for you, unscoped; scope it to the right devices in Jamf Pro afterward. If Jamf Pro refuses to create the profile, the automation's detail page shows the web clip URL so you can build the profile by hand.
Bundled templates
- Return to Service (Tap Action). Lets the person holding a shared iPad or iPhone erase it and re-enroll it themselves, with no IT touch. The Wi-Fi the device rejoins comes from an existing Wi-Fi configuration profile in Jamf Pro, named when you enable the template.
-
Brander (Tap Action). Lets the person holding an iPad or iPhone apply a branded wallpaper
showing the device's name, serial, location, and a QR code of its Jamf Pro id; it needs Pillow
and qrcode, which the installer installs from
requirements.txt. Setup, testing and design changes are in the Brander guide. -
Brander (Asset Tag Watch). Not Tap Action: a timed template (every 15 minutes by default)
that runs the Brander above for any device whose asset tag or Brander extension attribute
changed, so a re-tagged device's wallpaper keeps up. See
data/workflows/assets/brander/README.md.
Pages: Home · Installation · Writing Automation Scripts · Tap Actions · Operating a JAWA Server · Release Notes · Roadmap · Screenshots