build message process flow