Conditional action

Actions & Logic

So i have a chat option in my MarketPlaceApp and what i wanna to do is if the chat exist with two certain users they are not able to do a new chat with themselves again.

What have you tried so far?

I tried to do a conditional action which is sounds like that: if the usersID(chat document) - contains item - Product document - userid - then if true it do nothing if false it creates a new document. But it works only with certain user not with others.

Did you check FlutterFlow's Documentation for this topic?
No
1