Run Custom PHP Action

Executes a custom PHP expression on the server side when the action is triggered.

Useful for performing backend calculations, formatting, or logic that requires server-side processing.

This action does not output anything, and is meant to pass on data to other actions. For more details, see Referencing Data From Previous Actions.

Action Settings

Option Default Type Description
Custom PHP None Text Box

A valid PHP expression that will be executed.

Use the $data array to access referenced data from earlier steps.

Reference ID None Text Field

Assign a unique name to store the result of the PHP expression so it can be used in later actions.

Format: Lowercase letters, numbers, and underscores only.