Use AI to Create an Integration

You can use AI to create an integration based on natural language within a project. Using natural language, you can specify the purpose of the integration.

On the integration canvas, an Oracle AI chat box is available. Specify what the integration needs to do in the AI chat box and click Send message Send message icon. See Best Practices.

For example, you can specify to create an integration that receives customer information from Salesforce and updates NetSuite with that customer information if the customer is a VIP customer, sends a notification to the customer after updating NetSuite, and logs a message if the customer is not a VIP customer.

Note:

This is only supported when creating an integration within a project.


The empty integration canvas is shown with the AI chat box where you can specify what the integration needs to do and click the Send message icon.

Here’s what happens after you click Send message Send message icon.
  • Oracle AI determines the nodes to be created for the request specified by the user and provides the list of nodes in a sequential order along with the type of adapter to be used for the trigger/invoke.
  • The connection needed for the integration is automatically selected from the available connections within the project and a trigger/invoke is created. If there is no connection available within the project, Oracle AI will try to create a draft connection and then create a trigger/invoke using it.
  • The nodes are created too.
  • If multiple connections are available within the project, then Oracle AI tries to identify the appropriate connection and then creates the trigger/invoke.

Note:

You can configure the connection and edit the trigger/invoke if needed.

A skeleton integration is created by Oracle AI.

In the Created integration flow option (that is displayed in the upper left corner of the canvas), click Accept AI generated actions Accept AI generated actions icon to accept the integration flow created by AI or click Remove all AI generated actions Remove all AI generated actions icon to remove the integration flow created by AI.

If you clicked Remove all AI generated actions Remove all AI generated actions icon, the integration flow created by AI is removed and the AI chat box is displayed again, where you can modify your request or specify a new request indicating what the integration needs to do.

If you clicked Accept AI generated actions Accept AI generated actions icon, the integration flow created by AI is retained and displayed on the canvas. You can modify this skeleton integration to configure the integration as needed. You can activate the integration after you’ve configured it.

For information about regions in which this feature is available, see AI Innovation and Oracle Integration.

Best Practices

  • Specify the exact system to be called (for example: Salesforce, NetSuite, or others) so that the trigger/invoke is created with the same adapter.
  • In order to create the trigger/invoke with correct connections, provide the connection name in the AI chat box (for example: Call service A using connection {connection_name in system}).
  • To add a fault handler, specify conditional logic too in the AI chat box (for example: Notify the user if any failures occur during the process or Handle failures/errors during the process).