1. A method of generating a sequence of interactions, comprising: defining, by a processor, one or more sequence types, each sequence type based on a time frame; receiving, by a distributed computing system comprising a plurality of computing nodes, interaction data describing an interaction event between a customer and an agent; associating the received interaction event with the customer's identifier in a customer history table, wherein the customer history table stores historical interaction events for the customer; and assigning the received interaction event to a sequence, based on the defined one or more sequence types.