Legacy Dev Forum Posts

 View Only

Sign Up

How to use pre-request scripts for web service data actions

  • 1.  How to use pre-request scripts for web service data actions

    Posted 06-05-2025 19:15

    ibrahimsincap | 2023-10-08 21:05:51 UTC | #1

    Hi all,

    We have an API where we use pre-request script feature of Postman, where you write a Javascript code that runs before API call. Anyone with Postman experience will probably understand, is there a way to do this in Genesys Cloud?

    Thanks in advance, kind regards.


    Jerome.Saint-Marc | 2023-10-09 08:54:12 UTC | #2

    Hello,

    No, there is no equivalent to Postman pre-request scripts in Genesys Cloud Web Service Data Actions.

    You can leverage JSONPath expressions and Velocity macros in your web service data action.

    Regards,


    system | 2023-11-09 08:55:13 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 22415