Twilio Inc. (TWLO) - Get Report shares surged Wednesday after the cloud communications group topped Wall Street's third quarter earnings forecast and boosted its sale guidance following its $2 billion takeover of email technology company SendGrid Inc. (SEND) .

Twilio, whose customers include Facebook's (FB) - Get Report WhatsApp and ride-sharing group Uber Technologies, said non-GAAP earnings for the three months ending in September came in at $4.3 million, or 7 cents a share, topping Street estimates and swinging from a $7.7 million loss over the same period last year. Group revenues, Twilio said, surged 68% to $169 million, well ahead of the $150.5 million consensus, allowing it to boost its four-quarter sales outlook to a range of $183 million to $185 million. It also sees non-GAAP earnings of between 3 cents and 4 cents a share over the fourth quarter.

"The investments we are making in innovation and go-to-market are clearly working," CEO Jeff Lawson told investors on a conference call late Tuesday. "As I've been discussing throughout the year, our top two priorities for 2018 are to further our push into a strategic software platform for customer engagement through our build out of the Engagement Cloud, and to expand our position as developers' first choice for communications."

Twilio shares jumped 33.5% to $94.82 in midday trading on Wednesday.

WhatsApp revenues comprised around 6% of sales, Twilio said, while Uber contributed around 4%. 

"We are very excited about products like Flex coming on board and we think in the future will be meaningful driver of revenue as well," Lawson said. "But today, it's still largely our core products, voice and messaging, that are driving most of our performance."

Earlier this month, Twilio -- allows companies to integrate voice, text, video and chat communications to their web sites and apps -- agreed to a $2 billion all-cash takeover of SendGrid, an email delivery services, in its biggest-ever deal since going public in 2016.