{
  "schemaVersion": "flowdrome.workflow.v1",
  "id": "",
  "name": "Standup ping — Discord",
  "version": "0",
  "status": "draft",
  "nodes": [
    {
      "id": "seed",
      "type": "input.inject",
      "label": "Standup time",
      "category": "trigger",
      "config": {
        "contentType": "application/json",
        "payload": {
          "team": "platform"
        }
      },
      "position": {
        "x": 0,
        "y": 0
      }
    },
    {
      "id": "post",
      "type": "output.discord",
      "label": "Ping channel",
      "category": "output",
      "config": {
        "credentialId": "",
        "token": "${credential.discord.token}",
        "channelId": "${credential.discord.channelId}",
        "messageMode": "text",
        "text": "☀️ standup in 5 — {{ $json.team }} team",
        "baseUrl": "",
        "timeoutMs": 15000
      },
      "position": {
        "x": 530,
        "y": 0
      }
    },
    {
      "id": "out",
      "type": "utility.console",
      "label": "Pinged",
      "category": "utility",
      "config": {
        "message": "pinged {{ $json.team }}"
      },
      "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 “discord” 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. Reminds the team channel at standup time."
  }
}