---
title: LiquidExtension
slug: data-platform/connect-platform/app-sdk-api-reference-classes-liquidextension
docTags: 
createdAt: 2026-08-05T20:06:36.783Z
---

[OCP App SDK](docId\:gxEU_0AA37IEZJK-uoVcT)

***

[OCP App SDK](docId\:gxEU_0AA37IEZJK-uoVcT) / LiquidExtension

# Class: `abstract` LiquidExtension

Defined in: [src/app/LiquidExtension.ts:25](https://github.com/ZaiusInc/app-sdk/blob/8c7209817facb226c91abb960e6d54a7692b9aa2/src/app/LiquidExtension.ts#L25)

Defines the interface of a liquid extension, which allows an app to expose custom functionality into the content
rendering pipeline.

## Constructors

### Constructor

:::BlockQuote
**new LiquidExtension**(): `LiquidExtension`
:::

### Returns

`LiquidExtension`

## Methods

### perform()

:::BlockQuote
`abstract` **perform**(`context`, `input`): `Promise`\<[`` `LiquidExtensionResult` ``](docId\:s4RXPkUF6F6I09far-vT8)>
:::

Defined in: [src/app/LiquidExtension.ts:34](https://github.com/ZaiusInc/app-sdk/blob/8c7209817facb226c91abb960e6d54a7692b9aa2/src/app/LiquidExtension.ts#L34)

Performs the liquid extension.

### Parameters

### context

[`` `LiquidExtensionContext` ``](docId\:EzWw84MwS6QuQu6zMoyVM)

of the liquid call

### input

[`` `LiquidExtensionInput` ``](docId\:wPTrUz0gvIheVg10jsvYB)

any input data provided by the liquid template

### Returns

`Promise`\<[`` `LiquidExtensionResult` ``](docId\:s4RXPkUF6F6I09far-vT8)>

either successful output (via [LiquidExtensionResult.success](docId\:NV6r9sjdc_6Dhs0_dvf6S)) or an error message
(via [LiquidExtensionResult.error](docId\:NV6r9sjdc_6Dhs0_dvf6S))

### Async
