Use AI to Edit an Integration

You can use AI to edit an integration that was created manually or using AI. You can also incrementally edit the integration flow when creating it using AI. On the integration canvas, you can specify the purpose of the integration using natural language.

Note:

  • This feature is available only in projects.
  • AI features are available in select regions. See AI Feature Availability in Provisioning and Administering Oracle Integration 3.
  1. Decide where to start:
    • Edit an existing integration:
      1. In the navigation pane, click Projects.
      2. Select the project name.
      3. Click Integration Integrations icon.
      4. In the Integrations section, hover over the integration to edit.
      5. Click Actions Actions icon, then select Edit.
    • Perform incremental updates when creating a new integration:
      1. Create an integration. On the integration canvas, click Ask Oracle, and specify what the integration needs to do.
      2. Click Send Send icon.
      3. The AI creates a skeleton integration.
  2. To edit the integration, in the Ask Oracle pane, specify the updates using natural language clearly (with details such as node names, connection names, routes, and so on), and then click Send Send icon.

    The integration flow created by AI is retained and displayed on the canvas. You can perform one of the following steps:

    • You can modify it further by repeating this step.
    • Save the integration.
    • Click Remove all AI generated actions Remove all AI generated actions icon to remove the integration flow created by AI. The integration flow created by AI is removed. You can specify a new request indicating what the integration needs to do.

    Note:

    You should specify the node on which the edit operation needs to be performed clearly, otherwise the edit operation might not be performed correctly. You should also specify any conditions or routes clearly. Examples:
    • After node_name, edit_action_to_perform.

      Example: After receiving order from NetSuite, add a call to Salesforce using connection connection_name to get order line items. Iterate over the line items and update the line item in NetSuite.

    • Before node_name, edit_action_to_perform.

      Example: Before receiving an order from NetSuite, add a call to check the existence of the customer in NetSuite using connection connection_name. If the customer does not exist, create the customer record using connection connection_name, otherwise log the customer details.

    • Inside route_name or for_each_name or while_name, edit_action_to_perform.

      Example: Inside the success route (the route when customer exists), add a call to get orders of the customer, and log the order details.

    When you save the integration, in the Ask Oracle pane, the AI might list one or more best practices to improve the integration flow.
    • You can open or close the Ask Oracle pane, as needed. A number indicating the number of best practices available is shown when best practices are available.
    • When you modify the integration, you can click Recheck best practices Recheck best practices icon to verify if there are any new best practices for the updated integration flow.
    • Click Expand Expand icon to see the best practices or click Collapse Collapse icon to hide the best practices. You can also expand a best practice to see the detailed description or collapse it, as needed.

    Note:

    The AI might automatically configure the trigger/invoke based on the natural language text you entered. The automatic configuration of trigger/invoke by AI is designed to deliver the best possible results. It is attempted automatically, however successful configuration cannot be guaranteed in every case. For more information about automatic configuration of trigger/invoke, see Use AI to Create an Integration.

    You can activate the integration after you’ve configured it.