Aims. Massive stars form in clusters, and their influence on nearby starless cores is still poorly understood. The protocluster associated with IRAS 22134+5834 represents an excellent laboratory for studying the influence of massive YSOs on nearby starless cores and the possible implications in the clustered star formation process. Methods. IRAS 22134+5834 was observed in the cm range with (E)VLA, 3 mm with CARMA, 2 mm with PdBI, and 1.3 mm with SMA, to study both the continuum emission and the molecular lines that trace different physical conditions of the gas. Results. The multiwavelength centimeter continuum observations revealed two radio sources within the cluster, VLA1 and VLA2. VLA1 is considered to be an optically thin UCH region with a size of 0.01 pc that sits at the edge of the near-infrared (NIR) cluster. The flux of ionizing photons of the VLA1 corresponds to a B1 ZAMS star. VLA2 is associated with an infrared point source and has a negative spectral index. We resolved six millimeter continuum cores at 2 mm, MM2 is associated with the UCH region VLA1, and other dense cores are distributed around the UCH region. Two high-mass starless clumps (HMSC), HMSC-E (east) and HMSC-W (west), are detected around the NIR cluster with N 2 H + (1-0) and NH 3 emission, and they show different physical and chemical properties. Two N 2 D + cores are detected on an NH 3 filament close to the UCH region with a projected separation of ∼8000 AU at the assumed distance of 2.6 kpc. The kinematic properties of the molecular line emission confirm that the UCH region is expanding and that the molecular cloud around the NIR cluster is also expanding. Conclusions. Our multiwavelength study has revealed different generations of star formation in IRAS 22134+5834. The formed intermediate-to-massive stars show a strong impact on nearby starless clumps. We propose that the starless clumps and HMPOs formed at the edge of the cluster while the stellar wind from the UCH region and the NIR cluster drives the large scale bubble.