International audienceFrom Swift monitoring of a sample of active galactic nuclei (AGN) we found a transient X-ray obscuration event in Seyfert-1 galaxy NGC 3227, and thus triggered our joint XMM-Newton, NuSTAR, and Hubble Space Telescope (HST) observations to study this event. Here in the first paper of our series we present the broadband continuum modelling of the spectral energy distribution for NGC 3227, extending from near infrared (NIR) to hard X-rays. We use our new spectra taken with XMM-Newton, NuSTAR, and the HST Cosmic Origins Spectrograph in 2019, together with archival unobscured XMM-Newton, NuSTAR, and HST Space Telescope Imaging Spectrograph data, in order to disentangle various spectral components of NGC 3227 and recover the...