A method for synthesizing a compound of formula wherein each R independently represents an optionally substituted aryl, heteroaryl, alkyl, perfluoroalkyl, cycloalkyl, alkoxy, aryloxy, acyl, carboxyl, hydroxyl, halogen, amino, nitro, cyano, sulfo or sulfhydryl group, in ortho, meta or para position to the cycloalkylamine moiety; R 1 represents a hydrogen atom or a lower alkyl group; R 2 represents a hydrogen atom; R 3 represents a hydrogen group, substituted aryl, heteroaryl, alkyl, perfluoroalkyl, cycloalkyl, alkoxy, aryloxy group; Y represents an oxygen atom, a sulfur atom, a NH group, a NR 4 group or a CH 2 group; R 4 represents a hydrogen atom or an alkyl, aryl or a heteroaryl group; n and m each independently represents an integer from 1 to 5; or a pharmaceutically acceptable salt thereof; or a precursor thereof; wherein the method comprises step (c) and optionally one or more of the following steps (a) and (b): (a) reacting a compound of formula wherein R, R 3, Y, n and m are as defined above in relation to the compound of formula with an oxygenating agent, a first additive, and a second additive in a solvent in a fluidic network or in a batch process under thermal and/or photochemical conditions to form a compound of formula wherein R, R 3, Y, n and m are as defined above in relation to the compound of formula, (b) reacting a compound of formula with a nitrogen containing nucleophile in the presence of a third additive and/or a solvent in the fluidic network or in a batch process under thermal conditions to form a compound of formula wherein R, R 1, R 3, Y, n and m are as defined above in relation to the compound of formula; and/or (c) reacting a compound of formula in a fluidic network, optionally in the presence of a fourth additive, under thermal conditions to form a compound of formula; wherein one or more of steps (a) and (b) is carried out in a fluidic network; wherein a fluidic network comprises one or more micro- and/or meso-channels having an internal dimension of from 100 μm to 2000 μm; wherein a lower alkyl group is a saturated optionally substituted straight- or branched- chain hydrocarbon containing from 1 to 4 carbon atoms. wherein each R independently represents an optionally substituted aryl, heteroaryl, alkyl, perfluoroalkyl, cycloalkyl, alkoxy, aryloxy, acyl, carboxyl, hydroxyl, halogen, amino, nitro, cyano, sulfo or sulfhydryl group, in ortho, meta or para position to the cycloalkylamine moiety; R 1 represents a hydrogen atom or a lower alkyl group; R 2 represents a hydrogen atom; R 3 represents a hydrogen group, substituted aryl, heteroaryl, alkyl, perfluoroalkyl, cycloalkyl, alkoxy, aryloxy group; Y represents an oxygen atom, a sulfur atom, a NH group, a NR 4 group or a CH 2 group; R 4 represents a hydrogen atom or an alkyl, aryl or a heteroaryl group; n and m each independently represents an integer from 1 to 5; or a pharmaceutically acceptable salt thereof; or a precursor thereof; wherein the method comprises step (c) and optionally one or more of the following steps (a) and (b): (a) reacting a compound of formula wherein R, R 3, Y, n and m are as defined above in relation to the compound of formula with an oxygenating agent, a first additive, and a second additive in a solvent in a fluidic network or in a batch process under thermal and/or photochemical conditions to form a compound of formula wherein R, R 3, Y, n and m are as defined above in relation to the compound of formula, (b) reacting a compound of formula with a nitrogen containing nucleophile in the presence of a third additive and/or a solvent in the fluidic network or in a batch process under thermal conditions to form a compound of formula wherein R, R 1, R 3, Y, n and m are as defined above in relation to the compound of formula; and/or (c) reacting a compound of formula in a fluidic network, optionally in the presence of a fourth additive, under thermal conditions to form a compound of formula; (b) reacting a compound of formula with a nitrogen containing nucleophile in the presence of a third additive and/or a solvent in the fluidic network or in a batch process under thermal conditions to form a compound of formula wherein R, R 1, R 3, Y, n and m are as defined above in relation to the compound of formula; and/or (c) reacting a compound of formula in a fluidic network, optionally in the presence of a fourth additive, under thermal conditions to form a compound of formula; wherein one or more of steps (a) and (b) is carried out in a fluidic network; wherein a fluidic network comprises one or more micro- and/or meso-channels having an internal dimension of from 100 μm to 2000 μm; wherein a lower alkyl group is a saturated optionally substituted straight- or branched- chain hydrocarbon containing from 1 to 4 carbon atoms.