Install and Configure the Recipe

On your Oracle Integration instance, install the recipe to deploy and configure the integration and associated resources.

Install the recipe on your Oracle Integration instance. See Install a Recipe or Accelerator.

After you've installed the recipe, configure the following resources:

Configure the Gmail Connection

  1. In the Connections section, click the connection name.
  2. In the Security section, enter the following details:
    Field Information to Enter
    Security Policy By default Google OAuth Authorization Code Credentials is selected.
    Client ID Enter the client ID.
    Client Secret Enter the client secret.
    Scope Select a scope from the drop-down list. For example, https://mail.google.com/
  3. Click Save. If prompted, click Save again.
  4. Click Test to ensure that your connection is successfully configured. In the resulting dialog, click Test again.

    A message confirms if your test is successful.

  5. To return to the project workspace, click Go back Back icon.

Configure the REST Trigger Connection

  1. In the Connections section, click the connection name.
  2. Click Test to ensure that your connection is successfully configured. In the resulting dialog, click Test again.

    A message confirms if your test is successful.

  3. Click Save. If prompted, click Save again.
  4. To return to the project workspace, click Go back Back icon.

Configure the Integration Flow

Edit the Process Application integration flow to configure actions for the following OCI AI services.

OCI Vision

  1. In the Integrations section, click the integration flow name.
  2. On the integration canvas, click the OCI Vision element, and then click Actions Actions icon and select Edit.
  3. Click Next and select the OCI compartment.
  4. Click Next and then Done.
  5. Click Save to save the integration.

To know more about the vision action, see Analyze and Extract Information from Images with a Vision Action in Using Integrations in Oracle Integration 3.

OCI Generative AI

  1. In the Integrations section, click the integration flow name.
  2. On the integration canvas, click the OCI Generative AI element, and then click Actions Actions icon and select Edit.
  3. Click Next and select the OCI region, OCI compartment, model, and model ID.
  4. Click Next and then Done.
  5. Click Save to save the integration.

To know more about the generative AI action, see Generate Text with a Generative AI Action in Using Integrations in Oracle Integration 3.

Configure the Lookup Tables

Edit the lookup tables and configure them as necessary.

AI_Properties

  1. In the Lookups section, click the lookup name.
  2. Update the value for the Ref_Number_Pattern lookup key that would be used by OCI Vision to validate the loan application ID.
  3. Update the values for the following AI prompt lookup keys that would be used by OCI Generative AI to compose the loan application validation email.
    • InvalidPhoto_Prompt
    • UnclearPhoto_Prompt
    • GeneralError_Prompt
    • ValidApplicationPrompt
  4. Click Save. If prompted, click Save again.
  5. To return to the project workspace, click Go back Back icon.

Email_Properties

  1. In the Lookups section, click the lookup name.
  2. Edit the values of the following lookup keys related to email properties.
    Key Value
    to Enter the email address to which error notifications have to be sent.
    from Enter the email address from which error notifications have to be sent.
    validapplication_from Enter the email address from which notification emails about loan application validation are to be sent
    validapplication_to Enter the email address of the loan applicant to whom notification about loan application ID validation have to be sent.
    gmail_subject Specify the email subject that would be used by the recipe to filter out emails (in the Gmail account) from which loan applications are to be fetched for validation.
  3. Click Save. If prompted, click Save again.
  4. To return to the project workspace, click Go back Back icon.