Aug 1, 2024
Operator
Good day, and thank you for standing by. Welcome to Twilio, Inc., Second Quarter 2024 Earnings Conference Call.
[Operator Instructions] Please be advised that today's conference is being recorded. I would now like to hand the conference over to your speaker, Bryan Vaniman, SVP, Investor Relations.
Please go ahead, sir.
Bryan Vaniman
Good afternoon everyone, and thank you for joining us for Twilio's second quarter 2024 earnings conference call. Joining me today are Khozema Shipchandler, Chief Executive Officer; and Aidan Viggiano, Chief Financial Officer.
As a reminder, we will disclose non-GAAP financial measures on this call. Definitions and reconciliations between our GAAP and non-GAAP results can be found in our earnings release, and our earnings presentation posted on our IR website at investors.twilio.com.
We will also make forward-looking statements on this call, including statements about our future outlook and goals. Such statements are subject to known and unknown risks and uncertainties that could cause actual results to differ materially from those described.
Many of these risks and uncertainties are described in our SEC filings, including our most recent Form 10-K in our forthcoming Form 10-Q. Forward-looking statements represent our beliefs and assumptions only as of the date such statements are made.
We disclaim any obligation to update any forward-looking statements, except as required by law. With that, I'll hand it over to Khozema and Aidan, who will discuss our Q2 results, and then we'll open the call for Q&A.
Khozema Shipchandler
Thank you, Bryan. Good afternoon, everyone, and thank you for joining us today.
Twilio delivered a good second quarter. We are driving durable profitable growth, as we exceeded our Q2 guidance with $1.1 billion in revenue and $175 million in non-GAAP income from operations, both record levels.
We also delivered nearly $200 million of free cash flow, another strong quarter of cash generation. We're running the business with increased rigor, which we are confident will drive improved growth rates and additional operating leverage over time.
The communications business is performing very well. And in our Segment business, we're focused on executing on our commitments.
While reducing non-GAAP operating losses, in Q2, we saw continued signs that Communications growth is stabilizing, including quarter-over-quarter improvement in international trends. And I'm encouraged that our more disciplined approach is unlocking teams to innovate on the critical areas that will enable Twilio to power the future of customer engagement.
What's true across the board is that in the world of AI, contextual data is paramount. According to Twilio's Annual State of Customer Engagement Report, we found 84% of businesses said they provide good or excellent customer engagement, yet only 54% of consumers agree.
That disconnect is because brands need help contextualizing the data they have. By combining our leading communications capabilities, our rich and contextual data and the power of AI, we are uniquely positioned to unlock smarter, and more personalized interactions for brands that enable them to reimagine customer engagement and drive more revenue at a lower cost.
Let's turn to our business highlights. Our Twilio Communications business had a strong quarter, with revenue of $1.01 billion, up 7% on an organic basis year-over-year on the back of solid performance in messaging, acceleration in e-mail growth and strong ISV contributions.
During the quarter, we also focused on a number of initiatives that we believe will deliver improved growth rates over time. In the near-term, we expect our growth to be fueled by our expanded network of partners and ISVs, self-service enhancements and cross-sell opportunities.
While we have made meaningful progress in all these areas, I'm particularly pleased with our success in securing new partners and ISVs. During the quarter, we achieved an eight-figure renewal with a leading customer experience provider who will continue to embed Twilio Voice within their customer service software solution.
Additionally, we signed a new partnership with Omnisend, an omnichannel marketing platform targeting the SMB retail market, who will help Twilio expand its footprint into new geographies. We also extended our co-sell partnerships with Airship, BloomReach, Braze, Insider and Klaviyo into new geographical territories to power a data-enriched end-to-end marketing experience.
During the quarter, we delivered the strongest revenue growth in our self-service business since Q1 of 2023, and we continue to make enhancements to simplify the onboarding experience for customers. For example, we introduced a new console experience that helps make recommendations, guiding customers to which products they should be using based on their desired use cases and outcomes.
And our new one sign-up streamlines the log-in process by having one log-in for a customer to access all of their Twilio accounts and products. In the medium-term, product innovation will be an important growth lever as we deliver on our vision to unlock smarter, more personalized interactions for brands.
In the quarter, we started to see success with our newer higher-margin software products. These are products that leverage AI such as Verify and Voice Intelligence, as well as platform innovations that natively embed AI and machine learning, such as traffic optimization engine and engagement suite to drive greater deliverability and better customer engagement.
These products are rapidly gaining adoption and can become meaningful growth drivers over time. One customer, a leading mortgage lender, adopted both Voice and Verify in the quarter and expanded their messaging usage.
Twilio won this competitive cross-sell deal as our platform enabled the customer to have a single console with both voice and messaging for the thousands of bankers who are using it on a daily basis to better connect with customers. Since deploying Twilio, the company is already seeing a 38% increase in SMS response rates and a 20% increase in banker productivity.
More importantly, these products are gaining adoption because they are simple to use, trusted and intelligent. Verify is a great example.
Not only is it growing quickly, it is saving our customers millions of dollars by mitigating fraud at the source and to continue deliver better outcomes for our customers leveraging AI, our SMS pumping protection product went GA during the quarter, which can be enabled with one click and automatically detects and blocks fraudulent messages, a growing issue in certain international markets. We're continuing to deliver on our promise of natively integrating segment capabilities into our Communications business.
This quarter, we released personalized virtual agent into private beta, marking Twilio's second product that natively embeds Segment into Communications. With personalized virtual agent, our customers receive a truly personalized interactive voice response.
Each caller receives a custom menu of options based on the recent interactions with company, purchase history, recent support inquiries and responses to marketing e-mails, among others. The product combines voice, virtual agent with Google Dialogflow agent, studio and unified profiles into one simple product that is guided with this wizard setup.
We're excited with this release as it marks the next chapter for how IVR is evolving in the world of AI. And lastly, Twilio's Communications products continue to receive recognition as we were named a leader in the Gartner Magic Quadrant for CPaaS for the second year in a row, positioned highest for ability to execute and ranked number one in four of six use cases in the Gartner Critical Capabilities Report.
Twilio is also named a leader in IDC's Marketscape Worldwide Contact Center as a Service. Turning to our Twilio Segment business.
Segment delivered revenue of $75 million, up 3% year-over-year, as we continue to focus on delivering against the priorities that we outlined in our operational review March. We made solid progress in improving customer time to value and executing on data warehouse interoperability.
We also made significant improvements in our cost profile in Q2 and lowered our non-GAAP operating losses by 25% quarter-over-quarter. We also continue to focus on driving efficiencies in our go-to-market, which yielded an increase in sales productivity, and in Q2, over 40% of our new bookings were multiyear deals versus 17% in the prior year period.
A key win for Segment included our largest deal of the quarter, a seven-figure deal with IBM. On the product front, we delivered on new capabilities to further enhance our interoperability with data platforms and data warehouses.
In Q2, we released Data Graph and linked audiences into public beta, which seamlessly integrate with data warehouses, including Databricks and Snowflake. With linked audiences, marketers can now activate centralized data in the warehouse and combine it with real-time events and predictive AI traits to generate unified customer profiles and audience cohorts to deliver targeted, personalized experiences.
We've gotten a great response, and we're excited to have customers like LegalZoom and Trade Me deploy and realize the benefits and efficiencies. We are also improving time to value for customers.
During the quarter, our use case in-product onboarding went live, guiding customers through a customized onboarding experience, focused on their specific business goal. Additionally, our CDP co-pilot is reducing instrumentation and development time.
Customers can now deploy and get value from segment four times faster, and we are seeing early signs that we're able to accelerate business wins for our customers. Overall, I'm very pleased with the progress we've made so far this year.
We're continuing to deliver durable, profitable growth while driving strong free cash flow, and we have a number of organic initiatives underway that we believe will reaccelerate revenue growth over time. I'm incredibly energized about our opportunity to become the leading customer engagement platform combining communications, contextual data and AI to deliver intelligent engagement and outsized outcomes for our customers.
And I remain very confident in our ability to deliver accelerated growth and continued improvements in our free cash flow profile over the coming quarters. And with that, I'll turn it over to Aidan.
Aidan Viggiano
Thank you, Khozema, and good afternoon, everyone. Jumping into our results.
Total Q2 revenue was $1.083 billion, up 4% reported and 7% organically year-over-year. Communications revenue was $1.007 billion, up 4% reported and 7% organically year-over-year.
And segment revenue was $75 million, up 3% year-over-year. Our Q2 revenue growth was driven by solid performance in messaging, acceleration in e-mail growth as well as continued strength in our IFC business.
We continue to see signs of growth stabilization in our Communications business, and we saw modest sequential improvements in international as well. Company organic revenue growth and communications organic revenue growth were both roughly 100 basis points lower due to the sun setting of the software component of our Zipwood business.
We continue to expect modest headwinds over the balance of 2024 from this decision, which we estimate will be roughly 90 basis points in Q3 and 80 basis points for the full year. Our Q2 dollar-based net expansion rate was 102%.
Our dollar-based net expansion rate for Communications was 102% and 103% when excluding Zipwhip software customers. Our dollar-based net expansion rate for segment was 93%, driven by elevated churn and contraction.
Mitigating churn and contraction remains a focus for segment, and we're encouraged by the progress we made in Q2. As Khozema discussed, we are improving time to value and customers are deploying use cases four times faster as a result.
We are also pushing for more multiyear deals with customers. And in Q2, over 40% of Segment's new bookings were multiyear deals versus 17% a year ago.
We delivered record non-GAAP gross profit of $577 million, up 7% year-over-year. This represented a non-GAAP gross margin of 53.3%, up 110 basis points year-over-year and down 70 basis points quarter-over-quarter.
As we noted in our Q1 call, we recognized elevated cloud hosting credits that benefited Q1 gross margins by roughly 80 basis points, and those credits did not recur in Q2. Non-GAAP gross margins for our Communications and Segment business units were 51.8% and 73.4%, respectively.
As we noted in Q1, we are migrating part of segments architecture to new infrastructure providers this year to recognize greater efficiencies. We began migrating data to our new provider in Q2, and during this transition, we will incur some overlapping vendor expenses.
As a result, we expect reduced segment gross margins until the migration is complete, which is expected to occur by the end of 2024. Non-GAAP income from operations came in well ahead of expectations at $175 million, up 46% year-over-year even after including $20 million of incremental expenses associated with our new employee cash bonus program.
As a reminder, we initiated this program at the start of the year to reduce stock-based compensation expenses over time. The outperformance was driven by our revenue beat, improvements in Segment's expense profile and ongoing cost discipline.
Our non-GAAP operating margin of 16.2% was up 460 basis points basis points year-over-year and 100 sequentially. Non-GAAP income from operations for our Communications business was $250 million and non-GAAP loss from operations for our Segment business was [$16] million, a $5 million improvement quarter-over-quarter.
GAAP loss from operations was $19 million, as we continue to make solid progress on our path towards GAAP profitability. Stock-based compensation as a percentage of revenue was 13.6% excluding restructuring costs, down 130 basis points quarter-over-quarter and 110 year-over-year.
We generated free cash flow of $198 million, driven by continued operating efficiency and ongoing collection strength. This was up $126 million year-over-year.
And over the last 12 months, we generated free cash flow of $781 million. We're making good progress on free cash flow, and we believe there are significant opportunities to drive more leverage over time.
Finally, we're continuing to execute on our $3 billion share repurchase program and have repurchased over $700 million since our last earnings call in May. This brings our total repurchases to date over $2.2 billion.
We intend to complete the remaining $800 million of authorized repurchases by year-end, which should meaningfully reduce our outstanding share count over the next two quarters. Our total shares outstanding as of June 30 was $164 million, down 10% year-to-date.
Moving to guidance. For Q3, we're initiating a revenue target of $1.085 billion to $1.095 billion, representing year-over-year growth of 5% to 6% on both a reported and organic basis.
We've now lapped our two divestitures from last year, so starting in Q3, reported and organic quarterly revenue will be equivalent. Given year-to-date performance, we're narrowing our full year organic revenue growth guidance range to 6% 7%.
Turning to our profit outlook. For Q3, we expect non-GAAP income from operations of $160 million to $170 million.
Given our outperformance in Q2, we're raising our full year non-GAAP income from operations guidance to $650 million to $675 million. Finally, we remain focused on improving our free cash flow profile, and we continue to expect that full year free cash flow generation will be in line with our full year non-GAAP income from operations.
We're encouraged by the performance we delivered in the first half as we stabilized revenue growth and delivered strong profitability and free cash flow. As we look ahead, we're investing in initiatives to reaccelerate growth, but we continue to plan and guide prudently.
We are progressing towards GAAP profitability, and we continue to see significant opportunities for margin expansion and improve free cash flow over time. I'm excited to continue to build on the progress we've made to deliver improved outcomes for both our customers and our shareholders over the coming quarters.
And with that, we'll now open it up to questions.
Operator
[Operator Instructions] And our first question is going to come from the line of James Fish with Piper Sandler. Your line is open.
Please go ahead.
Quinton Gabrielli
Hi guys. This is Quinton on for Jim Fish.
Thanks for taking our question. Maybe first on the margin side.
You've talked about a fair amount of incremental leverage opportunity coming from automation of back-office activities like contract management or that product activation. What inning are we in for those operational improvements across the business?
And as we think about the upside you've shown relative to guide so far this year, how much of the cost savings is coming from these process improvements versus just better rigor around managing spend?
Aidan Viggiano
Great. Why don't I start and then Khozema can jump in.
Listen, I think we've done a lot on margins. If you just take a step back and think about the expansion that we got last year, and then coming into this year, our initial guide assumes very little operating margin leverage.
If you look at our current guide for the year at the midpoint, it's about -- I'd say 250-ish basis points of margin expansion. So we continue to find opportunities to get expansion on both the OpEx line as well as the stock-based compensation line.
And we don't think we're done. So we've talked about fact that we're going to get the Segment business to break even by the second quarter of next year.
That business lost $16 million in the second quarter, $21 million in the first quarter. So you can see that there's an opportunity to get leverage there.
And then in addition, in the broader business, I'd say in communications and the G&A functions, there's a lot of work that we're doing around, you mentioned automation. We are a remote-first company, so we do have the opportunity to leverage lower-cost geographies as a way to continue to get efficiencies.
And so we're doing all of these things and continue to do them. I would say, I'm not going to give you an exact inning, but I would say we have a lot of opportunity to continue to expand margins both on the non-GAAP side as well as the GAAP side, including stock-based compensation.
In terms of the profit, in terms of what's coming from improvements in process versus cost discipline, I think it's a little bit of both. It's largely cost discipline though.
We continue to believe that we can run this company without having to add a lot of incremental costs. You've seen us do that now for 6 quarters in a row.
And so we're really just much more disciplined in terms of how we're running the company, and that's something Khozema drives pretty regularly with the team.
Quinton Gabrielli
That's helpful. And then on the revenue front, it sounds like we found stabilization here and actually quarter-over-quarter things sound a little bit better, which is great.
But we also tightened the kind of revenue targets for the full year down slightly. Can you talk about what's embedded into the guide here?
What assumptions or incremental prudence that you've incorporated relative to the kind of last guide that we got last quarter? Thank you.
Aidan Viggiano
Yes. Thanks for the question.
I'll take it again. So we grew year-to-date through the first half 7%.
We're guiding to 5% to 6% in Q3. We think the 6% to 7% that we gave for the year is a reasonable range based on what we're seeing today.
I will say that, in the second quarter, we did see a number of very encouraging trends in the business. In particular, we saw strength in messaging, as you know, that's our biggest business.
Solid performance, both in the U.S., which we've seen for the majority of this year, but also, we saw modestly improving trends internationally. We also saw growth in our e-mail business accelerate and really -- and Khozema kind of talked about it in his prepared remarks as well, really strong performance in both our ISV and self-serve businesses.
So we saw a number of encouraging trends. We guided to 5% to 6% in the third quarter.
I mean if you think about how we guided in Q1 and Q2, that was 4% to 5%. So you are seeing some of these trends kind of flow through to the guidance.
But we are still a usage-based business. So there is inherent variability that comes along with that.
And so we'll continue to plan, we'll continue to guide prudently just given that and given the dynamic market that we're operating in.
Khozema Shipchandler
I'll just add one thing maybe, which is, we're not really planning for any kind of like macroeconomic environment like whether it's good or bad. I think we're just planning to run the company well.
As we've alluded to a number of times, running it with better discipline, better rigor, and it's obviously a dynamic global market with a lot of different kind of geo things going on, macro things going on. I think irrespective of however any of that plays, we feel really good about the guidance that we've given.
And as Aidan said, we'll continue to be prudent about the way that we guide.
Operator
Thank you. And one moment as we move on to our next question.
Our next question is going to come from the line of Mark Murphy with JPMorgan. Your line is open.
Please go ahead.
Mark Murphy
Thank you very much. So Khozema, you mentioned an acceleration in e-mail.
And I'm curious to what you might attribute to that, whether it's more marketing e-mails, transactional e-mails, notification e-mails, is there anything there that makes you think companies are finally starting to lean back in to outbound marketing activities or on customer engagement initiatives in a way that maybe they weren't a couple of quarters ago? And then I have a quick follow-up.
Khozema Shipchandler
Yes. Hi, Mark, thanks for the question.
I wouldn't say that it necessarily breaks down exactly the way that you said it. I think, in general, we are seeing just kind of elevated trends in that product, in that part of the business.
I think maybe to just sort of build on your question through the Twilio lens a little bit more. I think where we continue to see a lot of opportunity, and I think e-mail and the other channels to be beneficiaries is, as Communications become more targeted, as they start to leverage more contextual data as we kind of talked about, especially through vis-à-vis Segment, I think there is an opportunity to grow the e-mail channel.
And because what you and I will receive as consumers will be much more specified, much more targeted, much richer communication. And I think we're seeing a little bit of that.
And I think a lot of that is kind of really more on the comm. But in the quarter, I wouldn't necessarily point to one thing or the other.
I'd just say kind of elevated trends on the product.
Mark Murphy
Okay. Thank you for the color.
And then Aidan, I wanted to ask you -- I want to try to combine two quick thoughts. But you generated, I think, $1.25 a share of free cash flow in Q2, right?
So it arguably puts you on a $5 per share run rate, which is a lot. And just -- is anything one-time in nature?
Or could we roll that kind of free cash flow margin into 2025? And then I did just -- relating back to that question of the narrowing of the range, we're trying -- I think we're trying to reconcile there's a lot of positive comments and then that got narrowed just a hair below the midpoint.
And I'm just wondering, we've had a Starbucks, Nike, McDonald's, Tesla, there's been a lot of consumer slowdown. Is there anything there factoring in maybe to how you're thinking about the holiday season?
Khozema Shipchandler
Yes. So Mark, let me start on the back end of the question, and then I'll let Aidan pick up on the cash flow side.
So I think from an industry perspective, I mean, I mean, kind of the good news for Twilio is, you know the company really well. You've been following us for a long time.
Like we have a very, very distributed consumer -- or customer base, right? So over 300,000 customers, we're spread across a wide variety of industries.
And so we're always, quite frankly, looking at like some up, some down in a variety of these different areas. I would say as it relates to some of the kind of areas that you pointed to, like let's maybe just categorize those as retail, e-commerce.
I would say that, that was an area that was particularly good for us. I wouldn't necessarily point to a seasonal or holiday trend.
I'm not necessarily forecasting like a strong like Thanksgiving or Christmas season. Like again, we're kind of planning for like whatever the period is, we just want to run the company well, and guide prudently through all that.
So that's kind of how we're thinking about the way that we're running the company, first and foremost, and then how that ends up translating into some of our revenue guidance. And then on cash, Aidan, do you want to take that?
Aidan Viggiano
Yes. So thanks, Mark.
And if you look at our cash performance kind of through the first half or at least in the second quarter, you can see that cash is kind of outpacing our non-GAAP profit. It was about 18% free cash flow margin in the second quarter.
What we saw there is largely a function of the profit generation and the continued leverage that we're getting on OpEx, but we did see collections improvement in the quarter by about two days. Now on the flip side, AP kind of went the other way.
So net-net, working capital really wasn't a help. So I wouldn't call out anything specifically.
What we said for the year is you should expect free cash flow generation to be in line with non-GAAP profit. I think that's a good framework in terms of how to think about it for the time.
Mark Murphy
Thank you very much.
Operator
[Operator Instructions] And our next question is going to come from the line of Arjun Bhatia with William Blair. Your line is open.
Please go ahead.
Unidentified Analyst
Great. Thank you.
This is Chris on for Arjun. I was hoping to get a little extra color on segment NRR in the quarter.
It was great to see the improvement there. And I was wondering if you think that we're starting to stabilize and kind of found the bottom and how we should think about the trends going forward.
Aidan Viggiano
Yes. I think as it relates to segments dollar-based net expansion was 93% this quarter was 92% last quarter.
The business grew 3%. What we said for this year is you should expect that business to -- the growth in that business to be muted.
I think that continues to be our expectation for the year. I'd say 93% DBNE per segment was kind of in line with what we were expecting.
And really there, we're focused on a number of different initiatives that we laid out in March kind of at our operational review readout. And we're focused on a couple of things.
number one, we're improving our customers' onboarding experience. Historically, it took way too long for customers to get to value.
And now Thomas and the team have implemented a number of different things that get customers to value on their first use case in a matter of weeks versus historically in a matter of months. In addition to that, we're making a concerted effort to sign more multiyear deals, and that will help with churn and contraction.
That will help with dollar-based net expansion as a result. And this quarter of the bookings that we signed, 40% of them were multiyear deals versus just 17% a year ago.
And then the last thing we committed to at the Investor Day or one of the other things I should say, it's not the only thing, we are making progress on our data warehouse interoperability, which is important for our customers. And in Q2, we introduced linked audiences.
And what that does is it allows customers to combine their Segment CDP data with data in their warehouses. And that's, again, an important thing for our customer base.
So all of those things combined, we think, over time, help DBNE. It won't be immediate.
DBNE is a trailing 12-month metric. So it's not going to reflect immediately.
But as these things start to get traction, we think that it will send that metric in the right direction kind of over time.
Unidentified Analyst
Great. Thank you.
That's very helpful color. And the second question for me was, the personalized agent sounds like an interesting way to kind of combine the Communications platform with segment.
I was curious what kind of reception is getting from customers so far? And what other kinds of products are on the road map that incorporate Segment into Communications?
Thanks.
Khozema Shipchandler
Yes, I don't want to get too far ahead of the roadmap. So maybe I'll park that for an upcoming period when we report.
I think in terms of the launch that we just did, I think it's pretty early. I mean we just launched the thing a few weeks ago.
I think based on the customer conversations that I've had, people are really, really excited about it. I think the whole notion of being able to leverage like a detailed profile about a customer in the context of a conversation is incredibly important.
And I think it also has the benefit of like creating a feedback loop. So, the customers that I've spoken with are very, very excited.
I know our team is very excited based on the customers they've spoken with as well. But in terms of financials, it's just early days, and we'll have to kind of report back on that later.
Unidentified Analyst
Got it. Thanks and congrats on the quarter.
Operator
Thank you. Our next question is going to come from the line of Taylor McGinnis with UBS.
Your line is open. Please go ahead.
Taylor McGinnis
Yes, hi. Thanks so much for taking my question.
So, maybe going back to the full year revenue outlook and some of the assumptions, you talked about an improvement in trends with international and e-mail. Segment growth improved slightly, and then you talked about some of the ISC and co-sell opportunities.
So, I know you have some initiatives in place to accelerate growth that could be additive to a stabilization in the macro in the second half. So when you think about like those playing out and what might be embedded into the guide, it looks like the revenue guide just assumes trends remain status quo and maybe doesn't assume much upside from some of these initiatives that you have in place.
So, could you just provide a little bit more color there and what those opportunities could look like? Thanks.
Aidan Viggiano
Yes, I think we -- I'll start. I think we believe that the Q4 implied math gets you to kind of a reasonable range of outcomes based on kind of what we're seeing in the business today.
As we said, you kind of call them out, a number of different trends that we're seeing that have been encouraging over the last three months. I think the thing to remember is Twilio is very dynamic, and we are usage-based.
And so we continue to just plan prudently in that light. And so we just want to make sure that we're not getting ahead of ourselves.
We're not reading into too much in terms of what we're seeing over three months, and that's just the right thing to do, just given how dynamic the market is.
Khozema Shipchandler
Yes, Taylor, the only thing I'd add is, I mean, again, just to maybe reinforce a few points that Aidan made, I think we see encouraging signs like we feel good about the guidance that we provided today. I think as these things start to materialize, like we'll feel better, obviously, but there are a number of things that are happening inside the business today that certainly feel like they could be juice for growth down the road, and we're optimistic about it.
But we're going to continue guiding prudently just given that it's a dynamic environment.
Taylor McGinnis
Perfect. And then just maybe as a follow-up.
So, when you talked about some of the improvement in trends that you saw in 2Q, maybe you could just talk about like linearity a little bit in the quarter. And as we start 3Q, would you say that a lot of those trends have remained similar or any notable changes to flag?
Thanks.
Khozema Shipchandler
Yes, I mean we're not going to get ahead of that, obviously, Taylor. I think orders don't have sort of the linearity dynamics maybe of what you see in some other companies.
I think, again, we saw pretty positive trends as a result of the three-month period that we're talking about today. I certainly don't want to get into July or anything like that, but based on what we've seen, we're encouraged, and we'll play through Q3.
Taylor McGinnis
Great. Thank you so much.
Operator
Thank you and one moment for our next question. Our next question is going to come from the line of Meta Marshall with Morgan Stanley.
Your line is open. Please go ahead.
Meta Marshall
Great. Thanks.
I just wanted to kind of confirm on political traffic. I know in the past, you guys have kind of kind of said that, that was going to be an area that you weren't going to invest in.
But just as we head into a political season, just should we still be thinking about kind of political traffic either to e-mail or text message is something that's kind of more limited contribution to Twilio. Thanks.
Aidan Viggiano
Yes. I think as it relates to political.
We always have some political traffic kind of rolling through our business. But I wouldn't expect outsized revenue impact as a result of the upcoming election.
We have registration requirements. We talked about before with you in an acceptable use policy.
And if customers don't meet those policies, we won't take the traffic. So it ensures a level of quality on our networks and on our platform, and it protects consumers.
We think that's the right thing to do. So there might be a little bit of a bump, but it won't be anything outsized as we get closer to the U.S.
elections.
Meta Marshall
Great. Thanks.
And then just -- I noted you guys said international improvement. Is that some end-market improvement?
Or do you kind of attribute that to some of the ISV relationships growing? Just how do you think about kind of some of that improvement that you're seeing or ISV traction?
Thanks.
Aidan Viggiano
Yes. So we did see this kind of improving trend with the international.
It's international -- when we say international, just to be clear, it's internationally terminating messaging traffic. And I would say it was a bit broad-based.
It wasn't 1 group of customers or the other. So that was encouraging in a way to see that it was a bit broader versus just an ISV group or another group of customers.
But beyond that, I wouldn't call out anything specific. It wasn't a certain industry.
It wasn't a certain market where traffic was terminating that spiked or jumped out to us. It was broader.
Meta Marshall
Great. Thanks.
Operator
Thank you, One moment for our next question. Our next question is going to come from the line of Ryan Koontz with Needham & Co.
Your line is open. Please go ahead.
Ryan Koontz
Hi. Thanks for the question.
I wanted to ask about, any of the changes you're making in go-to-market? And these sorts of changes that are driving the strength you're able to reduce costs?
And any progress in automation that you've had on the Comm side of the business?
Khozema Shipchandler
Yes. I mean, just to maybe go back a little bit, like we made a number of changes, obviously, that unfortunately resulted in a whole series of layoffs towards the earlier part of last year.
So now we're kind of back into 2023. And starting to see some of those -- well, a lot of those changes, frankly, especially in our cost profile, rippled through the business.
In terms of some of the rationale behind what we did at the time and what we were kind of expecting going forward, like we did want to orient many more of our customers towards self-serve. And I think we pointed to a couple of things in the quarter around self-serve like it was definitely one of the better quarters for that kind of cohort and segment of customers.
It's a very, very kind broad set like you can have customer spending small amounts of money up to kind decently large sized amounts of money. And so it's a kind of broad category that has seen strength.
There's a number of things that we did from a technology perspective as well to make sure that we were able to onboard, onramp customers in a way that they could kind of activate with Twilio fairly quickly as well. So I'd say very good progress, quite frankly, in terms of self-serve as it relates to communications.
Maybe just the other thing that you didn't ask, but just to kind of touch on is also with -- as Aidan talked about in some of her comments, also good progress, I wouldn't call it per se self-serve, but in terms of just accelerating customers to value on the Segment side as well, like we have done a lot of work from a technology perspective there, too, to increase just the velocity with, which customers get value. And then I think more broadly, there is work that we're doing on automation.
But we still think that our ability to drive cost leverage here that there is a lot of opportunity going forward and we'll continue doing that.
Ryan Koontz
That’s helpful, Khozema. Thank you.
Khozema Shipchandler
Thanks.
Operator
Thank you. One moment for our next question.
Our next question is going to come from the line of Alex Zukin with Wolfe. Your line is open.
Please go ahead.
Rich Magnus
This is Rich Magnus on for Alex Zukin. I just wanted to double-click again on that Segment onboarding process you've been speaking about.
I know in the past, you mentioned leveraging AI to produce friction in that process and drive that faster TTV through the self-serve process. But can you help us think through any impacts there that might drive Segment growth this year and next year?
Thanks.
Khozema Shipchandler
Yes. Maybe I'll just touch on the technology, and I think Aidan kind of answered the growth dynamics earlier.
Like just to reiterate that last point, I think growth will continue to be muted for the foreseeable future. We've been saying that for a while.
And I think while there are improvements in the business, like just given the nature of it, that will take a little bit of time to show up in growth. That said, I'd say there's a handful of things that have been really encouraging for us in the Segment business.
I think one is that time to value work. It's a combination of AI work that we've done to help customers get through the process faster.
There's also use case onboarding wizard that's also allowed customers to kind of get to their specified use case a lot faster. And then I'd say also a really concerted effort by our customer success team.
And so the combination of those things, I think, has been pretty powerful, frankly, in really accelerating what Aidan characterized as what was months in the past, down to weeks, and what we've kind of quantified as a 4x improvement from where we were.
Operator
Thank you. And we’ll move on to our next question.
One moment please. Our next question is going to come from the line of Pat Walravens with Citizens JMP.
Your line is open. Please go ahead.
Austin Cole
Great. Thanks for taking my question.
This is Austin Cole on for Pat. You touched on a eight-figure renewal during the quarter and Twilio Voice being a part of that.
Can you just talk about how you view your opportunity with respect to AI at this point and the opportunity with these products? Thank you.
Khozema Shipchandler
Yes. I mean, I think that our opportunity around AI is everything to do with data.
And I think as it relates to data, in particular, contextual data, and I think the reason that we feel such deep conviction about that that is, is all of our customers are sitting on proprietary data sets that will never be turned over to an LLM, right? Like that is the part of their business, and our ability to work with them vis-à-vis Segment and ingest that data, use it as part of an overall profile that we have for every single unique consumer to be able to drive a personalization experience back to them, I think that is like a really, really significant unlock that's going to be able to drive business more -- drive growth, excuse me, more broadly for the overall business.
But it's that combination of communications plus contextual data, plus AI and the mix as well. Now just to go back to voice for a second since that's where you started, I think what's interesting about voice as it relates to all of that is, is that AI the most natural in voice, right?
Like in the same way that you and I are interacting right now, like it's just very normal to kind of have a conversation in that that way. And I think the AI capabilities are becoming so sophisticated in their ability to process natural language in this way that, when paired with contextual data, I think that is going to be a heck of an opportunity.
And I think a lot of that value will end up accruing, not just a messaging and e-mail, which we feel optimistic about, but certainly voice as well.
Austin Cole
Great. Thanks.
Thank you.
Operator
Thank you. And one moment for our next question.
Our next question is going to come from the line of Nick Altmann with Scotiabank. Your line is open.
Please go ahead.
Nick Altmann
Awesome. Thanks, guys.
You guys sort of have a reenergized focus on your ISVs. You named a handful of new partnerships in the prepared remarks.
I guess when you look at sort of the other potential ISV partnerships out there, how much runway is there left in terms of acquiring new ISVs? And then just any sense of what percentage of the business is coming from those partners and any goalposts in terms of how fast that part of the business is growing?
Khozema Shipchandler
Yes. We're not going to break out the kind of percentage of revenue per se, but I'll just maybe provide a little bit of color based on your question.
Obviously, there's been strong growth there, and we feel very positive about it, as you probably ascertained from our remarks. It is a sizable portion of the Communications revenue today, and it's also growing faster than our total organic growth rate, and it's got, quite frankly, compelling gross margins as well.
So that all feels pretty good. As you alluded to, we did sign a number of large ISV deals in the quarter, including wins with payment processors, customer experience companies, marketing automation platforms and more.
I'd say those businesses have been growing pretty well, too. And so I think we'll accrue some benefits as a result of their growth.
I think, two, it's not just domestic, which kind of speaks to like how much runway is there here. We're also seeing good growth in EMEA and APJ as well.
And I think what's kind of important from our standpoint is, is that these relationships are evolving beyond just being like software providers using our channels to kind of real relationships where we have an opportunity to kind of deepen what we do with the likes of a Braze, Klaviyo, Insider, Bloomreach, Airship, because we've got like these strong integrations within the ecosystem. We're engaged in co-sell and re-sell with a lot of these partners.
And I think that also allows us to get some go-to-market leverage in terms of expanding our own go-to-market footprint. So yes, I mean, we do feel pretty good about where we are.
We do feel pretty good about the growth trajectory and we're excited.
Nick Altmann
Awesome. Thanks, guys.
Operator
Thank you And one moment for our next question. And our next question is going to come from the line of William Power with Baird.
Your line is open. Please go ahead.
Yanni Samoilis
Great. Thanks for taking the question.
This is Yanni Samoilis on for Will. I know you mentioned earlier in the call that retail and retail and e-commerce was pretty good this past quarter, and it seems like things are pretty stable overall across the business.
But I guess, outside of retain on e-commerce, are there any other verticals out there that are standing out right now or maybe even showing signs of upward inflection?
Aidan Viggiano
When we look at our top industries, I'd say most of them are actually up and growing. I'd say for us, social and messaging continues to be one that's a little bit softer, though it's a relatively smaller portion of our business right now, so financial services is one that has been strong.
You called out retail, e-commerce and a couple of others that have been pretty strong as well. But broadly, I'd say most of the industries that we operate in, our top industries are growing.
Yanni Samoilis
And just to be clear, growing, but not necessarily growing above the company average or...
Aidan Viggiano
In some cases, they are, in some cases, it's more in line with the company average.
Yanni Samoilis
Okay. Thank you.
Operator
[Operator Instructions] And our next question is going to come from the line of Derrick Wood with TD Cowen. Your line is open.
Please go ahead.
Derrick Wood
Great. Thanks.
Just on AI, I guess, stepping back a bit from a high level, Khozema, how would you describe the generative AI monetization strategy for Twilio, whether via direct modernization or just indirect implications?
Khozema Shipchandler
Yes. I think there's a couple of angles there.
So let me just -- I'll spend a moment on it. So I think, first of all, where we kind of started with AI some of the earliest use cases was really around fraud and trust, right?
So we embedded AI capabilities to help protect the consumer just given that we want to, at all costs, protect the vitality of the ecosystem. And so there were a number of things that we introduced to basically protect the consumer, like Fraud Guard, Verify, these are different products we've announced over course of the last year.
So as we talked about in the remarks today, like we're seeing good activity there. I think as we go, it's really going to be maybe AI-centered predominantly around contextual data.
I think where we see the big unlock here, certainly for our business and as it relates to what we've referred to for a long time and others do, too, is customer engagement like the real unlock there like through personalization at scale. And so the way that you get there is having this like really rich contextual data about every single one of us as consumers that comes through segment.
Being able to relay that back to a consumer vis-à-vis some sort of communication channel and then obviously using AI to supercharge that. So, one example might be like we have a voice intelligence product.
We talked about that today, too, where we're able to extract insights as a result of the context of that call, use it both inside of that call that's taking place at the time, but also feed it back into a profile so that, that data can be reused for the next time that, that brand ends up interacting with the consumer. Similarly, I think where that will increasingly go is, you'll end up without perhaps even realizing it, although I think we'll probably disclose it, interacting with an automated agent where all of that is taking place seamlessly.
They're able to process natural language. Like I don't think that's per se like our strategic advantage in AI.
There're a number of companies that can do that. We'll partner with those organizations.
What they don't have, though, which I think is our secret sauce is going to be how do you get to that specific consumer and thousands of others at exactly the same moment in time to deliver each of them a unique and personalized experience. That comes from contextual data, and that's why we're so bent on ensuring that we deliver Segment natively inside of Communications so that we can deliver that entire workload.
Does that make sense, Derrick?
Derrick Wood
Yes, that's great color. Thanks.
Helpful. Thank you.
Operator
[Operator Instructions] Our next question is going to come from the line of Samad Samana with Jefferies. Your line is open.
Please go ahead.
Billy Fitzsimmons
Thanks for taking my question. This is actually Billy Fitzsimmons on for Samad.
In terms of a short one, stock-based comp is down year-over-year in both dollar terms and percentage terms. Just how should we think about where that can kind of go from here and kind of what inning we're in on that front?
Obviously, you guys have highlighted changes to the bonus structure what should it kind of bottom? Is there more -- is there more work to be done -- continue to decline the way it has been?
Thank you.
Aidan Viggiano
Yes. Thanks for the question.
There's more leverage here in terms of the opportunity ahead. So we were 13.6% SBC in the quarter, was down 110 basis points year-over-year, it was down 13% quarter-over-quarter.
It's on the back of the things that you've talked about. We've reduced, obviously, the size of the employee base we've made a shift in terms of compensation mix away from equity and towards cash.
And we've also been more selective in terms of which employees get equity in the company. Those changes have already been made.
In terms of looking forward, we think that there's still opportunity here for leverage. We had originally, several years ago, committed to 10% to 12% SBC as a percentage of revenue by 2027.
So we're still marching our way down the cost curve to get that kind of range.
Billy Fitzsimmons
And then if I can ask a second one. Can we just double-click on Communications' gross margins in the quarter?
Any changes there, positive or negative, both domestically and/or internationally? And then how should be kind of think about the Comms gross margins going forward given some of the new initiatives and given the mix of growth in new products going forward?
Aidan Viggiano
Yes. In the quarter, you'll see that Comm's gross margins were up year-over-year but down quarter-over-quarter.
The quarter-over-quarter dynamic was just really driven by the hosting credits that we saw come through in the first quarter. They were about 80 basis points of a quarter.
That didn't repeat quarter-over-quarter. So that's kind of the headwind.
Year-over-year, they were up 160 basis points or so, and that was driven by two things, product mix. So, one, when we talked about e-mail growing or accelerating that obviously helps margins because it's higher margin than the Comm's average.
The other dynamic in that year-over-year growth was the fact that we had had the dispositions last year that we did that in July timeframe. They were at a gross margin rate that was dilutive to the company.
And so not having those -- the value first and IoT businesses actually helps margins. As we think about going forward, margins in the Communications business tend to be driven really by mix.
That product mix between messaging or voice or mix, et cetera, or termination mix within the messaging business. So if you're terminating more internationally or domestically, that will drive different gross margins.
I think the framework we think about and kind of think about and kind of look at look at is we look at the unit economics. And so is we look at the unit economics.
remain attractive, we'll continue to do the business. So you should expect, I'd say, in the near term, some level of some level of variability in the Communications' gross margin.
Billy Fitzsimmons
Super helpful. Thank you very much,
Operator
[Operator Instructions] And our next question comes from line of Mike Funk with Bank of America. Your line is open.
Please go ahead.
Unidentified Analyst
Great. Yes.
This is Matt on for Mike Funk. Appreciate taking the question.
Can you help us think about the second half revenue guidance in the context new customer additions versus uplift from expansion? And then looking beyond even this year from a high level, how you might expect the growth algorithm to shake out in the medium term?
Aidan Viggiano
I missed the second part. No, we're not going to get into the split in terms of how to think about the revenue guidance.
That's not something we've ever really done in terms of splitting the guide between new customers and expansion. I think we feel good about the 5% to 6% range we gave you for Q3, the 6% to 7% for the year.
And we talked about the dynamic market, the fact that we're usage based and the fact that we will continue to plan prudently just given those dynamics. Can you just repeat your second question?
I missed it.
Unidentified Analyst
Yes. It was just high level about how the growth algorithm could shake out over the next couple?
But it seems like -- that's not something you're going to comment on?
Aidan Viggiano
Yes, not today. At a later time.
Thank you.
Unidentified Analyst
Thank you.
Operator
Thank you. And I'm showing no further questions.
So this is going to conclude today's question-and-answer session. Ladies and gentlemen, this is also going to conclude today's conference call.
Thank you for participating, and you may all disconnect. Everyone, have a great day.
Goodbye.