Planet formation via pebble accretion in externally photoevaporating discs | Synapse