Efficient way of replicating flows

Hello Guys,

I am in the process of adding some monitoring for some sensors within my smart home, I have created the following flow which is working well and triggers various things within Home Assistant. The issue I have is I have 30 or so more sensors to set this up for.

My question is, is there a way I can essentially template the flow, defining a string of text which will dynamically update all the nodes within my flow so I can easily copy and paste and reuse it without the task of manually going into each node and changing the text and entities IDs

Something like
Binary_sensor.sensorname_offline_event
Binary_sensor.sensorname_offline_event_notification_automation
"Sensor sensorname has gone offline"

etc

thanks in advance

Have a look at subflows, these are basically templates of groups of node with "environment variables" that can be used to parameterise them.