Greet your chat customers!

Latest Version

Version
1.1
Update
December 30, 2020
Size
12.19KiB
Developer
Category
Users
7
Rating
0 ★
Manifest Version
2
Web Store Status
Languages Support
English (UK)
See more
Permissions
Http://*.zendesk.com/chat/*
Https://*.zendesk.com/chat/*
Storage
See more

Zendesk Chat Greeter Extension

I wrote this extension because I was fed up of manually greeting customers on Zendesk Chat. The extension will grab the customer's name from the Chat window, and replace the contents of the message box with \"Hi there [customername]\".

This extension is useful if (like at my work) you can't create your own chat macros, and there is no good chat macro for personally greeting customers.

The extension uses regex matching to find the customer's name in a way that works best for me - full disclosure, it may not be the best for you.

The matching rules are:

If the full customer name is just a name (eg John Smith), the extension will return \"Hi there John\"

If the customer name has brackets in it (eg Acme Ltd (John)), the extension will return \"Hi there John\"

If the customer name starts with 'Visitor', the extension will just return \"Hi there\"

The extension is triggered with Alt-Shift-Y on PC and Ctrl-Shift-Y on Mac.

The keybinding can be changed in the extensions page of Chrome.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Zendesk Chat Greeter", "version": "1.1", "description": "Greet your chat customers!", "permissions": [ "http://*.zendesk.com/chat/*", "https://*.zendesk.com/chat/*", "storage" ], "background": { "scripts": ["background.js"], "persistent": false }, "content_scripts": [ { "matches": ["https://*.zendesk.com/chat/*"], "all_frames": true, "run_at": "document_idle", "js": ["contentScript.js"] } ], "commands": { "copy_name": { "suggested_key": { "default": "Alt+Shift+Y", "mac": "MacCtrl+Shift+Y" }, "description": "Greet customer" } }, "manifest_version": 2, "options_ui": { "page": "options.html", "open_in_tab": false }, "icons": { "16": "icons/hi16.png", "48": "icons/hi48.png", "128": "icons/hi128.png" }, "browser_action": { "default_popup": "options.html" }}
Read more

Similar Extensions