How chrishof/n8n-nodes-liferay works
Project type and purpose
• This is an open‐source integration node (“n8n Liferay Node”) for the n8n workflow automation platform.
• Its purpose is to let end users build n8n workflows that authenticate (OAuth2 or Basic Auth) against a Liferay instance and invoke any of Liferay’s Headless APIs or Custom Object endpoints, with full metadata and UI autocomplete.
File structure
Top level
• index.js → entry point that registers the node with n8n
• gulpfile.js → build tasks (TypeScript compilation, bundling)
• tsconfig.json → TypeScript compiler settings
• eslint.config.* → linting rules
• package.json, pnpm-lock.yaml
nodes/Liferay
• Liferay.node.json → node description (name, inputs, outputs, credentials UI schema, operations list)
• Liferay.node.ts → runtime implementation and wiring
• descriptions/ → per‐operation parameter definitions (from OpenAPI)
• functions/ → reusable HTTP request helpers and individual API‐call functions
README for additional insights
• Confirms support for OAuth2 and Basic Auth
• All endpoints exposed via dynamic OpenAPI‐driven autocomplete
• Usage pattern: install via n8n’s community‐node mechanism, then configure credentials and endpoints in the UI