Automatically move messages to a mailbox in Mail.app

If you have a Gmail account, try going to gmail.com and making the specific senders go to a new folder. This should sync and do it on the Mail app to. I am not aware of any method to make it go to a new inbox.