RocketChat / RocketChat/Rocket.Chat

NFR: Add more events to LiveChat trigger and webhook

Open
#8,983 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feat: apps subj: livechat triaged type: improvement
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

It would be nice to have a webhook run at the start of a webchat - for instance to look up the email address or a phone number in a CRM to see if it is an existing customer (a lot of our customers use the livechat rather then emailing or picking up the phone - no idea why..... !) and return that info to Rocket in the chat somehow.

I think this may be achievable using the Livechat API here: https://rocket.chat/docs/developer-guides/livechat-api but this cannot be accessed in the Integration or Trigger sections

I guess this bug refers:
https://github.com/RocketChat/Rocket.Chat/issues/1824

Some developments here but don't think they cover it:
https://github.com/RocketChat/Rocket.Chat/pull/8669

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the LiveChat API documentation and the Integration and Trigger sections mentioned in the issue. Compare issue 1824 and pull request 8669 to understand existing coverage; done means a webchat-start event can invoke a webhook, support CRM lookup data, and make that information available in the chat.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.