Chrome Extension to alert on Helpscout Chat Requests
- or -
Post a project like this1588
$150
- Posted:
- Proposals: 9
- Remote
- #2633697
- Awarded
Php Specialist with Python, Pearl, JavaScript, Objective-c, WordPress, Magento, Drupal, Joomla, vTiger, Laravel, CakePHP, Zend and CI expertise.
Karachi
7590281897792576641274443628411513253036333292234078473419839
Description
Experience Level: Entry
I need to have a custom chrome extension made that will track a specific page on Helpscout's website and when a new chat request comes in will POST to a given URL (Slack webhook) so that the team can then jump over to Helpscout and handle the chat request.
HELPSCOUT CHANGE
I added a gist with the two different states:
https://gist.github.com/mbuckbee/3c59ae264102633f8cf4bfd7a293fbdd
When a new chat request comes in it adds the span with class "c-StatusDot is-withIcon is-inSidebar" the class 'c-StatusDot' the selector will need to be scoped to the li with class 'chat' as the status dot classes are used elsewhere on the page.
WEBHOOK POST
The webhook URL will be to a Slack Webhook URL that I'll provide along with some static text that will be used for each POST to the webhook URL.
CHROME EXTENSION LOGIC
1. The chrome extension works on secure.helpscout.net
2. It checks for the existence of the new chat span (or whatever element makes sense) on the page on Helpscout's site once every 5 seconds.
3. If found it executes the POST to the Slack Webhook
4. POST is rate limited to 1 every minute
This extension will not be published to the Chrome extensions store and will just be for private use.
Thanks!
Mike
HELPSCOUT CHANGE
I added a gist with the two different states:
https://gist.github.com/mbuckbee/3c59ae264102633f8cf4bfd7a293fbdd
When a new chat request comes in it adds the span with class "c-StatusDot is-withIcon is-inSidebar" the class 'c-StatusDot' the selector will need to be scoped to the li with class 'chat' as the status dot classes are used elsewhere on the page.
WEBHOOK POST
The webhook URL will be to a Slack Webhook URL that I'll provide along with some static text that will be used for each POST to the webhook URL.
CHROME EXTENSION LOGIC
1. The chrome extension works on secure.helpscout.net
2. It checks for the existence of the new chat span (or whatever element makes sense) on the page on Helpscout's site once every 5 seconds.
3. If found it executes the POST to the Slack Webhook
4. POST is rate limited to 1 every minute
This extension will not be published to the Chrome extensions store and will just be for private use.
Thanks!
Mike
Michael B.
100% (57)Projects Completed
52
Freelancers worked with
42
Projects awarded
42%
Last project
12 Feb 2021
United States
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies