Simple Whitelist Condition for a Bot or a workflow
This is a simple conditional step that filter the access to certain users to be user with tekos chhat or any matrix home server
[{"id":"9094c4ec.c78da8","type":"switch","z":"a0f3fb3a.bc1338","name":"check user_id","property":"user_id","propertyType":"msg","rules":[{"t":"eq","v":"@user1:m.company.co","vt":"str"},{"t":"eq","v":"@user2:m.company.co","vt":"str"},{"t":"cont","v":"m.tekos.co","vt":"str"},{"t":"else"}],"checkall":"true","repair":false,"outputs":4,"x":730,"y":120,"wires":[["dbd89dca.7eb9e"],["dbd89dca.7eb9e"],["dbd89dca.7eb9e"],["f3e194ce.857478"]]},{"id":"dbd89dca.7eb9e","type":"link out","z":"a0f3fb3a.bc1338","name":"","links":[],"x":895,"y":80,"wires":[]},{"id":"f3e194ce.857478","type":"link out","z":"a0f3fb3a.bc1338","name":"","links":[],"x":895,"y":140,"wires":[]},{"id":"5a8784e6.22abfc","type":"link in","z":"a0f3fb3a.bc1338","name":"","links":[],"x":575,"y":120,"wires":[["9094c4ec.c78da8"]]},{"id":"4849e8e6.11d198","type":"comment","z":"a0f3fb3a.bc1338","name":"Continue to the next steps","info":"","x":1040,"y":80,"wires":[]},{"id":"93912e64.064e3","type":"comment","z":"a0f3fb3a.bc1338","name":"no response or say: user not athorized","info":"","x":1090,"y":140,"wires":[]}]