- Support
- Integrations
- Vision
Vision
Oracle Cloud integration · 10 node(s).
00Overview
Read the contents of images and documents straight from a flow — pull classification labels and detected objects out of a photo, run OCR to recover printed text, and extract tables, key-value pairs and a document type from a scanned form or PDF. Manage the Vision projects that hold your custom models, creating, renaming, moving and listing them, and look up the trained models themselves by name, project or OCID. Everything runs against your own Oracle Cloud tenancy, in the region you connect.
Every field below is exactly what you see in the Flomation editor. Fields marked ● live picker let you choose from a list pulled live from your account — no IDs to look up.
01Connecting Vision
- In each Vision node the Authentication dropdown offers two ways to sign in: Connect Oracle Cloud (recommended — a managed connection) and API signing key (advanced) (paste your own signing key). Set up whichever you prefer once, then reuse it on every action.
- Connect Oracle Cloud (recommended): in Flomation, open your environment's Connections and add an Oracle Cloud (API key) connection — give it a name, your Tenancy OCID and a Region (e.g.
uk-london-1), then choose Create. Flomation generates the signing key pair for you, so no private key is ever pasted by hand. - Still in the wizard, click Deploy to Oracle Cloud to open a stack in your OCI Console, pick the compartment to grant access to and apply it — this sets up the access Flomation needs. Copy the User OCID from the stack outputs back into the wizard, choose Connect, then Test until it confirms (a brand-new key can take a minute or two to activate).
- API signing key (advanced): to supply your own key instead, in the OCI Console open your user's profile → API Keys → Add API Key, upload or download a key pair, and copy the Tenancy OCID, User OCID, Region and Key Fingerprint from the configuration preview OCI shows after the key is added.
- Store the Private Key (PEM) as a Flomation environment secret (e.g.
vision_secret) — the full PEM including theBEGIN/ENDlines — and pick it in the node's Private Key (PEM) field; fill Private Key Passphrase only if your key is encrypted. - Whichever method you use, set the Compartment OCID on each node to the compartment your Vision projects, models and analysis calls should run in — it is required on every action.
| Field | Type | Details | |
|---|---|---|---|
| Authentication | string | Connect Oracle Cloud, API signing key (advanced) | |
| Oracle Cloud connection | credential | Pick a connected Oracle Cloud account | |
| Region | string | e.g. uk-london-1 | |
| Private Key (PEM) | secret | The API signing private key — full PEM, incl. BEGIN/END lines | |
| Private Key Passphrase | secret | Only if the key is encrypted (optional) | |
| Tenancy OCID | string | ocid1.tenancy.oc1..aaaa… | |
| User OCID | string | ocid1.user.oc1..aaaa… | |
| Key Fingerprint | string | aa:bb:cc:… fingerprint of the uploaded API key |
Pick an Environment on your flow (Flow Settings → Environment) so the secret resolves. Secret fields never show the value — they reference ${secrets.your_secret}.
02Analyze
OCI Vision: Analyze Document
oracle/vision/analyze_document · Action
Run OCI Vision Document AI over a base64 document (image or PDF) to extract text, tables and key-value pairs, or classify the document type.
| Field | Type | Details | |
|---|---|---|---|
| Compartment OCID | string | Required | ocid1.compartment.oc1..aaaa… |
| Document (base64) | text | Required | Base64-encoded document bytes (image or PDF) |
| Feature Types (CSV) | text | Required | Comma-separated: TEXT_DETECTION, TABLE_DETECTION, KEY_VALUE_DETECTION, DOCUMENT_CLASSIFICATION |
Returns: tool_result, result, success, error
OCI Vision: Analyze Image
oracle/vision/analyze_image · Action
Analyze a base64-encoded image with OCI Vision — request any mix of classification labels, object detection and text (OCR) detection, and get the labels, objects and recognised text back.
| Field | Type | Details | |
|---|---|---|---|
| Compartment OCID | string | Required | ocid1.compartment.oc1..aaaa… |
| Image (base64) | text | Required | Base64-encoded image bytes (a data: URI prefix is accepted and stripped) |
| Feature Types | string | Required | Comma-separated: CLASSIFY, DETECT_OBJECTS, DETECT_TEXT |
Returns: tool_result, result, success, error
03Model
OCI Vision: Get Model
oracle/vision/model_get · Action
Fetch a single OCI Vision custom model by its OCID — its type, version, project and lifecycle state.
| Field | Type | Details | |
|---|---|---|---|
| Compartment OCID | string | Required | ocid1.compartment.oc1..aaaa… |
| Model OCID | string | Required | ocid1.aivisionmodel.oc1..aaaa… |
Returns: tool_result, model, id, lifecycle_state, success, error
OCI Vision: List Models
oracle/vision/model_list · Action
List the custom Vision models in a compartment. Optionally filter by project, exact display name, or lifecycle state. Walks pagination up to a safe cap.
| Field | Type | Details | |
|---|---|---|---|
| Compartment OCID | string | Required | ocid1.compartment.oc1..aaaa… (use the tenancy OCID for the root) |
| Project OCID Filter | string | Only models in this project (optional) | |
| Display Name Filter | string | Only models with this exact name (optional) | |
| Lifecycle State | string | Only models in this state (optional) — choices: Creating, Updating, Active, Deleting, Deleted, Failed | |
| Page Size | string | Max items per page (optional) |
Returns: tool_result, models, count, truncated, success, error
04Project
OCI Vision: Change Project Compartment
oracle/vision/project_change_compartment · Action
Move a Vision project into a different compartment — the project keeps its OCID, only its compartment placement changes.
| Field | Type | Details | |
|---|---|---|---|
| Compartment OCID | string | Required | ocid1.compartment.oc1..aaaa… |
| Project OCID | string | Required | ocid1.aivisionproject.oc1..aaaa… (the project to move) |
| Destination Compartment OCID | string | Required | ocid1.compartment.oc1..aaaa… (where to move the project) |
Returns: tool_result, id, destination_compartment_id, success, error
OCI Vision: Create Project
oracle/vision/project_create · Action
Create a Vision project — the container for your custom image/document models. Returns the project in a CREATING state plus a work-request id; poll Get Project until ACTIVE.
| Field | Type | Details | |
|---|---|---|---|
| Compartment OCID | string | Required | ocid1.compartment.oc1..aaaa… |
| Display Name | string | A name for the project (optional) | |
| Description | string | An optional description of the project |
Returns: tool_result, project, id, lifecycle_state, work_request_id, success, error
OCI Vision: Delete Project
oracle/vision/project_delete · Action
Delete a custom Vision project by its OCID — returns a work-request to track the async delete.
| Field | Type | Details | |
|---|---|---|---|
| Compartment OCID | string | Required | ocid1.compartment.oc1..aaaa… |
| Project OCID | string | Required | ocid1.aivisionproject.oc1..aaaa… of the project to delete |
Returns: tool_result, id, work_request_id, success, error
OCI Vision: Get Project
oracle/vision/project_get · Action
Fetch a single Vision project by its OCID — its display name, description, compartment and lifecycle state.
| Field | Type | Details | |
|---|---|---|---|
| Compartment OCID | string | Required | ocid1.compartment.oc1..aaaa… |
| Project OCID | string | Required | ocid1.aivisionproject.oc1..aaaa… |
Returns: tool_result, project, id, lifecycle_state, success, error
OCI Vision: List Projects
oracle/vision/project_list · Action
List the custom Vision projects in a compartment. Optionally filter by exact display name or lifecycle state, and cap the number returned. Walks pagination up to a safe limit.
| Field | Type | Details | |
|---|---|---|---|
| Compartment OCID | string | Required | ocid1.compartment.oc1..aaaa… (use the tenancy OCID for the root) |
| Display Name Filter | string | Only projects with this exact name (optional) | |
| Lifecycle State | string | Filter by state (optional) — choices: Creating, Updating, Active, Deleting, Deleted, Failed | |
| Limit Per Page | string | Max items per page (optional) |
Returns: tool_result, projects, count, truncated, success, error
OCI Vision: Update Project
oracle/vision/project_update · Action
Partially update a Vision project — change only the display name or description you supply; blank fields are left unchanged. Asynchronous: returns a work-request id you can poll for completion.
| Field | Type | Details | |
|---|---|---|---|
| Compartment OCID | string | Required | ocid1.compartment.oc1..aaaa… |
| Project OCID | string | Required | ocid1.aivisionproject.oc1..aaaa… — the project to update |
| Display Name | string | New name (leave blank to keep unchanged) | |
| Description | string | New description (leave blank to keep unchanged) |
Returns: tool_result, id, work_request_id, success, error
05Notes & Limitations
Behaviours and constraints worth knowing before you build with these nodes.
- Both the image and document analysis actions take their content inline as base64, so they suit single images and smaller documents better than very large multi-page files.
- Every action requires a Compartment OCID, because Oracle Cloud authorizes and bills each request against the compartment you name.
- You can look up and list custom Vision models here but not create or train them, so a custom model has to be built elsewhere in Oracle Cloud before it will show up in Get Model or List Models.
- OCI Vision is a regional service, so the region you connect in is where analysis runs and the only place its projects and models are visible — anything created in another region will not appear here.
- List Projects and List Models walk through results only up to a fixed number of pages, so in a very large compartment the returned list can be incomplete — watch the truncated flag when that matters.
- A newly connected Oracle Cloud account may need a minute or two before its first call succeeds, while the new signing key becomes active across Oracle Cloud.