The JUNO-D6/D7/D8 is equipped with a step sequencer that records patterns and repeatedly plays back controller actions, such as what you play on the keyboard, as well as operations of the controllers, including the knobs, pitch bend/modulation lever and pedals.
For details on how to use the sequencer, refer to "Playing back/recording with the step sequencer" section in the JUNO-D6/D7/D8 Reference Manual.