Go to Action Settings Tab and Initiate Action Type Creation
Navigate to the Action Settings tab and click on the Create Action Type button
3
Fill Details
Enter the action type name, choose the payload, select an icon, and optionally set a timeout duration from the dropdown. Then, click on the Submit button to create the metadata key.
There are 3 payload options in 4 variations available while creating the action type.
None
You can choose this for action types like Shutdown which don’t need any payload to be sent to the device while triggering the action.
JSON
You can choose this for action types which need the JSON payload to be sent to the device while triggering the action.
JSON Data via form
You can choose this for action types like Update CAN Config, which enables JSON data to be sent via a form to the device while triggering the action.To choose this option:
Select JSON from the dropdown.
Enable the Allow user to input data via form toggle.
Enter the JSON Schema along with the JSON UI Schema while creating or editing the action type.