Skip to main content

AI-powered document search with Oracle and ONNX embeddings for recruiting

Workflow preview

Workflow preview
100%
AI-powered document search with Oracle and ONNX embeddings for recruiting preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

How it works 1. Create a user for doing Hybrid Search. 2. Clear Existing Data, if present. 3. Add Documents into the table. 4. Create a hybrid index. 5. Run Semantic search on Documents table for "...

Best for

  • Engineering automation workflows
  • AI RAG automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.chattrigger, n8n-nodes-base.oracledatabase, n8n-nodes-base.code

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by sudarshan.

Original n8n.io source

1.1 Workflow description

Title
AI-powered document search with Oracle and ONNX embeddings for recruiting
Workflow name
AI-powered document search with Oracle and ONNX embeddings for recruiting

How it works

  1. Create a user for doing Hybrid Search.
  2. Clear Existing Data, if present.
  3. Add Documents into the table.
  4. Create a hybrid index.
  5. Run Semantic search on Documents table for "prioritize teamwork and leadership experience".
  6. Run Hybrid search for the text inputted in Chat interface.

Setup Steps

Download the ONNX model

all_MiniLM_L12_v2_augmented.zip

Extract the ZIP file on the database server into a directory, for example /opt/oracle/onnx. After extraction, the folder contents should look like:

bash-4.4$ pwd
/opt/oracle/onnx
bash-4.4$ ls
all_MiniLM_L12_v2.onnx

Connect as SYSDBA and create the DBA user

-- Create DBA user
CREATE USER app_admin IDENTIFIED BY "StrongPassword123"
  DEFAULT TABLESPACE users 
  TEMPORARY TABLESPACE temp 
  QUOTA UNLIMITED ON users;


-- Grant privileges
GRANT DBA TO app_admin;
GRANT CREATE TABLESPACE, ALTER TABLESPACE, DROP TABLESPACE TO app_admin;

Create n8n Oracle DB credentials

  • hybridsearchuser → for hybrid search operations
  • dbadocuser → for DBA setup (user and tablespace creation)

Run the workflow

Click the manual Trigger

  • It displays Pure semantic search results

Enter search text in Chat interface

  • It displays results for vector and keyword search.

Note

  • The workflow currently creates the hybrid search user, docuser with the password visible in plain text inside the n8n Execute SQL node.
  • For better security, consider performing the user creation manually outside n8n.
  • Oracle 23ai or 26ai Database has to be used`

Reference

Hybrid Search End-End Example

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking ‘Execute workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - When chat message received

Type / Role
@n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
Config choices
Version 1.3

Block 4 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Create a user

Type / Role
n8n-nodes-base.oracleDatabase - oracleDatabase
Config choices
Version 1

Block 6 - ONNX Model Directory path

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Grant Privileges to user

Type / Role
n8n-nodes-base.oracleDatabase - oracleDatabase
Config choices
Version 1

Block 8 - Clear Existing Data

Type / Role
n8n-nodes-base.oracleDatabase - oracleDatabase
Config choices
Version 1

Block 9 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Generate Documents data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 15 - Add Documents in to table

Type / Role
n8n-nodes-base.oracleDatabase - oracleDatabase
Config choices
Version 1

Block 16 - Create Hybrid Index

Type / Role
n8n-nodes-base.oracleDatabase - oracleDatabase
Config choices
Version 1

Block 17 - Sticky Note10

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note11

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Text Input

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 20 - Perform Semantic Search

Type / Role
n8n-nodes-base.oracleDatabase - oracleDatabase
Config choices
Version 1

Block 21 - Perform Hybrid Search

Type / Role
n8n-nodes-base.oracleDatabase - oracleDatabase
Config choices
Version 1

Block 22 - Format the result

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

3. Summary Table

Workflow AI-powered document search with Oracle and ONNX embeddings for recruiting
Complexity advanced
Nodes 22
Categories Engineering, AI RAG
Author sudarshan
Published 29 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10273/10273.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does AI-powered document search with Oracle and ONNX embeddings for recruiting do?

How it works 1. Create a user for doing Hybrid Search. 2. Clear Existing Data, if present. 3. Add Documents into the table. 4. Create a hybrid index. 5. Run Semantic search on Documents table for "...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Engineering, AI RAG use case.