Without access to the actual messages, and assuming that there is only one DOGHOUSE line per message and not the three shown, the following should work for messages where the text is in paragraphs as shown in the example mock-up.
Option Explicit
Sub MailtoFolder()
Dim myNameSpace As Outlook.NameSpace
Dim myInbox As Outlook.MAPIFolder
Dim myDestFolder As Outlook.MAPIFolder
Dim olFolder As Outlook.MAPIFolder
Dim bFolder As Boolean
Dim myItem As Outlook.MailItem
Dim sText As String
Dim vText As Variant, vItem As Variant
Dim strCity As String, strNumber As String
Dim i As Long
Set myNameSpace = Application.GetNamespace("MAPI")
Set myInbox = myNameSpace.GetDefaultFolder(olFolderInbox)
For Each myItem In myInbox.Items
If InStr(UCase(myItem.Body), "DOGHOUSE") > 0 Then
For Each olFolder In myInbox.folders
If olFolder.Name = "Orders" Then
bFolder = True
Exit For
End If
Next olFolder
If Not bFolder Then myInbox.folders.Add "Orders"
Set myInbox = myInbox.folders("Orders")
sText = myItem.Body
vText = Split(sText, Chr(13))
'Check each line of text in the message body
For i = 1 To UBound(vText)
If InStr(1, UCase(vText(i)), "[CITY") > 0 Then
vItem = Split(vText(i), Chr(58))
strCity = Trim(vItem(1))
End If
If InStr(1, UCase(vText(i)), "DOGHOUSE") > 0 Then
vItem = Split(vText(i), Chr(58))
strNumber = Trim(vItem(1))
End If
Next i
If Not strNumber = "" Then
bFolder = False
For Each olFolder In myInbox.folders
If olFolder.Name = strNumber Then
bFolder = True
Exit For
End If
Next olFolder
If Not bFolder Then
myInbox.folders.Add strNumber
End If
Set myDestFolder = myInbox.folders(strNumber)
If Not strCity = "" Then
bFolder = False
For Each olFolder In myDestFolder.folders
If olFolder.Name = strCity Then
bFolder = True
Exit For
End If
Next olFolder
If Not bFolder Then
Set myDestFolder = myDestFolder.folders.Add(strCity)
End If
Else
bFolder = False
For Each olFolder In myDestFolder.folders
If olFolder.Name = "Not Qualified" Then
bFolder = True
Exit For
End If
Next olFolder
If Not bFolder Then
Set myDestFolder = myDestFolder.folders.Add("Not Qualified")
End If
End If
myItem.Move myDestFolder
End If
End If
Next myItem
Set myDestFolder = Nothing
Set myInbox = Nothing
Set olFolder = Nothing
Set myNameSpace = Nothing
Set myItem = Nothing
End Sub