{
  "schemaVersion": "flowdrome.workflow.v1",
  "id": "",
  "name": "Discord — inbound messages",
  "version": "0",
  "status": "draft",
  "nodes": [
    {
      "id": "dc",
      "type": "input.discord",
      "label": "Discord inbound",
      "category": "trigger",
      "config": {},
      "position": {
        "x": 0,
        "y": 0
      }
    },
    {
      "id": "out",
      "type": "utility.console",
      "label": "Bot command",
      "category": "utility",
      "config": {
        "message": "Discord {{ $json.author }}: {{ $json.content }}"
      },
      "position": {
        "x": 530,
        "y": 0
      }
    }
  ],
  "edges": [
    {
      "id": "e0",
      "sourceNodeId": "dc",
      "sourcePort": "output",
      "targetNodeId": "out",
      "targetPort": "input"
    }
  ],
  "triggers": [
    {
      "id": "t0",
      "nodeId": "dc"
    }
  ],
  "meta": {
    "snippets": [],
    "source": "template-gallery",
    "description": "SETUP: register a Discord interactions endpoint (or gateway relay) pointing at this workflow's deployed URL. Test simulates one message."
  }
}