oracle-fusion-hcm

n8n node for Oracle Fusion HCM Cloud API integration

Package Information

Released: 9 mo ago
Downloads: 12 weekly / 83 monthly
Latest Version: 0.2.31
Author: Tom Cruise

Documentation

Banner image

n8n-nodes-oracle-fusion-hcm

Oracle Fusion HCM integration for n8n. This package provides comprehensive nodes for interacting with Oracle Fusion HCM (Human Capital Management) REST APIs, enabling automation of HR processes, employee management, and workforce analytics.

⚠️ Self-Hosted Only: This package is designed for self-hosted n8n installations only. It uses the jsonwebtoken library for JWT authentication, which is not compatible with n8n Cloud due to dependency restrictions.

Quick Start

Install the package:

npm install n8n-nodes-oracle-fusion-hcm

To develop locally:

npm run dev

This starts n8n with the Oracle Fusion HCM nodes loaded and hot reload enabled.

Features

This package includes comprehensive Oracle Fusion HCM integration:

  • Oracle Fusion HCM Node - Complete integration for Oracle HCM Cloud:
    • Employee Management - Create, update, retrieve, and search employees
    • Department Operations - Manage organizational units and departments
    • Job & Position Management - Handle job definitions and positions
    • Workforce Analytics - Access workforce data and reporting
    • Absence Management - Manage employee absences and leave
    • Authentication - Secure API access with OAuth2 or Basic Auth
    • List search functionality - Dynamic dropdowns for employees, departments, and jobs
    • Proper error handling - Comprehensive error messages and retry logic

Supported Resources

  • Employees - Full CRUD operations for employee records
  • Departments - Organizational structure management
  • Jobs - Job definition and classification
    • Absences - Leave and absence tracking
  • Workers - Worker assignment and management

Oracle Fusion HCM API Prerequisites

Before using this integration, ensure you have:

  1. Oracle Fusion HCM Cloud instance with API access enabled
  2. API credentials (OAuth2 client credentials or Basic Auth)
  3. API endpoint URL (e.g., https://your-instance.fa.us2.oraclecloud.com)
  4. Required permissions in Oracle HCM for the operations you want to perform

Resources & Documentation

License

MIT

Support

For issues and feature requests, please use the GitHub issues page.

  • n8n Credentials - See how authentication is implemented for various services

These are excellent resources to understand how to structure your nodes, handle different API patterns, and implement advanced features.

Prerequisites

Before you begin, install the following on your development machine:

Required

Recommended

[!NOTE]
The @n8n/node-cli is included as a dev dependency and will be installed automatically when you run npm install. The CLI includes n8n for local development, so you don't need to install n8n globally.

Getting Started with this Starter

Follow these steps to create your own n8n community node package:

1. Create Your Repository

Generate a new repository from this template, then clone it:

git clone https://github.com/<your-organization>/<your-repo-name>.git
cd <your-repo-name>

2. Install Dependencies

npm install

This installs all required dependencies including the @n8n/node-cli.

3. Explore the Examples

Browse the example nodes in nodes/ and credentials/ to understand the structure:

4. Build Your Node

Edit the example nodes to fit your use case, or create new node files by copying the structure from nodes/Example/.

[!TIP]
If you want to scaffold a completely new node package, use npm create @n8n/node to start fresh with the CLI's interactive generator.

5. Configure Your Package

Update package.json with your details:

  • name - Your package name (must start with n8n-nodes-)
  • author - Your name and email
  • repository - Your repository URL
  • description - What your node does

Make sure your node is registered in the n8n.nodes array.

6. Develop and Test Locally

Start n8n with your node loaded:

npm run dev

This command runs n8n-node dev which:

  • Builds your node with watch mode
  • Starts n8n with your node available
  • Automatically rebuilds when you make changes
  • Opens n8n in your browser (usually http://localhost:5678)

You can now test your node in n8n workflows!

[!NOTE]
Learn more about CLI commands in the @n8n/node-cli documentation.

7. Lint Your Code

Check for errors:

npm run lint

Auto-fix issues when possible:

npm run lint:fix

8. Build for Production

When ready to publish:

npm run build

This compiles your TypeScript code to the dist/ folder.

9. Prepare for Publishing

Before publishing:

  1. Update documentation: Replace this README with your node's documentation. Use README_TEMPLATE.md as a starting point.
  2. Update the LICENSE: Add your details to the LICENSE file.
  3. Test thoroughly: Ensure your node works in different scenarios.

10. Publish to npm

Publish your package to make it available to the n8n community:

npm publish

Learn more about publishing to npm.

11. Submit for Verification (Optional)

Get your node verified for n8n Cloud:

  1. Ensure your node meets the requirements:

    • Uses MIT license ✅ (included in this starter)
    • No external package dependencies
    • Follows n8n's design guidelines
    • Passes quality and security review
  2. Submit through the n8n Creator Portal

Benefits of verification:

  • Available directly in n8n Cloud
  • Discoverable in the n8n nodes panel
  • Verified badge for quality assurance
  • Increased visibility in the n8n community

Available Scripts

This starter includes several npm scripts to streamline development:

Script Description
npm run dev Start n8n with your node and watch for changes (runs n8n-node dev)
npm run build Compile TypeScript to JavaScript for production (runs n8n-node build)
npm run build:watch Build in watch mode (auto-rebuild on changes)
npm run lint Check your code for errors and style issues (runs n8n-node lint)
npm run lint:fix Automatically fix linting issues when possible (runs n8n-node lint --fix)
npm run release Create a new release (runs n8n-node release)

[!TIP]
These scripts use the @n8n/node-cli under the hood. You can also run CLI commands directly, e.g., npx n8n-node dev.

Troubleshooting

My node doesn't appear in n8n

  1. Make sure you ran npm install to install dependencies
  2. Check that your node is listed in package.json under n8n.nodes
  3. Restart the dev server with npm run dev
  4. Check the console for any error messages

Linting errors

Run npm run lint:fix to automatically fix most common issues. For remaining errors, check the n8n node development guidelines.

TypeScript errors

Make sure you're using Node.js v22 or higher and have run npm install to get all type definitions.

Resources

Contributing

Have suggestions for improving this starter? Open an issue or submit a pull request!

License

MIT

Discussion