Our motives are extremely important in Buddhism. Karma, again, results from intentional action.
This is one of many reasons why a consistent meditation practice is essential. Your consistent meditation practice will gradually reveal to you motivations you did not know you had. Remember that the key cognitive and psychological move in Buddhism is the realization.