# Allow using user / external squad as condition in response rules

**URL:** https://f.docs.rw/t/topic/459
**Category:** Предложения
**Created:** 2026-08-02T03:56:18Z
**Posts:** 1

## Post 1 by @uildvek — 2026-08-02T03:56:18Z

Hello,

It would be great to be able to use user ID or external squad ID inside the conditions block for response rules. I currently have different Xray JSON templates based on OS (android, windows, iOS) and have it set up to respond with different templates based on the “x-device-os” header. However, it would be great to be able to return different templates based on OS and user / external squad in tandem.

Thank you
