{
  "schemaVersion": "flowdrome.workflow.v1",
  "id": "",
  "name": "Deploy notice — Slack",
  "version": "0",
  "status": "draft",
  "nodes": [
    {
      "id": "seed",
      "type": "input.inject",
      "label": "Release cut",
      "category": "trigger",
      "config": {
        "contentType": "application/json",
        "payload": {
          "version": "v2.4.0",
          "notes": "CSV exports 3× faster"
        }
      },
      "position": {
        "x": 0,
        "y": 0
      }
    },
    {
      "id": "post",
      "type": "output.slack",
      "label": "Post to #deploys",
      "category": "output",
      "config": {
        "credentialId": "",
        "token": "${credential.slack.token}",
        "channel": "#deploys",
        "messageMode": "text",
        "text": "🚀 {{ $json.version }} deployed — {{ $json.notes }}",
        "threadTsField": "",
        "baseUrl": "",
        "timeoutMs": 15000
      },
      "position": {
        "x": 530,
        "y": 0
      }
    },
    {
      "id": "out",
      "type": "utility.console",
      "label": "Posted",
      "category": "utility",
      "config": {
        "message": "posted {{ $json.version }}"
      },
      "position": {
        "x": 1060,
        "y": 0
      }
    }
  ],
  "edges": [
    {
      "id": "e0",
      "sourceNodeId": "seed",
      "sourcePort": "output",
      "targetNodeId": "post",
      "targetPort": "input"
    },
    {
      "id": "e1",
      "sourceNodeId": "post",
      "sourcePort": "output",
      "targetNodeId": "out",
      "targetPort": "input"
    }
  ],
  "triggers": [
    {
      "id": "t0",
      "nodeId": "seed"
    }
  ],
  "meta": {
    "snippets": [],
    "source": "template-gallery",
    "description": "SETUP: add a “slack” credential in Admin → Credentials, then Test sends for real — the node is pre-wired with ${credential.…} references. Until then this demo saves and verifies but the send will report the missing credential. Posts the release note to your #deploys channel."
  }
}