Lunogram

Actions

Extend journeys with pluggable integrations to connect with external services

Actions are pluggable integrations that let your journeys interact with the outside world. Each action is a reusable configuration that can be called from journey steps to send data to external services, fetch information from APIs, or trigger operations in third-party tools.

How Actions Work

Actions follow a two-step model:

  1. Create an Action in the Actions tab. This is where you configure the integration, such as setting up credentials or defining an endpoint.
  2. Use it in a Journey by adding an Action step. Select the action, choose which function to execute, and configure the input parameters.

When a user reaches an action step, the platform executes the selected function, passes the configured input, and stores the response so subsequent steps can use it.

Creating an Action

Navigate to the Actions tab and click Create Action. You'll be prompted to select the type of action to create.

FieldDescription
NameA descriptive name for the action
TypeThe action module to use
ConfigurationModule-level settings such as credentials or base URLs (varies by type)

After creating an action, you can verify the configuration from the action detail page using the Test button.

Using Actions in Journeys

Add an Action step to your journey and configure it:

ParameterDescription
NameDisplay name for the step
Data KeyUnique key to reference the result in later steps (learn more)
ActionThe action to execute (created in the Actions tab)
FunctionWhich function to call on the action
InputParameters for the function (fields are generated from the function's input schema)

Accessing Action Results

Action responses are stored under the step's data key and can be referenced in subsequent steps using Liquid template expressions:

{{journey.my_action.body}}

This works in campaign templates, gate conditions, user updates, and any other step that supports template expressions.

Testing Actions

Actions can be tested at two levels:

  • Module test: From the action detail page, click Test to validate the module-level configuration.
  • Function test: From the journey editor, click Test on an action step to execute the function with the configured input and inspect the response.

Test executions run against the actual endpoint. Use test or staging URLs when validating actions to avoid unintended side effects.

Combining Actions with Other Steps

Actions are most useful when combined with other journey step types:

PatternDescription
Action → GateCall an API, then branch based on the response
Action → UpdateFetch external data and save it to the user profile
Action → SendRetrieve personalized content, then send it in a message
Gate → ActionOnly call the API when certain conditions are met
Delay → ActionWait for the right moment before making an API call

On this page