Hi team,
I am having troubles setting up a workflow on a certain condition.
My workflow creates a specific name&date channel based on a /command, but when that naming is used, the workflow clashes. (i.e. channel-2023-08-23).
I am working towards incrementing the channel name, so that I could get:
- channel-2023-08-23
- if channel-2023-08-23 used → channel-2023-08-23-01
- if channel-2023-08-23-01 used → channel-2023-08-23-02
At this point, if I trigger two times the worfklow, the second time I get “ERROR: Slack error response: {“ok”:false,“error”:“name_taken”}”
How can I use it in my workflow so I can continue building up incrementation?