diff --git a/src/connections/destinations/actions.md b/src/connections/destinations/actions.md index b80a5c4fe9..e44f16eab6 100644 --- a/src/connections/destinations/actions.md +++ b/src/connections/destinations/actions.md @@ -245,6 +245,14 @@ The Liquid syntax function enables you to transform event data with fine-grain c #### Whitespace By default, Liquid will generate a newline when inputing multi-line templates. To strip these newlines you can use hyphens in the syntax ({% raw %} `{{-`, `-}}`, `{%-`, `-%}` {% endraw %}). See the [LiquidJS docs](https://liquidjs.com/tutorials/whitespace-control.html) for more information. +#### Liquid template limits + +Segment enforces the following limits on liquid templates to protect performance and security: + +- Maximum template length: 1,000 characters per function +- Maximum evaluation time: 500 ms +- Maximum memory usage: 100 MB + #### Supported liquid tags and filters Segment supports the following LiquidJS tags and filters for mappings. Segment selected these to ensure performance, security, and compatibility with real-time event processing. Segment disabled unsupported tags and filters to prevent performance degradation or security risks.