Skip to content
Liferay logo

Connectors / Documents and e-signature · HTTP Connector

Liferay integration and API

Create a blog posting and upload a document in Liferay. Connect Liferay to the rest of your documents and e-signature stack with Tray.ai.

What can you do with Liferay on Tray.ai?

Liferay is a digital experience platform for building websites, portals and online stores, with content, documents, user accounts and commerce managed in one system. Tray.ai connects to Liferay through the HTTP Connector, so your workflows can call the Liferay API alongside the rest of your stack.

  • Upload a document to Liferay when a policy is approved in your document workflow.
  • Create an account in Liferay when a deal is won in your CRM, so the customer gets portal access.
  • Create a blog posting in Liferay when a release note is published by the product team.
Connects through
HTTP Connector
Authentication
OAuth 2.0 or basic authentication

Set it up

Connect Liferay to Tray.ai

Each step uses Liferay's own API details, from its documentation.

Step 1

Sign in to Liferay with OAuth 2.0

Set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with Liferay. Sign in once and every step reads the token from there.

Step 2

Import a request from Liferay's docs

Add an HTTP Client step and paste a cURL example from Liferay's API docs. Tray.ai fills in the method, URL, headers, and query.

Step 3

Start with “List blog postings”

It's one of 15 documented actions, under Blog postings. The response comes back as data the next step can map into your other apps.

Step 4

Hand it to an AI agent

Wrap “Get a blog posting” and “Create a blog posting” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Workflows to build with Liferay

Connect Liferay with Salesforce, Slack, SharePoint and Confluence

Each one uses actions and events from Liferay's own API documentation.

Create Liferay accounts for new Salesforce customers

When

An account becomes a customer in Salesforce

Then

  1. Create an account in Liferay for the customer portal
  2. Post the new portal account to the onboarding channel in Slack

With Salesforce and Slack

Publish approved SharePoint documents to a Liferay site

When

A file is approved in SharePoint

Then

  1. Get the file from SharePoint
  2. Upload a document to the Liferay site

With SharePoint

Turn Confluence release notes into Liferay blog postings

When

A release notes page is published in Confluence

Then

  1. Get the page content from Confluence
  2. Create a blog posting in Liferay with the release notes

With Confluence

Apps you can build on Liferay data

Internal tools your team can build with an AI assistant, each one using Liferay calls from its API documentation.

Blog review queue

Lists blog postings and lets an editor review and update a post before it goes live.

Site document library

Lists site documents and lets staff upload new versions or remove old files.

Customer account directory

Lists accounts and lets an admin create or update an account.

Give your AI agents Liferay tools

Build an MCP server on Liferay in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List blog postings
  • List site documents
  • List accounts
  • Get a blog posting
  • Create a blog posting
  • Update a blog posting
  • Delete a blog posting
  • Get a document

What the Liferay API covers

3 resources and 15 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Blog postings

  • List blog postings
  • Get a blog posting
  • Create a blog posting
  • Update a blog posting
  • Delete a blog posting

Documents

  • List site documents
  • Get a document
  • Upload a document
  • Update a document
  • Delete a document

Accounts

  • List accounts
  • Get an account
  • Create an account
  • Update an account
  • Delete an account

Checked against Liferay's own documentation on 2026-10-22

learn.liferay.com/w/dxp/integration/headless-apis

Frequently asked questions

What can a Tray.ai workflow do in Liferay?

+

The Liferay API documents 15 actions across 3 resources (Blog postings, Documents, Accounts). For example: List blog postings; List site documents; List accounts. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Liferay?

+

The Liferay API uses OAuth 2.0 and basic authentication. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

See Liferay working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.