Debt - Narrative (Details) | | | | 1 Months Ended | 3 Months Ended | 6 Months Ended | |
May 09, 2023 USD ($) | Oct. 12, 2022 USD ($) | Nov. 01, 2021 USD ($) extension | Jun. 30, 2020 USD ($) | Jan. 31, 2024 USD ($) | Jan. 31, 2023 USD ($) | Jan. 31, 2024 USD ($) | Jan. 31, 2023 USD ($) | Jul. 31, 2023 USD ($) |
Debt Instrument [Line Items] | | | | | | | | | |
Restrictive covenant, ratio of total gross debt to EBIDTA | | | 3.25 | | | | | | |
Restrictive covenant, ratio of annual interest expense to EBIDTA | | | 3 | | | | | | |
Net carrying value of debt | | | | | $ 5,950,000,000 | | $ 5,950,000,000 | | $ 6,120,000,000 |
Unamortized debt issuance costs | | | | | 50,000,000 | | 50,000,000 | | 10,000,000 |
Interest paid on revolving credit facility | | | | | 57,000,000 | $ 65,000,000 | 122,000,000 | $ 114,000,000 | |
Unsecured Debt | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Aggregate principal amount | | | $ 5,700,000,000 | | | | | | |
Unsecured Debt | The Rocket Science Group LLC (Mailchimp) | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Net carrying value of debt | | | 4,700,000,000 | | 0 | | 0 | | |
Line of Credit | Revolving Credit Facility | Subsidiary | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Secured revolving credit facilities | | | | | 500,000,000 | | 500,000,000 | | $ 430,000,000 |
Revolving Credit Facility Due 2026 | Revolving Credit Facility | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Aggregate principal amount | | | 1,000,000,000 | | | | | | |
Option to increase credit amount | | | $ 400,000,000 | | | | | | |
Unsecured Term Loan Due 2024 | Base Rate | Minimum | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | 0% | | | | | | |
Unsecured Term Loan Due 2024 | Base Rate | Maximum | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | 0.125% | | | | | | |
Unsecured Term Loan Due 2024 | SOFR | Minimum | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | 0.625% | | | | | | |
Unsecured Term Loan Due 2024 | SOFR | Maximum | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | 1.125% | | | | | | |
Unsecured Term Loan Due 2024 | Unsecured Debt | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Aggregate principal amount | | | $ 4,700,000,000 | | | | | | |
Unsecured revolving credit facility | Unsecured Debt | Term loan | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Interest paid | | | | | | | 42,000,000 | 102,000,000 | |
Unsecured revolving credit facility | Line of Credit | Revolving Credit Facility | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Revolving credit facility, increase limit | | | $ 250,000,000 | | | | | | |
Unsecured revolving credit facility extension | extension | | | 2 | | | | | | |
Secured revolving credit facilities | | | | | 0 | | 0 | | |
Unsecured revolving credit facility | Line of Credit | Revolving Credit Facility | Base Rate | Minimum | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | 0% | | | | | | |
Unsecured revolving credit facility | Line of Credit | Revolving Credit Facility | Base Rate | Maximum | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | 0.10% | | | | | | |
Unsecured revolving credit facility | Line of Credit | Revolving Credit Facility | SOFR | Minimum | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | 0.69% | | | | | | |
Unsecured revolving credit facility | Line of Credit | Revolving Credit Facility | SOFR | Maximum | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | | 1.10% | | | | | | |
The Senior Unsecured Notes | Senior Unsecured Notes | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Proceeds from issuance | | | | $ 1,980,000,000 | | | | | |
Unamortized discount | | | | 2,000,000 | | | | | |
Debt issuance costs | | | | $ 15,000,000 | | | | | |
Interest paid | | | | | | | 10,000,000 | 12,000,000 | |
Redemption price (in percent) | | | | 101% | | | | | |
Net carrying value of debt | | | | | 1,500,000,000 | | 1,500,000,000 | | |
Secured Revolving Credit Facility, 2019 | Line of Credit | Revolving Credit Facility | Subsidiary | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Interest paid | | | | | | | 10,000,000 | $ 6,000,000 | |
Line of credit, current borrowing capacity | $ 300,000,000 | | | | | | | | |
Line of credit, maximum borrowing capacity | 500,000,000 | | | | | | | | |
Secured revolving credit facilities | | | | | $ 275,000,000 | | $ 275,000,000 | | |
Line of credit, remaining borrowing capacity | $ 200,000,000 | | | | | | | | |
Interest rate at period end | | | | | 6.94% | | 6.94% | | |
Secured Revolving Credit Facility, 2019 | Line of Credit | Revolving Credit Facility | Subsidiary | Asset Pledged as Collateral | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Secured amount | | | | | $ 981,000,000 | | $ 981,000,000 | | |
Secured Revolving Credit Facility, 2019 | Line of Credit | Revolving Credit Facility | Minimum | Subsidiary | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Interest rate on unused portion of line of credit | 0.25% | | | | | | | | |
Secured Revolving Credit Facility, 2019 | Line of Credit | Revolving Credit Facility | Maximum | Subsidiary | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Interest rate on unused portion of line of credit | 0.75% | | | | | | | | |
Secured Revolving Credit Facility, 2019 | Line of Credit | Revolving Credit Facility | SOFR | Subsidiary | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | 1.50% | | | | | | | | |
Secured Revolving Credit Facility, 2022 | Line of Credit | Revolving Credit Facility | Subsidiary | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Interest paid | | | | | | | 5,000,000 | | |
Line of credit, current borrowing capacity | | $ 225,000,000 | | | | | | | |
Line of credit, maximum borrowing capacity | | 500,000,000 | | | | | | | |
Secured revolving credit facilities | | | | | $ 225,000,000 | | $ 225,000,000 | | |
Line of credit, remaining borrowing capacity | | $ 275,000,000 | | | | | | | |
Interest rate at period end | | | | | 6.62% | | 6.62% | | |
Secured Revolving Credit Facility, 2022 | Line of Credit | Revolving Credit Facility | Subsidiary | Asset Pledged as Collateral | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Secured amount | | | | | $ 620,000,000 | | $ 620,000,000 | | |
Secured Revolving Credit Facility, 2022 | Line of Credit | Revolving Credit Facility | Minimum | Subsidiary | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Interest rate on unused portion of line of credit | | 0.20% | | | | | | | |
Secured Revolving Credit Facility, 2022 | Line of Credit | Revolving Credit Facility | Maximum | Subsidiary | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Interest rate on unused portion of line of credit | | 0.40% | | | | | | | |
Secured Revolving Credit Facility, 2022 | Line of Credit | Revolving Credit Facility | SOFR | Subsidiary | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Basis spread on variable rate | | 1.30% | | | | | | | |
The 2023 Senior Unsecured Notes | Senior Unsecured Notes | | | | | | | | | |
Debt Instrument [Line Items] | | | | | | | | | |
Proceeds from issuance | | | | $ 3,960,000,000 | | | | | |
Unamortized discount | | | | 20,000,000 | | | | | |
Debt issuance costs | | | | $ 24,000,000 | | | | | |
Net carrying value of debt | | | | | $ 4,000,000,000 | | $ 4,000,000,000 | | |