I have a scenario in which I want to take an input file from the user until the user sends an "ok" message

I have a scenario where I want to collect input from the user—either a file or text—until the user sends an “ok” message. I’m unable to implement this because if I use a File Input node, I don’t have access to any text the user enters instead of uploading a file, so the flow doesn’t move forward. Similarly, if the flow expects text and the user uploads a file, I can’t access the file.

This issue occurs on the WhatsApp channel.

Has anyone faced this before or found a workaround?