This App allows you to define from which email address a ticket update should be sent. First it considers the value of a custom dropdown field, and then (optionally) by group.
Let's say your product is available across multiple kingdoms and you want to use a different email address for each kingdom. First create a custom dropdown field with the name of the kingdoms.
It should look like this:
Once done, keep the ID of this custom field on the side.
- Ticket sidebar
- Create tickets with different branded email addresses
- Update tickets with different branded email addresses
- Pull information from a custom field
- Pull information from the Group value of the ticket
- No Template App
Installation
- Create the app with the zip file downloaded from this github page.
- Browse the "Private App" section of the marketplace.
- Click on the "Ticket for brand" app.
Ok, now you should be on the app settings page, let me guide you through.
- Brand Field ID: Id of the previously created custom field.
- Email-Brand mapping JSON: A valid JSON object that maps your brand (kingdom) with an email address, in our case, it could look like this:
{
"kingdom_of_the_north": {
"Default": "[email protected]",
"Support": "[email protected]"
},
"kingdom_of_the_mountain_and_the_vale": {
"Default": "[email protected]",
"Support": "[email protected]"
},
"kingdom_of_the_isles_and_rivers": {
"Default": "[email protected]",
"Support": "[email protected]"
},
"kingdom_of_the_rock": {
"Default": "[email protected]",
"Support": "[email protected]"
},
"kingdom_of_the_stormlands": {
"Default": "[email protected]",
"Support": "[email protected]"
},
"kingdom_of_the_reach": {
"Default": "[email protected]",
"Support": "[email protected]"
},
"dorne": {
"Default": "[email protected]",
"Support": "[email protected]"
}
}
- Force selection of brand: Make the brand selection mandatory.
- Mandatory requester email: Make the requester email address mandatory.
Now make sure the email addresses you specified in your JSON map are configured as Support Addresses under Settings > Channels > Email.
Voila, reload your Zendesk and everything should be working fine. Go to the new ticket view, select a brand using your custom field, enter information and click submit. Your ticket should have been created with the given recipient.
Pull requests are welcome.
(THIS IS A NO TEMPLATE APP - IT WILL NOT SHOW ANYWHERE)