The premise of the question is slightly mistaken: there was no message sent to Mexico that was intercepted by the British and caused U.S. entry. Rather, the Zimmermann Telegram was a secret diplomatic communication sent from Germany to Mexico in January 1917. British intelligence intercepted and deciphered it, revealing Germany's proposal for a military alliance: if the U.S. entered the war, Mexico would attack the U.S. and, in return, regain lost territories in Texas, New Mexico, and Arizona.
The telegram's publication outraged American public opinion and, combined with Germany's resumption of unrestricted submarine warfare against American merchant ships, led President Woodrow Wilson to ask Congress for a declaration of war in April 1917.