Create message and action structure.