I’m wondering if I can put in a request for a change to the “Create Autotask Ticket” workflow that would allow variables in the “Default Account if no match” field.
Our use-case is that we have separate support email addresses for each of our clients, so we already know the right account when we receive an email. I can leverage the “Create Autotask Ticket” pre-defined rule by filtering to the specific account based on the recipient address. However, in the edge case where we receive an email at a client’s support address that is not from an address on the client’s domain, we would like it to create a ticket under that client without a contact. But because this situation reverts to the static “default account” it instead uses that for all clients.
For example, let’s suppose we have a company named Test Co with email domain testco.com and their support address is [email protected]. If you were to send an email to that address, the following would happen:
- Code identifies that based on the recipient [email protected], this ticket should be opened under Test Co.
- Code calls “Create Autotask Ticket” workflow with the filter scoped only to the Test Co account.
- The code does not find you as a contact on Test Co, nor does your domain match their domain of testco.com.
- The code defaults to the default account.
- Ticket is created under the default account instead of Test Co.
Ideally, if I could instead use a variable for the “Default Account if no match” field, I could set that field to the same value as the account I identified in the first step and everything would work as intended.
Thanks!