Skip to main content

Hi Guys,


with this FreshPlugs you will be able to get a shortened version of Public Ticket Url,


to work properly YOU MUST HAVE a Google Shortener API Key,


instructions:


1. Download the zip file.

2. Unzip and open the .txt file

3. complete the code with your Google Shortener API KEY (http://goo.gl/xwCNC)

4. Copy the code from the file

5. Go to Admin->Integration->Freshplugs in you dashboard and click the new Freshplug button

6. Give a Name and Description to this plug for future reference

7. Select the text box “Show this widget in ticket view page”

8. Copy the code from the .txt file here and click the button "create and enable"


enjoy.

thumbnail_15251.pngscreenshot_15251.png

Hi Andrea,

Thank you for your time and effort. The Freshplug is really nice.


Please note that in New Google Dev Console, you will have to create a browser key under APIS AND AUTH--> Credentials.


Hi Arjun,


thanks!


you're right...


I try to be more specific about obtaining the API key:


step 1

go to https://code.google.com/apis/console

(google account required)


step 2

go to https://console.developers.google.com/project

create a new Projects (or use existing one)

accept terms


step 3

click "enable an API"

enable "URL Shortener API"


step 4

under left menu click "credentials"

click "Create new key"

click "browser key"

click "create"


Done!


Hello Andrea,













I followed all steps, but it doesn't work unfortunately.

The .txt file starts with the following text:

<script>
var api_key = 'YOUR-API-KEY-GOES-HERE';

Do I have to put the API KEY in quotation marks ( ' ) or not? like

with quotation marks

<script>
var api_key = 'AIzaSyAKT47pw41NJyarGWik etc';

or

without quotation marks

<script>
var api_key = AIzaSyAKT47pw41NJyarGWik etc;


Please find below a screen shot as it looks now:







Regards, Bart

 




Hi Bart,


you must use the quotation marks, like as follow (fake key): 

  

var api_key = 'BIzaSyCeZbJiGGbqQ9YxHls7QkSohJ8Mw09lM2o';

  

you can cut and paste this line and substitute the key with your own,



let me know,



bye.






This looks wonderful and I will add it to my freshdesk implementation.


In my ticket reply template [1], I've got the public URL[2] (from a placeholder) posted and it's long and horrible.  Is there a way to use this short URL in the ticket reply template? 1]


Thanks

Mark


>1] - Admin -> Email Notifications -> Reply Templates -> Agent Reply Template

>2] - Insert placeholder -> Tickets -> Public Ticket URL







Would love to see the Public URL shortened automatically. Deleting the long URL in each response and copy/pasting the short URL is a nuissance and waste of time.




Hope this is being considered. Thanks.