Currently in the Zendesk Automation Service, you can add email addresses and domains for Foqal to recognize as internal agents to update the ticket status to Pending after they respond: https://support.foqal.io/answers/urn%3Afq%3Aarticle%3A58f92e834e8a4df693c9688d0f27464a
However, if you don't want all email addresses in a domain to be considered agents, you have to add them manually email by email, especially when agents join or leave. If you can use User Groups instead, then you only have to update the user group, and this section would be changed as well!