Custom function - Blueprint

Custom function - Blueprint

Hi, I use blueprint and I need someone to send me a custom function for auto-completing only the last open task for the lead. (not all open tasks at once).

Or if that's not possible, I need a custom function for re-scheduling the last open task for the next day.

I need this because when I go through the steps, a task is opened for each step and I need to manually complete the last tasks and I lose around 30 seconds per task.