Workflow Settings¶
Workflow settings control who can run a workflow, how it starts, and which defaults apply across its nodes.
In AI Agent Studio, go to Workflows. Select Add to configure a new workflow, or open a draft and select Edit > Settings to change an existing one. Save your changes, use Debug to test the affected paths, then publish the workflow to put the changes into use.
| Setting | Use it to |
|---|---|
| Details | Identify and classify the workflow, make it available to agentic applications, and record estimated savings per run. |
| LLM | Choose the default model and configure the generation controls it supports. |
| Security | Manage workflow access and choose the identity used for signal-triggered runs. |
| Chat Experience | Configure responses in the user's language and enable file uploads. |
| Questions | Offer starter questions and enable conversation-based follow-up suggestions. |
| Triggers | Configure how calls, messages, schedules, or business events start the workflow and what inputs it receives. |
| Variables | Declare typed values that nodes can share within a question or across a conversation. |
| Error Handling | Send an email notification when a run encounters a permanent error. |
Details¶
Use Settings > Details to identify the workflow, assign it to a product area, enable it for agentic applications, and record estimated savings.
Workflow identity and classification¶
| Field | What to enter |
|---|---|
| Agent Team Name | Required display name. Choose a name that describes the workflow's task, such as Purchase Requisition Status. |
| Agent Team Code | Unique workflow identifier used by callers such as the Webhook API. The creation form derives it from the name. Use letters, numbers, and underscores. The code is read-only after creation. |
| Family | Fusion product family responsible for the workflow, such as HCM, FIN, or SCM. |
| Product | Product within the selected family, such as Absences or Global Payroll under HCM. The list depends on the family and environment. |
| Tags | Labels used to categorize the workflow. Select existing tags or create a tag for a new category. |
| Description | Describe the work the workflow handles and when callers should use it. In an agentic application with multiple workflows, a clear description helps identify which workflow fits a request. |
Make the workflow available to agentic applications¶
Set Expose to Agentic Apps to On to make the workflow available for selection in Applications Builder. The default is Off. Save and publish the workflow, then select it in the application. Configure the workflow to route the application's requests and return the output each request requires. See Configure Agents.
Estimate time and cost savings¶
Under Capture estimated Cost and Time savings, enter the expected savings for one run of the workflow. Defaults apply when the fields are left blank.
| Field | What to enter |
|---|---|
| Time saved each agent run | Estimated minutes of work saved per run. |
| Cost saved each agent run | Estimated cost saved per run in USD. |
Save and publish the workflow. Review usage and estimated savings under Monitoring and Evaluation > Value. You can revise the estimates in Details as better figures become available.
LLM¶
Choose the workflow model¶
Open the workflow's Settings > LLM and select the default model from Model configuration. Choose a model based on the task's quality, latency, and cost requirements.
| Model type | Typical use |
|---|---|
| Basic | Cost-sensitive tasks such as summarization, question answering, and lightweight reasoning. |
| Balanced | Tasks that balance quality, latency, and cost, such as retrieval, tool use, and multistep reasoning. |
| Frontier | Complex reasoning, deep research, or long-running tasks that require higher model capability. |
To see which models are available in your environment, open Credentials > LLM. The catalog includes Oracle-provided models and any configured Bring Your Own LLM models. The LLM card shows whether a model is deprecated. A deprecated model can still run until retirement. Select and test an active replacement before then. Availability varies by release and realm.
Add your own LLM¶
Use Bring Your Own LLM (BYOLLM) to register a supported model with your organization's provider credentials. Check the Provider and Model lists in your environment for available options.
- In AI Agent Studio, open Credentials > LLM, then select Add LLM.
- Select the Provider and Model. Enter a distinct Name, a Code, and a Description that identifies the configuration. Use distinct names if you register separate credentials for the same provider, such as for development and production.
- Enter the provider endpoint in Base URL (called Basic URL in Oracle's 26D guide) and enter the provider's API Key for that endpoint.
- Save the configuration. To use it as the workflow default, open Settings > LLM and select the saved configuration under Model configuration. You can also select it as a model override on an eligible node.
Your organization manages provider credentials, usage charges, and model upgrades. If a model from a supported provider is missing from the list, submit a service request through My Oracle Cloud Support with the provider name as shown in AI Agent Studio, the model and version, the business use case, and the required timeline.
Configure generation settings¶
The selected model determines which controls appear and which values they accept.
| Setting | What it controls |
|---|---|
| Max Completion Tokens | Upper limit on tokens generated for a completion. Use the range shown for the selected model. |
| Reasoning Effort | How much reasoning the model applies before responding. Lower settings suit routing, extraction, and simple questions. Higher settings can increase latency and token usage. |
| Verbosity | How much detail the model includes in its response. Choose among Low, Medium, and High when available. |
Override the model for a node¶
Eligible LLM, Agent, and Document Processor nodes use the workflow model by default. To override it, open the node's settings and select Choose a model where available. The node displays the controls supported by its selected model. For example, a workflow can use a Basic model for routine summarization and a Balanced model for a node that needs multistep reasoning.
Security¶
| Field or action | Options and meaning |
|---|---|
| For all employees | Off / On. Default: Off. On grants employee access without explicit role assignment. |
| Run signal triggers as | Triggering user / Automation Identity. Default: Triggering user. Selects the execution identity for signal-triggered runs. |
| Security Role | Select a role, then Add it to Security Roles. Add the roles that require access. |
Signal execution identity¶
Signal-triggered workflows run without an interactive user session. The identity selected under Run signal triggers as determines which Fusion data and actions the workflow can access during a signal-triggered run.
| Setting | Configuration |
|---|---|
| Triggering user | Use the identity associated with the published signal. Confirm that the publishing source supplies a valid triggering-user identity and that the user has the roles and data access the workflow needs. |
| Automation Identity | Use a configured identity for background processing. Choose one of the identity sources below. |
When Run signal triggers as is set to Automation Identity, select the identity source.
| Identity source | Configuration |
|---|---|
| Automation Identity | Select the username of a registered automation user. |
| APPID | Specify the App ID for a service-owned integration. Confirm that the application identity is configured in the target environment and has the permissions the workflow requires. |
In Security Roles, add the roles required for the workflow under the security model supported by your release. Give the execution identity only the access needed for downstream actions. Save and publish the workflow, then test it with a representative signal and verify access to the downstream objects and services.
See Subscribe a workflow for the full signal setup and Security and Execution Identity for background execution across trigger types.
Chat Experience¶
Each option supports Off and On, with Off as the default:
| Field | Meaning |
|---|---|
| Answer in user's language | Enable answers in the user's preferred language. Applicable node settings can override this choice. |
| Enable file upload | Allow uploads from local storage in chat. |
| Enable third party file upload | Allow uploads from configured cloud storage. |
Enable file upload must be On for the workflow's chat interface to show the file upload option. To read uploaded files in the workflow, use the Chat Attachments Reader tool.
To configure third-party providers, open Credentials and select the Chat Experience tab. When Enable third party file upload is On in the workflow settings, select at least one option under Third party providers.
The following file providers are supported:
- Google Drive
- Dropbox
- Microsoft OneDrive
Supported upload types include PDF (tagged or scanned), HTML, JSON, Markdown, XML, TXT, DOCX, DOCX multimodal, XLSX, CSV, PPTX, JPG, PNG, and ZIP.
Questions¶
In AI Agent Studio, open or create a workflow from Workflows, then go to Settings > Questions. Use this tab to give users a starting point in chat and suggest what they can ask next.
Starter questions¶
Enter up to three prompts in Question 1, Question 2, and Question 3. The workflow's chat interface offers these questions when the user starts a conversation. Write them as requests the workflow can handle, such as “What's the status of my purchase requisition?” or “Which of my requisitions are awaiting approval?”
If the chat integration supplies an initial message that automatically invokes the workflow on launch, the configured starter questions are skipped.
Follow-up questions¶
Set Follow-up Questions to On to let the workflow suggest next questions based on the user's conversation history. The default is Off. For example, after answering a question about a requisition's status, the workflow might suggest “Who is the current approver?”
Save and publish the workflow. Open a new chat to verify that the starter questions appear, then send a question to check the follow-up suggestions if you enabled them.
Triggers¶
Use Triggers to configure how a workflow starts and, where applicable, what data it receives. Save and publish the workflow before invoking it through a trigger.
| Trigger | Use it when |
|---|---|
| Webhook | An authorized application needs to call the workflow over REST and optionally pass named inputs. Every workflow has a built-in webhook. |
| Capabilities | An agentic application needs to invoke a named workflow operation with inputs defined by a JSON schema. |
| A message arrives in a registered inbound mailbox and the workflow needs to process the message or its attachments. | |
| Schedule | The workflow needs to run once at a specified time, at fixed intervals, or on a recurring calendar schedule. |
| Signals | The workflow needs to respond asynchronously to a published business event that matches its subscription. |
Webhook¶
Every workflow has a built-in webhook trigger. After you publish the workflow, an external application can invoke it through an HTTP request. Define input parameters if the caller needs to pass values to the workflow.
Define webhook input parameters¶
- In Triggers > Webhook, select Add webhook trigger to add a parameter definition.
- Enter a Name and select a Type for the input. Supported types are String, Number, Integer, Boolean, Date, Object, and Array. The default is String.
- Select Apply. Repeat for each input, then save and publish the workflow.
How to trigger the workflow¶
Send a POST request to https://{fusion-host}/api/fusion-ai/orchestrator/agent/v2/{workflowCode}/invokeAsync. Replace {fusion-host} with your Fusion Applications host and {workflowCode} with the published workflow's code. Include Content-Type: application/json and Authorization: Bearer <access_token> headers. The token must authorize access to the published workflow.
For this example, configure requestId as String, priority as Integer, and includeDetails as Boolean. In the request body, use the configured input names as keys in the parameters object and match their data types.
{
"invocationMode": "END_USER",
"message": "Look up the request status.",
"parameters": {
"requestId": "REQ-1042",
"priority": 2,
"includeDetails": true
}
}
The request starts the workflow asynchronously and returns a jobId. To check the run's status, poll GET https://{fusion-host}/api/fusion-ai/orchestrator/agent/v2/{workflowCode}/status/{jobId} with the same bearer token. Continue polling while the response body's status is RUNNING. When status changes to COMPLETE, read the workflow result from the output property in that polling response.
Read webhook inputs in the workflow¶
In a node input or mapping, use $context.$triggers.REST.$input to access webhook values by their configured names.
| Input | Expression | Example value |
|---|---|---|
| Request ID | {{$context.$triggers.REST.$input.requestId}} |
"REQ-1042" |
| Priority | {{$context.$triggers.REST.$input.priority}} |
2 |
| Include details | {{$context.$triggers.REST.$input.includeDetails}} |
true |
Capabilities¶
Define a capability when an agentic application needs to call a named business operation, such as looking up a supplier's status. The capability declares what the operation does and which inputs it accepts. Implement the operation in the workflow and route each capability name to its own branch.
Define a capability¶
In Settings > Triggers > Capabilities, select Add capability trigger and configure the operation.
| Field | What to enter |
|---|---|
| Name | Required operation name. Use up to 64 letters, digits, underscores, or hyphens. Names must be unique within the workflow, ignoring case. |
| Description | Required description of what the operation does, when to call it, and any changes it makes to business data. |
| Read Only | Enable if the operation has no side effects. The default is Off. |
| Requires Compute | Enable for operations that need compute execution, such as large-volume data processing or file-system access. The default is Off. |
| Capability Specification | Required JSON Schema for the input payload. Define the types and required properties. For an operation with no inputs, use an object schema with empty properties and additionalProperties set to false. |
Enter the schema directly, or select Generate, describe the inputs, and select Go. Review the generated property names, types, and requirements before selecting Apply. Format indents the schema for readability.
Route capability calls¶
Read the operation name and payload from the context for the invocation path.
| Invocation path | Operation name | Input payload |
|---|---|---|
Direct capability trigger, identified by {{$context.$triggers.isCapabilityCall}} |
{{$context.$triggers.CAPABILITY.$input.capabilityName}} |
{{$context.$triggers.CAPABILITY.$input.capabilityPayload}} |
Agentic application request routed as InvokeCapability |
{{$context.$app.$OraAction}} |
{{$context.$app.$OraActionPayload}} |
Use the operation name to select the implementation branch, then map the payload fields into that branch's nodes. Save and publish the workflow and verify that the application discovers and can invoke the operation. See Autonomous Outcomes for app-side discovery and testing.
Example: Look up a supplier's status¶
Create a capability named getSupplierStatus, enable Read Only, and define this input schema.
{
"type": "object",
"properties": {
"supplierNumber": { "type": "string" }
},
"required": ["supplierNumber"],
"additionalProperties": false
}
A caller supplies a payload such as {"supplierNumber": "SUP-1042"}. For a direct capability call, route getSupplierStatus to the lookup branch and pass {{$context.$triggers.CAPABILITY.$input.capabilityPayload.supplierNumber}} to its lookup node. For an app-routed call, read the same field with {{$context.$app.$OraActionPayload.supplierNumber}}.
How to invoke a capability¶
To call getSupplierStatus directly, send a POST request to https://{fusion-host}/api/fusion-ai/orchestrator/agent/v2/{workflowCode}/invokeAsync. Replace {fusion-host} with your Fusion Applications host and {workflowCode} with the code of the published workflow that defines the capability. Send Content-Type: application/json and an Authorization: Bearer <access_token> header for an identity authorized to run the workflow.
Set the top-level triggerType to capability. In parameters, set capabilityName to the configured name and pass the operation's inputs as a JSON object in capabilityPayload.
{
"message": "",
"invocationMode": "END_USER",
"triggerType": "capability",
"parameters": {
"capabilityName": "getSupplierStatus",
"capabilityPayload": {
"supplierNumber": "SUP-1042"
}
}
}
Use the returned jobId to poll for the run status and read its output.
Email¶
Select Email Account, using a registered inbound account. Use a unique inbound account for each workflow; it cannot be shared with another workflow or an approver account. Configure accounts through Credentials > Email Accounts. Verify activity under Monitoring and Evaluation > Activities > Inbound Emails after publication.
Configure mailbox rules to place eligible messages in a dedicated folder. Email Folder must match that folder, and Polling Interval controls how often unread messages are checked. Processing marks a message Read. The workflow runs with the Fusion security of the Email Account configuration's creator, not the email sender.
Read email trigger inputs¶
When an incoming email starts the workflow, use these expressions in node inputs or mappings.
| Input | Expression | Value |
|---|---|---|
| Subject | {{$context.$triggers.EMAIL.$input.subject}} |
Subject line of the incoming message. |
| Sender | {{$context.$triggers.EMAIL.$input.fromAddress}} |
Sender's email address. |
| Body | {{$context.$triggers.EMAIL.$input.content}} |
Message body. |
| Headers | {{$context.$triggers.EMAIL.$input.headers}} |
All headers from the incoming message. |
| Attachments | {{$context.$triggers.EMAIL.$input.attachments}} |
Files attached to the incoming message. |
Validate the sender and attachment content before using them in a transaction. Test parsing with representative data before publication. See background execution.
Schedule¶
Use a schedule trigger to run a published workflow at a specified time or on a repeating schedule without a user request or an API call. To configure the trigger, your account must have the FAI Batch Job Manager duty (ORA_DR_FAI_BATCH_JOB_MANAGER_DUTY) assigned in the Security Console.
- Open the workflow's Settings and go to Triggers > Schedule.
- Select Add schedule trigger and configure the schedule using one of the types below.
- Enter the execution date and time in UTC. For a repeating calendar schedule, enter a start date and time and, if needed, an end date and time.
- Save and publish the workflow to activate the schedule.
| Schedule type | When the workflow runs |
|---|---|
| Interval | At a fixed interval, such as every 100 minutes, 10 hours, or 5 days. |
| Recurrence | Once at a specified date and time, or on a repeating calendar pattern such as daily, weekly, or monthly. |
After publishing, open Monitoring and Evaluation > Activities > Schedules. Find the schedule and verify that it starts the workflow at the configured time.
Signals¶
Select Add signal subscription. An active, versioned signal definition is created separately in Resources > Signals. See Signals for subscription setup and filter examples.
| Field | Options, initial value, and meaning |
|---|---|
| Signal definition | Select the event contract that can launch the workflow. |
| Filter expression | Optional Boolean expression over the signal's $event context. A blank filter matches every occurrence of the selected signal. |
| Max attempts | Initially 5. Number of delivery attempts before exhaustion. |
| Retry delay | Initially 60 seconds. Base delay before retrying a failed delivery. |
| Backoff policy | Exponential, Fixed, None; default: Exponential. Determines how retry delay changes. |
| Retry failed deliveries | Enabled / Disabled. Default: Enabled. Allows failed deliveries to be retried. |
| Dead letter exhausted deliveries | Enabled / Disabled. Default: Enabled. Moves exhausted deliveries to dead letter after attempts are used. |
| Apply, Cancel | Commit or discard the subscription form. |
Configure signal execution identity under Security > Run signal triggers as in the workflow's Settings.
Variables¶
Use workflow variables to store values that multiple nodes need, such as a record ID or a routing decision.
Define a variable¶
Open the workflow's Settings > Variables and select Add variable.
| Field | What to enter |
|---|---|
| Name | A name unique within the workflow. Start with a letter and use only letters, numbers, and underscores. |
| Type | String, Number, Integer, Boolean, Date, Object, or Array. The default is String. |
| Scope | Choose User Question for values used only while handling the current question. This is the default. Choose Conversation to retain a value for follow-up turns in the same chat. |
Select Apply, then save the workflow. Use Edit or Delete to manage an existing definition.
Assign and read a value¶
- Add a Logic > Set Variables node before the nodes that need the value.
- In the node's Variables section, select Add and choose the variable by name.
- Set Value to a literal or an expression that resolves to the variable's declared type. For example, assign
{{$context.$nodes.LOOK_UP_ORDER.$output.orderId}}to a String variable namedorderIdwhen the lookup returns the ID as a string. - In a downstream node input or condition, read the value with
{{$context.$variables.orderId}}. If follow-up turns need the same order ID, declare the variable with Conversation scope.
See the Set Variables node reference for node configuration.
Error Handling¶
Use Settings > Error Handling > Email to notify the team responsible for the workflow when a run encounters a permanent error.
| Field | What to enter |
|---|---|
| Recipients | Email addresses of the people or team responsible for investigating failures. |
| CC | Additional addresses that should receive a copy. |
| Email Subject | A short subject identifying the workflow and the failure. |
| Email Template | The message body. Include the trace ID so recipients can locate the run. |
Use Insert Expression in supported fields to include runtime values. For example, set Email Subject to Workflow failed - {{$context.$workflow.$name}} and include {{$context.$workflow.$traceId}} in the Email Template.
For a failure that the workflow can handle at a specific node, configure that node's Error Handler to route execution to a recovery step. The workflow-level email applies when the run encounters a permanent error. See workflow error paths for node-level handling.
Save and publish the workflow. In a test environment, verify that a permanent failure sends the notification to the configured addresses and that the trace ID identifies the failed run.