Genesys Cloud - Main

 View Only

Sign Up

Expand all | Collapse all

Web Messaging - Blocking Users

  Thread closed by the administrator, not accepting new replies.
  • 1.  Web Messaging - Blocking Users

    Posted 06-25-2023 21:27
    No replies, thread closed.

    Hi all,

    Just wanting to open a discussion on what the best method would be regarding setting up something that would block a user/customer from using Web Messaging.  Our web message deployment and flow is very basic at the moment. I know this could have a multitude of different answers, but keen to hear if anyone has implemented anything to block abusive users from sending messages to agents?

    I had a thought of using a database where we could put something that identifies the user and if that's found, you could route it off to disconnect the chat.  Not sure if its wise to include a message telling the user they've been blocked before it disconnects the interaction.  But interested to know what the best solution to this would be?

    Thanks,

    Rob


    #ArchitectureandDesign
    #ConversationalAI(Bots,AgentAssist,etc.)
    #DigitalChannels

    ------------------------------
    Robert Niblock
    APM
    ------------------------------


  • 2.  RE: Web Messaging - Blocking Users

    Posted 06-26-2023 00:58
    No replies, thread closed.

    I am no expert, so just my thoughts: 

    Treat it the same as voice. For voice you probably have a Genesys datatable or ideally a CRM lookup to identify these customers and can then do whatever treatment required in the inbound flow. Send to a specific team, play a prompt/display a message etc. You could just do the same for Web Messenger, helps if you are doing authenticated messaging, if you are not, not sure how you would look the customer up unless they tell you who they are, providing a customer id etc. 

    Or if it is on your website, and they are behind a login and if there is a flag on the CRM the website team could check that or check a database and if it exist hide the Web Messenger widget from ever showing to them. 

    Not sure if there is a best solution, will be highly dependent on your companies approach or need for dealing with abusive customers. Some companies especially government can't deny services so have to deal with these customers to an extent. So messaging and/or diverting to another team or to another channel would be appropriate, other companies have 0 tolerance for such behaviour and simply denying that channel by hiding the widget might be most appropriate. 



    ------------------------------
    Anton Vroon
    ------------------------------



  • 3.  RE: Web Messaging - Blocking Users

    Posted 06-27-2023 08:57
    No replies, thread closed.

    Hi Robert,

    Unless you're using authenticated messaging, the way I did it is by using the external contact that is created and block the id of that.
    A temporary contact is created for each end-user which lasts for 60 days unless made permanent.

    The issue with this is that the end-user can just clear cache on their browser and they get a new id.

    Another option would be if your website can add the end-users IP to the chat session, that would be a more effective way to block customers.



    ------------------------------
    Jan Heinonen
    Contact Center Specialist
    GlobalConnect AB
    ------------------------------



  • 4.  RE: Web Messaging - Blocking Users

    Posted 06-29-2023 20:52
    No replies, thread closed.

    This is a feature that's lacking - we really do need the ability to block IPs at a minimum. Sure, it won't get the people that know how to VPN etc, but it does stop the majority of people that abuse the chat system from connecting again. The IP is gathered, so it makes sense to at least have an I block/disallow list 



    ------------------------------
    Lawrence Drayton
    Prvidr Pty Ltd
    ------------------------------



  • 5.  RE: Web Messaging - Blocking Users

    Posted 06-30-2023 06:54
    No replies, thread closed.

    If you use Predictive Engagement the IP Address is available as a session variable. This could then be looked up against a Data Table Blacklist.



    ------------------------------
    Richard Chandler
    Connect
    ------------------------------



  • 6.  RE: Web Messaging - Blocking Users

    Posted 07-01-2023 06:16
    No replies, thread closed.

    @Richard Chandler can you please let me which session variable (Architect built-in variables) is used for the IP address?



    ------------------------------
    Prem
    ------------------------------



  • 7.  RE: Web Messaging - Blocking Users

    Posted 07-03-2023 03:47
    Edited by Richard Chandler 07-03-2023 06:29
    No replies, thread closed.

    You first need to get journey session with message.journeycontext.customersession.id and store the result in a new variable.

    Then it is NEWVARIABLENAME.ipaddress e.g. flow.session.ipaddress



    ------------------------------
    Richard Chandler
    Connect
    ------------------------------



  • 8.  RE: Web Messaging - Blocking Users

    Posted 07-03-2023 06:09
    No replies, thread closed.

    @Richard Chandler  Thank you for the info. Tested and it works.



    ------------------------------
    Prem
    ------------------------------



  • 9.  RE: Web Messaging - Blocking Users

    Posted 07-04-2023 03:10
    No replies, thread closed.

    @Richard Chandler 
    I've attempted to follow the above, but I feel like I'm missing something as the participant data in the interaction just shows Flow.session.ipAddress instead of an IP Address.  Predictive Engagement is enabled. When i look in Live Now at a Visitor I can't seem to find any IP Data, so just curious how this works.



    ------------------------------
    Robert Niblock
    APM
    ------------------------------



  • 10.  RE: Web Messaging - Blocking Users

    Posted 07-04-2023 03:13
    No replies, thread closed.

    Hi Robert,

    Can you share a copy of the message flow where you are doing the Get Journey Session and Set Participant Data? Make sure when setting participant data you are using an Expression not a Literal.



    ------------------------------
    Richard Chandler
    Connect
    ------------------------------



  • 11.  RE: Web Messaging - Blocking Users

    Posted 07-04-2023 03:22
    No replies, thread closed.

    Thanks Richard, can confirm I was using Literal.  Silly me *facepalms*
    Confirmed all working! Appreciate you sharing your solution! Cheers



    ------------------------------
    Robert Niblock
    APM
    ------------------------------



  • 12.  RE: Web Messaging - Blocking Users

    Posted 07-04-2023 06:57
    No replies, thread closed.

    Just be aware that these's a cost associated with Predictive Engagement, even tho it's low it's billed per page view which can add up if you have a popular site.

    The "free" option is that if your web developers can supply customer IP from the back-end it can be added as Participant Data with Javascript when the customer starts a chat.



    ------------------------------
    Jan Heinonen
    Contact Center Specialist
    GlobalConnect AB
    ------------------------------