@BeyondCode , This should work directly. but needs adjustments.
This will iterate for each new mail, so for example if you have 2 mails, it’ll list all tasks 2 times (one for each), but on each iteration it’ll go through ALL of the tasks. so if we have 50 tasks, we’re going through them each time. The problem is that if the task doesn’t match with the mail (say 49 of the tasks don’t match), this will create 49 tasks (besides of matching with 1/50 task and creating subtask).
Here’s the adjustment to avoid this issue :
before “NO match” branch, we filter out Bundle position=Total bundle numbers of Clickup (we’re at the end of the task list) and we check if the subtask has not yet been created (next filter). The state of subtask being created or not is being renewed in the beggining of the scenario.
blueprint (3).json (154.2 KB)