Create Custom AI Agents and Add Them to Your Workflow
Our out of the box AI agents should suffice for regular service request management. However for specific business requirements, you may want to create custom service AI agents.
To create a custom AI agent and add it to your Fusion Service workflow:
- Create a tool:
- Navigate to .
- Click the Tools tab and click Add.
- Provide the required details.
For example, to create a document tool, select Tool Type as Document, set the status to Ready to publish, add the required documents, and save.
- Click Create.
- Create an agent:
- Click the Agents tab and click Add.
- Provide the required details.
For example, in the Prompt field you can write a prompt asking the agent to answer a question using both the built-in Knowledge Search tool and the custom tool you created in the previous step.
- To add formatting requirements, click the LLM tab, for Summarization Mode select Enable using custom prompt, and provide the instructions in the Summarization Prompt field.
- Click Create.
- Search for the required tool, click
, and click Add.
- Click Create.
- Create an agent team:
- Click the Agent Teams tab and click Add.
- Provide the required details and click Create.
- Search for the agent you created in previous step, click
, and click Add.
- Click
to test your agent team.
- Click Publish.
- Create an action to make your custom AI agent available in Fusion Service:
- Navigate to .
- Click the Productivity card and click the Add / Manage Workflow Action Types and Actions card.
- Click Create Action.
- Click Add Action Type and provide the required
details. For example:
- For Select Parent Entity Name, select "Service request".
- For Action Type Name, enter a name such as "my_custom_ai_agent".
- For Object Type, select "Service request".
- For Operation Code, select "Create".
- For Application Context, select "Oracle Fusion".
- For Connection Type, select "Oracle AI Agent Studio".
- For ActionType Code, select "Rest".
- For Action URL, enter "/api/fusion-ai/orchestrator/agent/v1/<my_custom_agent_team_name>/invokeAsync".
- For Description, enter a description such as "This is my action type".
- Click Continue.
- On the Action page provide the required details. For example:
- For Action Name, enter a name such as "my_custom_agent_action".
- For Async Mode, select "Async with Polling".
- For Attribute Name, enter "objectType".
- For Attribute Source, select "User-defined".
- For Attribute Value, enter "ServiceRequest".
- Click
to add another attribute with the following details.
- For Attribute Name, enter "objectNumber".
- For Attribute Source, select "User-input".
- For Attribute Value, enter "SrNumber".
- Click Continue.
- On the Polling Action page provide the required details. For example:
- For Endpoint URL for Polling request action, enter "/api/fusion-ai/orchestrator/agent/v1/<my_custom_agent_team_name>/status/".
- For Request Id in the Endpoint URL, enter "requestId".
- Click Submit.
- Add the custom AI agent to a Fusion Service workflow:
- Navigate to .
- Click the Productivity card and click the Create/Manage Workflows card.
- Click Create.
- Hover your cursor over the play icon and click the + icon.
- Click Actions Catalog and search the custom AI agent action you created in the previous step. For example, "my_custom_agent_action".
Your custom AI agent is now added to your Fusion Service workflow.