Create a flow to dim a lamp

I’m new to Homey and flows. I have problems with creating a flow for the divices below.

I have a zigbee dim-puck: https://www.elektroimportoren.no/namron-z-wave-dimmer-400w/4512710/Product.html?Referer=googleshopping&gclid=CjwKCAiA_Kz-BRAJEiwAhJNY7xsxxL83sDjWZ4EIuDxtRGoQ3Gdlq7rRZptVpcRQ-mcAL1x-hBcjxRoColUQAvD_BwE&gclsrc=aw.ds&utm_campaign=googleshopping&utm_medium=na&utm_source=na

And a z-wave dim swich: https://www.eldirekte.no/q-light-zerodim-z-wave-led-dimmer/cat-p/c/p1500014743?gclid=CjwKCAiA_Kz-BRAJEiwAhJNY70BZBaZnEEhWB0IwGrwInFBroWq-mz_94VKeqiLOuUg1dw_qrycv1xoC3SkQAvD_BwE

How would you create a flow to be able to dim a lamp from 0% to 100% (and back) and turn on/off the lamp?

Depends on your actual usecase.
If your device does not support such directly, it might be worth to have a look at the Chronograph app.
It can do transitions of capability values over time.

Are you sure it’s zigbee?

Yes, you ar right, the dim-puck is Zigbee. The remote switch is Z-Wave.