Certainly! Here's how you can modify the Agent Reply Template to include if/then logic for displaying the appropriate ticket link based on the requester's email domain:
```plaintext
Hello,
To reply or see the current status of your ticket, please visit one of our support portal options below:
{% if requester_email contains '@yourdomain.com' %}
Internal Ticket Link: *INSERT INTERNAL TICKET LINK HERE*
{% else %}
External Ticket Link: *INSERT EXTERNAL TICKET LINK HERE*
{% endif %}
```
In this modified template:
- `{% if requester_email contains '@yourdomain.com' %}` checks if the requester's email contains your domain. If it does, it displays the internal ticket link.
- `{% else %}` covers the case where the requester's email does not contain your domain, and it displays the external ticket link.
- Replace `*INSERT INTERNAL TICKET LINK HERE*` and `*INSERT EXTERNAL TICKET LINK HERE*` with the actual URLs of your internal and external ticket links, respectively.
This modification will dynamically display the appropriate ticket link based on whether the requester's email includes your domain or not.