Sync devices from Kandji to a Slack list

Recipe ToolsMarketingDeveloper ToolAPI IntegrationData ParserUtilities

What it does

When someone runs a Slack command, this automation fetches devices from Kandji every 24 hours. It parses each device record and sends the compiled list back to Slack so the channel has current inventory.

Who it's for

IT teams who need to view Kandji devices in Slack without leaving the conversation.

How teams use this

View all Kandji devices in Slack

Run the Slack command to see the current device list without opening Kandji. The automation fetches and formats the data automatically so the team stays in Slack.

Monitor device inventory on a schedule

The 24-hour refresh keeps the Slack list current without manual updates. Operations teams can check device status anytime without running the command again.

Filter devices by status or type

Add a condition to the JSON parser to only include active devices or a specific device type in the Slack list. This requires setting a filter on the parsed records before they are sent.

How it works

  1. Check for devices every 24 hours. This automation runs on a 24-hour schedule to keep the device list current in Slack.
  2. Fetch devices from Kandji. Send an HTTP request to the Kandji API to retrieve all devices and their details for processing and compilation.
  3. Parse each device record. Extract device information from the Kandji response so each device can be added to the list individually.
  4. Send the device list to Slack. Post the compiled device inventory to Slack so the team can see all Kandji devices in one message.