Keep long jobs safe and simple with a reusable Redis run control. It stops the same process from running twice at the same time and lets your team check live status. Great for imports, API calls, and any task that should never overlap.
The flow accepts four inputs from another workflow or a manual test action, key, value, and timeout. A switch routes the action to get, set, or unset the status key in Redis, with a time to live so stale locks clear themselves. If checks and stop and error nodes block concurrent runs. Example steps show how to mark started, loading, and finishing with short waits so you can track progress without building a custom database.
Setup is simple. Add your Redis credential, pick a clear key naming rule, and set your timeout in seconds. Use it as a guard before heavy steps and clear the key when done. Teams reduce failed retries, protect rate limits, and save time by checking one status key instead of digging through logs.