WorkflowIn
nameName (string)required
description object
anyOf
- string
- null
string
nodesobject[]required
edgesobject[]required
WorkflowIn
{
"description": "Sends a Slack message when a vehicle enters the warehouse zone",
"edges": [
{
"id": "edge-1",
"source": "trigger-1",
"target": "action-1"
}
],
"name": "Warehouse Entry Notification",
"nodes": [
{
"data": {
"config": {
"geofence_ids": [
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
],
"type": "geofence_enter"
},
"label": "Geofence Entry",
"triggerType": "geofence_enter"
},
"id": "trigger-1",
"position": {
"x": 100,
"y": 100
},
"type": "triggerGeofence"
},
{
"data": {
"actionType": "slack",
"config": {
"channel": "#dispatch",
"message": "Vehicle {{device.name}} entered {{geofence.name}}"
},
"label": "Notify Dispatch"
},
"id": "action-1",
"position": {
"x": 400,
"y": 100
},
"type": "actionSlack"
}
]
}