Recent searches
No recent searches
How to change the from email address?
Answered
Posted Feb 10, 2020
Hi!
We have two different ticket types (not a system field) and two different email addresses in our settings.
It works fine when a ticket request is sent by email to the different email addresses but when entered by the portal its just the default email that is set to "from".
How can we change it to be different when adding diffrent values in our "Ticket type" field?
Can we add the "Via" value on a created ticket some how (I guess this is what changes the from address, right?).
Best regards
// Mia
0
8
8 comments
Sebastiaan Wijchers
Hello Mia,
What you'd like to change is called the 'recipient' address. As far as I know you cannot do this with triggers.
I've built some (private) custom solutions in the past, but there's a public one by Zendesk in the marketplace:
https://www.zendesk.com/apps/support/select-an-address/
It doesn't automate it for you (although the paid tier might), but it allows your agents to change this address. Which isn't possible in the native interface.
With kind regards,
Sebastiaan
Sparkly ⭐
0
Mia Jonson
Hi Sebastiaan!
This does unfortunately not solve our problem because the first triggered email is sent before the agent makes any changes to the ticket. Then still the default recipient address will be the sender of that email.
I will take a look at your solution but I think this would be a nice feature for you to add into the Zendesk Support!
Any plans for that?
Best regards
// Mia
0
Sebastiaan Wijchers
Hello Mia,
In that case the app won't help you out indeed. Maybe somebody else knows a workaround for this scenario.
I don't know if there are any plans to add this (just to be sure; I don't work for Zendesk, I'm just a member of the community ;)).
With kind regards,
Sebastiaan
Sparkly ⭐
0
Tyler Lamparter
@... you can create a trigger that will send an api call to Zendesk that changes the recipient. I worked on this last night and it works for everything except the very first auto email saying "your ticket has been created". However, if the customer responds to that auto response, the recipient email will stay the same. It will also be fixed for any public response from the agent and auto triggers going forward. Here is how to do it:
It should look something like this:
After that, go to create a trigger:
{"ticket":
{"recipient": "<insert from email here>" }
}
It should look something like this after:
Again, this will not change the from address for the first trigger letting the customer know that a ticket was created.
0
Brett Bowser
Thanks for taking the time to write up this detailed solution Tyler :)
0
Maky
Great @...!
Thank you!!!
0
John
@...'s solution seems to be good, but for some reason it's not working for me in our Sandbox instance. I've got everything added as noted, and I created a new email address in ZD to use as the recipient, but it's not changing it even though I can see the trigger is firing.
On the HTTP target, it still shows 0 successful sends. Not sure why. Is there another setting that perhaps conflicts with this setup?
Thanks for any help!
0
Dave Dyson
Hi John,
The one thing I can think that might be going on is that the url of the Target needs to match your Sandbox instance, not your main Zendesk instance. However, I'd caution you that using targets to modify the same ticket that the trigger is working on is not supported and may fail to function. See Can I use a trigger and a target to update tickets?
0