A system to perform sequence dependent operations in a voice-based computing environment, comprising: a natural language processor component executed by a data processing system to receive, via an interface of the data processing system, data packets comprising one more input audio signals (305, 310) detected by a sensor of a client computing device; the natural language processor component to parse the one or more input audio signals (305, 310) to identify one or more requests and one or more trigger keywords corresponding to the one or more requests; a direct action application programming interface, API, of the data processing system to generate, based on the one or more trigger keywords and in response to the one or more requests, a first action data structure and a second action data structure; and a thread optimization component executed by the data processing system to: obtain data packets of the first action data structure, and to obtain data packets of the second action data structure; determine, based on a heuristic technique applied to the data packets of the first action data structure and the data packets of the second action data structure, a sequence dependency parameter; and combine, based on a comparison of the sequence dependency parameter with a threshold, the data packets of the first action data structure and the data packets of the second action data structure into a single thread, wherein the data processing system is configured to, prior to creating the single thread, prevent transmission of data associated with the first action data structure or the second action data structure. a natural language processor component executed by a data processing system to receive, via an interface of the data processing system, data packets comprising one more input audio signals (305, 310) detected by a sensor of a client computing device; the natural language processor component to parse the one or more input audio signals (305, 310) to identify one or more requests and one or more trigger keywords corresponding to the one or more requests; a direct action application programming interface, API, of the data processing system to generate, based on the one or more trigger keywords and in response to the one or more requests, a first action data structure and a second action data structure; and a thread optimization component executed by the data processing system to: obtain data packets of the first action data structure, and to obtain data packets of the second action data structure; determine, based on a heuristic technique applied to the data packets of the first action data structure and the data packets of the second action data structure, a sequence dependency parameter; and combine, based on a comparison of the sequence dependency parameter with a threshold, the data packets of the first action data structure and the data packets of the second action data structure into a single thread, obtain data packets of the first action data structure, and to obtain data packets of the second action data structure; determine, based on a heuristic technique applied to the data packets of the first action data structure and the data packets of the second action data structure, a sequence dependency parameter; and combine, based on a comparison of the sequence dependency parameter with a threshold, the data packets of the first action data structure and the data packets of the second action data structure into a single thread, wherein the data processing system is configured to, prior to creating the single thread, prevent transmission of data associated with the first action data structure or the second action data structure.