Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Merging 2 API Calls

    Posted 06-05-2025 18:45

    AshaIT | 2024-04-30 20:44:48 UTC | #1

    Hi All,

    We need to merge 2 API calls in Genesys Cx so that we get single output from our CRM system based on our input.

    Example:

    1st API Call:

    Input Contract: Account Number

    Output Contract: Balance, Date

    2nd API Call:

    Input Contract: Account Number

    Output Contract: Address

    URLs for both are slightly different.

    So when customer enters billing number Genesys invokes 1st API call to get output and invokes 2nd API call to get output and combines both outputs together( Balance, Date, Address)

    Please note Input is same for both API calls , Due to CRM design we are unable to map or filter all fields in one API call.

    Is this possible in Genesys Cloud ?

    Thanks !!


    tim.smith | 2024-04-30 20:50:31 UTC | #2

    Yes, just do steps 3 and 4 twice: https://help.mypurecloud.com/articles/use-data-actions-in-architect-for-integrations/


    AshaIT | 2024-05-01 13:46:45 UTC | #3

    Thanks @tim.smith

    If you see below diagram, I have back to back Data Actions with Success, Failure and timeout paths.

    So once 1st data action is successful it takes success path then next Data action invoked correct with different output

    Trying to understand how Architect combines outputs of both data actions to be played back to customer ?


    tim.smith | 2024-05-01 13:59:53 UTC | #4

    AshaIT, post:3, topic:26008
    Trying to understand how Architect combines outputs of both data actions to be played back to customer ?

    That's something you would do based on your requirements for such a thing; the data action just makes an API request. You can find the Architect actions, which include actions for things like playing audio (first thing on the list), here: https://help.mypurecloud.com/articles/task-editor-actions/.


    system | 2024-06-01 14:00:25 UTC | #5

    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: 26008