Skip to main content
Apple School & Business Manager provides Ticket Agent tools for reading your Apple device inventory. Reference them in using @ mentions so your agent can check where a device is assigned without escalating to IT. All three tools are read-only and work on org-wide data. They run when the requester is a workspace member or admin, and in runs no requester started. For anyone else, the agent helps without them or escalates.

Look up devices

Get Apple Device

Looks up one device by serial number: its model, status, order details, MDM migration fields, and the MDM server it’s assigned to.Tool name: @Get Apple DeviceInput fields:
  • serial_number - the device’s serial number, 8 to 20 letters and digits. Lowercase is accepted.
Output data:
  • found - false when your Apple organization has no device with that serial, with a message asking the agent to confirm the serial with the user.
  • device - serial_number, model, product_family, product_type, status, order_number, order_date_time, purchase_source_type, purchase_source_id, added_to_org_date_time, released_from_org_date_time, is_mdm_migration_capable, mdm_migration_status and mdm_migration_deadline_date_time.
  • assigned_server - the MDM server’s id, name and type, or null when the device is unassigned. When Apple can’t say which server, it’s left out and message asks to try again later. When the server’s details can’t be read, only id comes back, with details_unavailable.
Common use cases:
  • Check which MDM server a new device is assigned to before it enrolls
  • Confirm a serial number belongs to your organization
  • Look up order details for a device
Example rule:

When someone says a new Apple device won't enroll, ask for its serial number and use @Get Apple Device to check which MDM server it's assigned to. If it's unassigned, tell them and escalate to IT.


Look up MDM servers and activities

List Apple MDM Servers

Lists the MDM servers devices can be assigned to, up to 200 per call.Tool name: @List Apple MDM ServersInput fields:
  • offset (optional) - how many servers to skip, from a previous call’s next_offset. Defaults to 0.
Output data:
  • servers - each server’s id, name, type (MDM, APPLE_CONFIGURATOR or APPLE_MDM), device_count and last_connected_date_time.
  • total, has_more and next_offset - when has_more is true, the agent calls again with offset set to next_offset.
Common use cases:Example rule:

When an IT teammate asks which MDM servers we have in Apple, use @List Apple MDM Servers and reply with each server's name, type and device count.

Gets the status of a device activity (an MDM server assign or unassign) by its ID. Apple keeps activities for 30 days.Tool name: @Get Apple Device ActivityInput fields:
  • activity_id - the activity’s ID, from the Assign Devices to MDM Server workflow action’s Activity ID output or its failure message.
Output data:
  • found - false when Apple has no activity with that ID, for example after 30 days.
  • status, sub_status, created_date_time and completed_date_time.
  • outcome - what the status means: completed for every device, completed for some and failed for others, failed, or still running.
  • download_url - a link to Apple’s per-device results CSV. It comes back only when the requester is a workspace admin, and goes to them privately, never in a reply.
Common use cases:
  • Check whether a device assignment finished
  • See which devices an assignment failed for
Example rule:

When someone asks whether a device assignment finished and gives an activity ID, use @Get Apple Device Activity and tell them the outcome.

These tools are read-only. Use to control how tools run in each rule.

Setup

1

Install the integration

Follow the setup guide to connect Apple School Manager or Apple Business to Ravenna.
2

Configure agent

Open your agent’s settings and add the Apple tools under Tools. An admin has to attach each tool before an agent or rule can call it.
3

Create rules

Write that reference the Apple tools using @ mentions.
4

Test tools

Test your rules on a real request to verify the tools work as expected.

Best practices

  • Ask for the serial number. @Get Apple Device looks up one device by serial, so have the agent ask for it first.
  • Keep it for teammates. The tools read org-wide inventory, so use them in rules for IT teammates or in runs no requester started.
  • Follow up on assignments. Pass the activity ID from an Assign Devices to MDM Server step to @Get Apple Device Activity to check per-device results.
Learn more about agent tools
Last modified on December 4, 2026