To optimize the reaction conditions, a series of screenings are conducted. First, LiBr is replaced by NaCl, the most common salt, while it is insoluble in THF. Several selected bromine or lithium salts have been tried, but none of them can be used in this reaction due to solubility issues (Supplementary information, Table 2). Then, to verify the importance of TPPA, some phosphamides are tried due to their similar structure (Supplementary information, Table 3, Entry 2-10). However, without the specific substance, other phosphamides cannot provide an environment with low internal resistance which results in a weak current making a repercussion on substrate conversion. Thus, considering the original conception of SEI formation, some additives that are widely applied in Li batteries are considered according to relative research (Supplementary information, Table ). These substances do form a SEI layer while only fluorinated ethyl phosphate regulates the solvent resistance to an appropriate range. However, the aniline yield is not more than 20% after 3 h, which is inferior to the adding TPPA one. Next, the effect of electrode factors on performance is examined (Supplementary information, Table ).