The object of the present invention is to provide a compound and a pharmaceutical composition having excellent Syk inhibitory activity. According to the present invention, a nicotinamide derivative represented by the following formula (I) or a salt thereof is provided,