Hi
So you don't need the apply to each, as this is triggering on a single task.
You only need to have the Create a Task action after the trigger if you're using this to assign set tasks to others based on "a task" being created for you. You can add one after another, or in parallel as seen here.

This doesn't take into account what the task is, so any task that you are assigned will trigger this flow. Maybe that's what's required, but you could add in a condition after the trigger to help decide if this created task requires new tasks created. You can get the bucketid and other information by triggering the flow once before adding condtions and checking the output of the trigger in the flow run.


Let me know if that helps?
Thanks
Craig