Sync Kandji device enrollment to Google Sheets

Recipe ToolsMarketingWorkatoDeveloper ToolAPI IntegrationDocument/FileSales Enablement

What it does

When this automation runs daily at 5 AM, it fetches device info from Kandji via HTTP. It updates the spreadsheet row when a device is enrolled in Kandji but not yet marked as enrolled in the sheet.

Who it's for

IT teams who track device enrollment status across Kandji and need the spreadsheet to stay current without manual updates.

How teams use this

Keep enrollment status current daily

Run the sync every morning so the spreadsheet reflects which devices are enrolled in Kandji without anyone having to check manually or update rows by hand.

Alert when enrollment is delayed

Extend this automation to send a Slack message when a device has been in Kandji for more than a week but the spreadsheet is not yet marked enrolled. That flags devices that need attention.

Track enrollment across multiple sheets

Retarget this automation to run the same sync logic on a different Google Sheet so teams can track enrollment in their own workbooks without duplicating the setup.

How it works

  1. Run daily at 5 AM. This automation starts every day at 5:00 AM to check for device enrollment changes in Kandji.
  2. Fetch device info from Kandji. Send an HTTP GET request to Kandji to retrieve the latest device info so the automation has current enrollment data to compare against the spreadsheet.
  3. Search for matching spreadsheet rows. Search Google Sheets for rows where the email matches a device from Kandji, then check if that row is already marked as enrolled.
  4. Update the enrollment status. Update the spreadsheet row to mark the device as enrolled in Kandji when the conditions are met, keeping the sheet in sync with Kandji.