Last Updated on April 27, 2021 by Jan Bachelor
Create a Scenario in Integromat
- Create an account or log into Integromat.
- Create a new scenario and select that you desire to use the HTTP module and click on ‘Continue’.
Fill in details for the HTTP module
- Click on the HTTP module and select ‘Make a request’ to insert it into your scenario.
- As the URL, enter the URL to your JamF Pro instance, such as
- Method: GET
- Body type: Raw
- Content type: JSON (application/json)
- Request content – leave blank
- Parse response: tick it
- Tick the ‘Show advanced settings. and scroll down to fill in the ‘User name’ and ‘Password’ – credentials that have API access to your JamF Pro instance.
- Leave all else as default and click on the ‘OK’ button to save the changes
Run the HTTP module to test it
- Right click on the module and select ‘Run this module only’.
- Whether successful or not, click on the number 1 zoom icon to see what happened – focus on the output section.
- In case you get a different output then 200, check the previous step of this guide to identify where the issue lies. For example, error 404 would mean that you enquired for a user that is not found in JamF Pro. Make your changes and re-run the module.
Extract a variable from the HTTP output
- Since we ticked the box to parse the JSON/XML response from the HTTP GET call, the response is already parsed for us. So what we need to do now is just to save whatever details we need from the output into a variable, in order to use it for additional API calls later.
- Create a new module from the Tools -> choose ‘Set a variable’/
- Give a variable a name (e.g. ‘Computer ID), leave it on ‘One cycle’ lifetime.
- As the variable value, click in the white space and choose ‘Data’ -> ‘users’ -> ‘user’ -> ‘links’ -> ‘computers’ -> ‘computer’.
- Integromat’s guide on how to extract a value from a JSON output