Automations let you respond to merchant behavior automatically — without writing custom backend logic or managing cron jobs. You define a workflow once: choose what triggers it, add the actions you want to run, and Meridian handles execution whenever the trigger fires. Use automations to onboard new merchants, re-engage churning ones, send transactional emails, or fire webhooks to external systems.Documentation Index
Fetch the complete documentation index at: https://help.the-meridian.ai/llms.txt
Use this file to discover all available pages before exploring further.
How automations work
An automation is a directed graph of nodes connected by edges. Every automation has exactly one trigger node — the event that starts the workflow — and one or more action nodes that run in sequence when the trigger fires. Meridian stores the graph as a serialized structure:label and optional description visible in the editor canvas. Action nodes that send emails reference an email template via emailUuid. Action nodes that call external services carry a webhookUrl.
The visual editor
Open any automation to enter the drag-and-drop graph editor. The canvas shows your nodes and the edges connecting them. You can:- Add a trigger — pick from the available
TriggerDefinitionlist, each with anid,label, anddescription - Add actions — pick from the available
ActionDefinitionlist in the same format - Connect nodes — drag from a node’s output handle to another node’s input handle to create an edge
- Configure nodes — click a node to set its
webhookUrlor choose anemailUuidfrom your saved email templates - Reposition — drag any node to reposition it; the
positionis saved with the graph
Automation status
Every automation has astatus of either "active" or "inactive". Only active automations execute when their trigger fires. Set an automation to inactive to pause it without deleting it.
Trigger and action definitions
Triggers and actions are defined by theirid, label, and description. Meridian groups them by category for easier browsing in the editor’s node picker.
TriggerCategory groups, and actions into ActionCategory groups. Browse these categories in the editor’s Add node panel.
Automation templates
Templates give you a ready-made graph for common merchant lifecycle scenarios. Every template belongs to one of five categories defined byAutomationTemplateCategoryId:
Onboarding
Welcome new merchants, trigger setup guides, or send a welcome email when a merchant installs your app for the first time.
Retention
Detect churn signals and trigger re-engagement actions before a merchant uninstalls.
Engagement
Nudge merchants toward features they haven’t used or milestones they’re close to reaching.
Lifecycle
Respond to plan upgrades, downgrades, or subscription status changes.
Operations
Fire webhooks to internal tools, update external CRMs, or trigger Slack notifications.
AutomationGraph with nodes and edges already configured. You can use a template as-is or customize it in the editor after applying it.
Creating an automation from a template
Open the automations page
Navigate to Automations in the sidebar. You see a list of all existing automations for your app.
Browse templates
Click New automation and then select Start from a template. Templates are grouped by category: onboarding, retention, engagement, lifecycle, and operations.
Apply a template
Click a template card to preview its graph, then click Use template. Meridian creates a new automation with the template’s graph pre-loaded and sets its status to
"inactive".Customize in the editor
The editor opens automatically. Review the pre-built nodes and edges. Configure any action nodes that require a
webhookUrl or emailUuid. Rename the automation to something descriptive.Connecting automations to emails
Action nodes that send emails reference a saved email template viaemailUuid. To connect an email:
- In the editor, click an email action node.
- In the configuration panel, select an email from your saved templates. The node stores the selected template’s
uuidasemailUuid. - When the automation runs and reaches that node, Meridian sends the referenced email to the merchant who triggered the workflow.
The email template must have a
status of "active" for the automation to send it. Inactive email templates are skipped and the automation logs a failure for that run.Run history
Every time an automation executes, Meridian records anAutomationRun:
Platform plan limits
Your Meridian platform plan includes anautomations limit that caps how many automations you can create for your app.