Step 7. Configure the tool output
Remember that a tool is a workflow that can be called by a caller, receive data from it, and send data back to the caller.
This tool retrieves the selected user's location and the number of employees in that location, and sends it as a JSON object to the caller workflow.
Convert the data table into a JSON using the Columns to JSON node.
Add a Container Output (JSON) node. In its configuration, click the button "Fill example JSON from input data".
This is the output produced by the tool given the example input.
Move back to the beginning of the workflow and complete Step 8 and 9, where you will set the tool description and configure the tool input.