After nearly a week of speculation, Salesforce confirmed its intent to acquire popular workforce chat platform Slack in a deal valued at $27.7 billion on Tuesday, marking the enterprise cloud giant’s largest-ever acquisition and positioning it to compete more forcefully with the nation’s second-largest tech firm by market capitalization, Microsoft.