Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Generic Chat Notif Data Action setup

    Posted 11-06-2025 02:52
    Edited by Robert Niblock 11-11-2025 01:48

    Hi all,

    With the recent Speech & Text analytic trigger release, I've been looking at a way to have a message go to a Group when a specific phrase is mentioned.  However I'm having some troubles with getting the data action setup.

    Every time I go to test it, I get: "REST call for action execute failed. Message: Request to backend service failed. Response from web service: {"message":"HTTP 404 Not Found","code":"not found","status":404}".  

    I believe everything I have configured is correct, just wanting to verify if that webhook for chat notifications is still active, or if I could get any advice on what I should do next?


    #PlatformAPI
    #Triggers

    ------------------------------
    Robert Niblock
    Contact Centre Technology Analyst
    ------------------------------



  • 2.  RE: Generic Chat Notif Data Action setup

    Posted 11-06-2025 08:35
    Edited by Tristen Schwarzenberger 11-06-2025 08:37

    Hey Robert,

    That's the API I am also seeing in the developer center. In the request body template, if you change the syntax to:


    {
    "message": "${input.message}",
    "metadata": "${input.metadata}"
    }


    Does that resolve it?



    ------------------------------
    Tristen Schwarzenberger
    IT Engineer
    GCP
    ------------------------------



  • 3.  RE: Generic Chat Notif Data Action setup

    Posted 11-06-2025 20:13
    Edited by Robert Niblock 11-11-2025 01:49

    Hey Tristan,

    I've also attempted with this format above and still get that same error.

    This is the message from the Execute part;



    ------------------------------
    Robert Niblock
    Contact Centre Technology Analyst
    ------------------------------



  • 4.  RE: Generic Chat Notif Data Action setup
    Best Answer

    Posted 11-07-2025 16:11

    Hi Robert,

    Generic Webhooks have a different endpoint compared to most Genesys APIs. If you look at your webhook in the UI, you should see that it starts with "apps" instead of "api". I believe this is what is causing the 404.

    To get around this, I believe you will need to use a "Web Services Data Actions" and provide the full URL of the webhook.

    I strongly encourage you to delete the webhook you shared in this post and create a new one.

    As a heads up, generic webhooks are still supported but we'll be moving to the new "Webhooks for Events" integration in the future as mentioned in https://help.mypurecloud.com/announcements/deprecation-removal-of-webhooks-integration-for-chat-notification/. We'll have some additional documentation available to aid in this migration.



    ------------------------------
    Justin Keller
    Senior Software Engineer, Test
    ------------------------------



  • 5.  RE: Generic Chat Notif Data Action setup

    Posted 11-11-2025 03:46

    Thanks Justin,

    I saw this message the other day and removed the webhook as suggested.

    I managed to finally get it working.  I'll do some further research the new Webhooks for Events.  At this stage I'm just playing around with what's possible.



    ------------------------------
    Robert Niblock
    Contact Centre Technology Analyst
    ------------------------------