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 detected by a sensor of a client computing device , the natural language processor component to parse the one or more input audio signals 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; 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 ; 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 ; and identify a series of sequence dependent actions for the single thread; and a content selector component to select a content item for at least one of the series of sequence dependent actions, the data processing system to provide the content item to the client computing device. 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 detected by a sensor of a client computing device , the natural language processor component to parse the one or more input audio signals 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; 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 ; 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 ; and identify a series of sequence dependent actions for the single thread; and 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 ; 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 ; and identify a series of sequence dependent actions for the single thread; and a content selector component to select a content item for at least one of the series of sequence dependent actions, the data processing system to provide the content item to the client computing device. <EOS>