Move window to a new desktop

I was wondering if there is any way to move a window to a new desktop automatically in one action, or even if two action, one for the new desktop and then a move the window to that specific desktop?