Genesys Cloud - Developer Community!

 View Only

Sign Up

Expand all | Collapse all

Can we change the OAuth/Integrations associated to the Actions after creation

  • 1.  Can we change the OAuth/Integrations associated to the Actions after creation

    Posted 04-17-2025 16:31

    Hello,

    We have a requirement to change the Integration/ Category on DataActions. We have observed that there is API

    'patch /api/v2/integrations/actions/{actionId}' which allows to enter the Category to patch with the action. Would like to know if this would work updating the Integration associated to the DataAction and if so, are there any negative impacts of using this API and once Action is updated, do we need to republish the Architect Flows using the updated DataActions?


    #Integrations

    ------------------------------
    Sesha Reddy Kalluri Venkata
    ------------------------------


  • 2.  RE: Can we change the OAuth/Integrations associated to the Actions after creation

    Posted 04-18-2025 12:05

    The category defaults to being the same as the Integration name, but can be changed later via that API.  Changing the action category will not impact the action - integration relationship.

    I would not expect changing the category to have any impact on existing published flows.

    To actually move an action to a different integration then you could use the import / export in the UI to do it, or it could be done via "CX as Code" if you wanted a automated approach. These sorts of changes would require flows to be updated to use the new actions.



    ------------------------------
    --Jason
    ------------------------------



  • 3.  RE: Can we change the OAuth/Integrations associated to the Actions after creation

    Posted 04-22-2025 00:30

    Hello Jason,

    Thank you for the update. I would like to change the Integration itself and obviously category by changing the integration. We understood there is a limitation on how many Genesys DataAction Integrations that can exist in the system. To avoid the limitation, we are trying to merge few of the existing integrations into one and want to change the Integration on the already created DataActions. I thought changing category would change the Integration associated to the DataAction, so that we can remove some of the existing Integrations after moving Actions.

    Let me know if there is a way to achieve it.



    ------------------------------
    Sesha Reddy Kalluri Venkata
    ------------------------------



  • 4.  RE: Can we change the OAuth/Integrations associated to the Actions after creation

    Posted 04-23-2025 11:03

    There is a limit of 50 Web Service Data Action Integrations and an overall limit of something like 200 integrations.

    To move your actions around the typical options are Import / Export from the UI or automating your configuration changes via CX as Code.



    ------------------------------
    --Jason
    ------------------------------



  • 5.  RE: Can we change the OAuth/Integrations associated to the Actions after creation

    Posted 04-23-2025 13:50

    Can you explain 'Automating your configuration changes via CX as Code'?



    ------------------------------
    Sesha Reddy Kalluri Venkata
    ------------------------------



  • 6.  RE: Can we change the OAuth/Integrations associated to the Actions after creation

    Posted 04-24-2025 08:17

    Moving to CX as Code is a big topic.  Here is an into to using it:

    https://developer.genesys.cloud/devapps/cx-as-code/

    It probably wouldn't save you time to use CX as Code to perform this migration, but long term having your configuration management done via "code" provides a bunch of advantages. So, you could potentially use this project as a way to see what CX as Code is all about.

    If this is something you need to get done today, then the export and import capabilities of the UI is probably the fastest solution.



    ------------------------------
    --Jason
    ------------------------------



  • 7.  RE: Can we change the OAuth/Integrations associated to the Actions after creation

    Posted 04-28-2025 00:14

    Thank you for the information.



    ------------------------------
    Sesha Reddy Kalluri Venkata
    ------------------------------



  • 8.  RE: Can we change the OAuth/Integrations associated to the Actions after creation

    Posted 05-06-2025 13:26

    Genesys Cloud Functions limit for Integrations is only 10. Is there an option to increase this limit?



    ------------------------------
    Sesha Reddy Kalluri Venkata
    ------------------------------



  • 9.  RE: Can we change the OAuth/Integrations associated to the Actions after creation

    Posted 05-08-2025 13:53

    Sesha,

    What's the use case where you're needing more than 10 Functions integrations?  It's certainly something that we could consider, but I'd like to understand the rationale a little better before we start investigating.  

    Also, to expand on the previous discussion, Data Actions are anchored to the integration at the time they are created. Much of this has to do with the fact that we support named integrations within Data Actions (Salesforce, Zendesk, Genesys Cloud, Etc.), where the authentication process is generally "baked in" to the concept of the action, so allowing you to programmatically "move" an action from one integration to another doesn't make a ton of sense.  

    As Jason mentioned, you could use the UI (or the API) to copy the configuration of your action from the existing one into a new one that is under a different integration.  In the UI, this would use the "export" button to download a JSON file, which you can then use with the "import" button to create your new action.  In the API, this would simply be a GET of your existing action, and you would tweak the response from that to do the POST to create a new action with the new integration ID (this would be the same basic process CX as Code performs).  The follow on to this is that the "moved" action has a new ID, so you would need to update your call flows regardless of the methodology you use.  



    ------------------------------
    Richard Schott
    Product Manager
    ------------------------------



  • 10.  RE: Can we change the OAuth/Integrations associated to the Actions after creation

    Posted 05-28-2025 00:18

    Hi Richard,

    We have multiple Line of Business for a single customer under single org. To maintain the number of API requests limit, we initially started created one Genesys Cloud Data Actions Integration for each LOB. Temporarily we used the approach of exporting and importing the Actions under a consolidated Integration and deleting the unused one's to create new one. The previous update did provide us the required information. However, I was trying to understand if increasing the number of Genesys Cloud Integrations that can created from 10. We might need to create more than one Integration for a single Line of Business because of the number of API requests or to maintain it separate.



    ------------------------------
    Sesha Reddy Kalluri Venkata
    ------------------------------