{
  "schemaVersion": "flowdrome.workflow.v1",
  "id": "",
  "name": "Slack — inbound events",
  "version": "0",
  "status": "draft",
  "nodes": [
    {
      "id": "slack",
      "type": "input.slack",
      "label": "Slack events",
      "category": "trigger",
      "config": {},
      "position": {
        "x": 0,
        "y": 0
      }
    },
    {
      "id": "out",
      "type": "utility.console",
      "label": "Ops channel feed",
      "category": "utility",
      "config": {
        "message": "Slack {{ $json.event.user }} in {{ $json.event.channel }}: {{ $json.event.text }}"
      },
      "position": {
        "x": 530,
        "y": 0
      }
    }
  ],
  "edges": [
    {
      "id": "e0",
      "sourceNodeId": "slack",
      "sourcePort": "output",
      "targetNodeId": "out",
      "targetPort": "input"
    }
  ],
  "triggers": [
    {
      "id": "t0",
      "nodeId": "slack"
    }
  ],
  "meta": {
    "snippets": [],
    "source": "template-gallery",
    "description": "SETUP: point a Slack app's Event Subscriptions at this workflow's deployed URL — mentions and DMs become runs. Test simulates one event."
  }
}