{
  "openruna_format": "flow-graph-v1",
  "title": "Parse DMARC reports",
  "slug": "parse-dmarc-reports",
  "source_filename": "1296_Datetime_Splitout_Process.json",
  "nodes": [
    {
      "id": "Email Trigger (IMAP)",
      "name": "Email Trigger (IMAP)",
      "integration": "emailReadImap",
      "kind": "action"
    },
    {
      "id": "End date format",
      "name": "End date format",
      "integration": "dateTime",
      "kind": "logic"
    },
    {
      "id": "If multiple records to parse",
      "name": "If multiple records to parse",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Map fields for DB input and parse",
      "name": "Map fields for DB input and parse",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Begin format date",
      "name": "Begin format date",
      "integration": "dateTime",
      "kind": "logic"
    },
    {
      "id": "Input into database",
      "name": "Input into database",
      "integration": "mySql",
      "kind": "action"
    },
    {
      "id": "If issue with DKIM or SPF",
      "name": "If issue with DKIM or SPF",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Rename Keys",
      "name": "Rename Keys",
      "integration": "renameKeys",
      "kind": "action"
    },
    {
      "id": "Rename column for consistency",
      "name": "Rename column for consistency",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Unzip File",
      "name": "Unzip File",
      "integration": "compression",
      "kind": "action"
    },
    {
      "id": "Extract XML data",
      "name": "Extract XML data",
      "integration": "extractFromFile",
      "kind": "action"
    },
    {
      "id": "Parse XML data to JSON",
      "name": "Parse XML data to JSON",
      "integration": "xml",
      "kind": "action"
    },
    {
      "id": "Split Out For Separate Entries",
      "name": "Split Out For Separate Entries",
      "integration": "splitOut",
      "kind": "logic"
    },
    {
      "id": "Slack Post Message On Channel",
      "name": "Slack Post Message On Channel",
      "integration": "slack",
      "kind": "action"
    },
    {
      "id": "Send Error Notification Email",
      "name": "Send Error Notification Email",
      "integration": "emailSend",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "Unzip File",
      "to": "Extract XML data"
    },
    {
      "from": "Rename Keys",
      "to": "Map fields for DB input and parse"
    },
    {
      "from": "End date format",
      "to": "Input into database"
    },
    {
      "from": "End date format",
      "to": "If issue with DKIM or SPF"
    },
    {
      "from": "Extract XML data",
      "to": "Parse XML data to JSON"
    },
    {
      "from": "Begin format date",
      "to": "End date format"
    },
    {
      "from": "Email Trigger (IMAP)",
      "to": "Unzip File"
    },
    {
      "from": "Parse XML data to JSON",
      "to": "If multiple records to parse"
    },
    {
      "from": "If issue with DKIM or SPF",
      "to": "Slack Post Message On Channel"
    },
    {
      "from": "If issue with DKIM or SPF",
      "to": "Send Error Notification Email"
    },
    {
      "from": "If multiple records to parse",
      "to": "Split Out For Separate Entries"
    },
    {
      "from": "If multiple records to parse",
      "to": "Rename column for consistency"
    },
    {
      "from": "Rename column for consistency",
      "to": "Map fields for DB input and parse"
    },
    {
      "from": "Split Out For Separate Entries",
      "to": "Rename Keys"
    },
    {
      "from": "Map fields for DB input and parse",
      "to": "Begin format date"
    }
  ]
}