{
  "openruna_format": "flow-graph-v1",
  "title": "0685_Limit_Webhook_Send_Webhook",
  "slug": "0685-limit-webhook-send-webhook",
  "source_filename": "0685_Limit_Webhook_Send_Webhook.json",
  "nodes": [
    {
      "id": "Parse Webhook",
      "name": "Parse Webhook",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Close Modal Popup",
      "name": "Close Modal Popup",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Route Message",
      "name": "Route Message",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "ServiceNow Modal",
      "name": "ServiceNow Modal",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Webhook",
      "name": "Webhook",
      "integration": "webhook",
      "kind": "trigger"
    },
    {
      "id": "Send 200",
      "name": "Send 200",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "ServiceNow",
      "name": "ServiceNow",
      "integration": "serviceNow",
      "kind": "action"
    },
    {
      "id": "Channel - Notify User no Incidents Matched",
      "name": "Channel - Notify User no Incidents Matched",
      "integration": "slack",
      "kind": "action"
    },
    {
      "id": "DM - Notify User no Incidents Matched",
      "name": "DM - Notify User no Incidents Matched",
      "integration": "slack",
      "kind": "action"
    },
    {
      "id": "Were Incidents Found?",
      "name": "Were Incidents Found?",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "No Matches - Was a Channel Selected?",
      "name": "No Matches - Was a Channel Selected?",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Sort by Most Recent",
      "name": "Sort by Most Recent",
      "integration": "sort",
      "kind": "action"
    },
    {
      "id": "Retain First 5 Incidents",
      "name": "Retain First 5 Incidents",
      "integration": "limit",
      "kind": "logic"
    },
    {
      "id": "Loop Over Items",
      "name": "Loop Over Items",
      "integration": "splitInBatches",
      "kind": "logic"
    },
    {
      "id": "Format Incident Details",
      "name": "Format Incident Details",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Format Slack Message",
      "name": "Format Slack Message",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Concatenate Incident Details",
      "name": "Concatenate Incident Details",
      "integration": "summarize",
      "kind": "action"
    },
    {
      "id": "DM - Send Matching Incidents",
      "name": "DM - Send Matching Incidents",
      "integration": "slack",
      "kind": "action"
    },
    {
      "id": "Channel - Send Matching Incidents",
      "name": "Channel - Send Matching Incidents",
      "integration": "slack",
      "kind": "action"
    },
    {
      "id": "Was a Channel Selected?",
      "name": "Was a Channel Selected?",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Respond to Slack Webhook",
      "name": "Respond to Slack Webhook",
      "integration": "respondToWebhook",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "Webhook",
      "to": "Parse Webhook"
    },
    {
      "from": "ServiceNow",
      "to": "Were Incidents Found?"
    },
    {
      "from": "Parse Webhook",
      "to": "Route Message"
    },
    {
      "from": "Route Message",
      "to": "Respond to Slack Webhook"
    },
    {
      "from": "Route Message",
      "to": "Close Modal Popup"
    },
    {
      "from": "Route Message",
      "to": "Send 200"
    },
    {
      "from": "Loop Over Items",
      "to": "Concatenate Incident Details"
    },
    {
      "from": "Loop Over Items",
      "to": "Format Incident Details"
    },
    {
      "from": "Close Modal Popup",
      "to": "ServiceNow"
    },
    {
      "from": "Sort by Most Recent",
      "to": "Retain First 5 Incidents"
    },
    {
      "from": "Format Slack Message",
      "to": "Was a Channel Selected?"
    },
    {
      "from": "Were Incidents Found?",
      "to": "Sort by Most Recent"
    },
    {
      "from": "Were Incidents Found?",
      "to": "No Matches - Was a Channel Selected?"
    },
    {
      "from": "Format Incident Details",
      "to": "Loop Over Items"
    },
    {
      "from": "Was a Channel Selected?",
      "to": "Channel - Send Matching Incidents"
    },
    {
      "from": "Was a Channel Selected?",
      "to": "DM - Send Matching Incidents"
    },
    {
      "from": "Respond to Slack Webhook",
      "to": "ServiceNow Modal"
    },
    {
      "from": "Retain First 5 Incidents",
      "to": "Loop Over Items"
    },
    {
      "from": "Concatenate Incident Details",
      "to": "Format Slack Message"
    },
    {
      "from": "No Matches - Was a Channel Selected?",
      "to": "Channel - Notify User no Incidents Matched"
    },
    {
      "from": "No Matches - Was a Channel Selected?",
      "to": "DM - Notify User no Incidents Matched"
    }
  ]
}