{
  "openruna_format": "flow-graph-v1",
  "title": "Notify_user_in_Slack_of_quarantined_email_and_create_Jira_ticket_if_opened",
  "slug": "notify-user-in-slack-of-quarantined-email-and-create-jira-ticket-if-opened",
  "source_filename": "1541_Webhook_Code_Create_Webhook.json",
  "nodes": [
    {
      "id": "has email been opened?",
      "name": "has email been opened?",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Receive Sublime Security Alert",
      "name": "Receive Sublime Security Alert",
      "integration": "webhook",
      "kind": "trigger"
    },
    {
      "id": "Get message details in Sublime Security",
      "name": "Get message details in Sublime Security",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Jira Software",
      "name": "Jira Software",
      "integration": "jira",
      "kind": "action"
    },
    {
      "id": "lookup slack user by email",
      "name": "lookup slack user by email",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "user found?",
      "name": "user found?",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Found, notify user",
      "name": "Found, notify user",
      "integration": "slack",
      "kind": "action"
    },
    {
      "id": "Not Found, Do Nothing",
      "name": "Not Found, Do Nothing",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "No, do nothing",
      "name": "No, do nothing",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Yes, prep flaggedRules table",
      "name": "Yes, prep flaggedRules table",
      "integration": "code",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "user found?",
      "to": "Found, notify user"
    },
    {
      "from": "user found?",
      "to": "Not Found, Do Nothing"
    },
    {
      "from": "has email been opened?",
      "to": "Yes, prep flaggedRules table"
    },
    {
      "from": "has email been opened?",
      "to": "No, do nothing"
    },
    {
      "from": "lookup slack user by email",
      "to": "user found?"
    },
    {
      "from": "Yes, prep flaggedRules table",
      "to": "Jira Software"
    },
    {
      "from": "Receive Sublime Security Alert",
      "to": "Get message details in Sublime Security"
    },
    {
      "from": "Get message details in Sublime Security",
      "to": "has email been opened?"
    },
    {
      "from": "Get message details in Sublime Security",
      "to": "lookup slack user by email"
    }
  ]
}