The invention pertains to the field of adaptive cell immunotherapy. It provides with the genetic insertion of exogenous coding sequence(s) that help the immune cells to direct their immune response against infected or malignant cells. These exogenous coding sequences are more particularly inserted under the transcriptional control of endogenous gene promoters that are sensitive to immune cells activation.Such method allows the production of safer immune primary cells of higher therapeutic potential.