Getting started
1
Enable the Flow integration
In your Appstle Memberships admin, go to More → App Integrations & Exports → App Integrations and click Integrate on the Shopify Flow card. Select Enabled, then click Save.
2
Open the Shopify Flow editor
Navigate to the Shopify Flow editor in your Shopify admin.
3
Create a workflow
Click Create workflow, then select an Appstle Memberships trigger to start. All membership triggers appear under the Appstle Memberships app in the trigger picker.
Shopify Flow is available on Shopify Basic plan and above. All Flow trigger events are logged in the membership’s Activity Log with source
SYSTEM_EVENT.Membership lifecycle triggers
These triggers fire automatically when membership contracts change state. All lifecycle triggers include a full set of membership and customer properties.Billing triggers
Trigger properties
All triggers include the following properties:Membership properties
Customer properties
Billing event properties
The Membership Billing Success and Membership Billing Failure triggers include these additional fields:
The Membership Billing Success trigger also includes:
Example workflows
Send a welcome email on new membership
Send a welcome email on new membership
Trigger: Membership CreatedAction: Klaviyo / Omnisend / Shopify Email — send “Welcome to the membership” emailUse
Customer Email as the recipient and Membership Selling Plan Name to personalize the plan name in the email body.Tag customers by membership tier
Tag customers by membership tier
Trigger: Membership UpdatedCondition:
Membership Selling Plan Name contains "Gold"Action: Shopify — Add customer tag gold-memberThis pattern lets you apply tier-specific tags automatically as members upgrade or switch plans.Trigger a dunning flow on billing failure
Trigger a dunning flow on billing failure
Trigger: Membership Billing FailureCondition:
Billing Attempt Count equals 1 (first failure only)Action: Klaviyo — Trigger “Update Payment Method” flowPass Customer Email and Membership ID as variables to the email template.Pause account access on cancellation
Pause account access on cancellation
Trigger: Membership CancelledAction 1: Shopify — Add customer tag
membership-cancelledAction 2: Klaviyo — Send “We’re sorry to see you go” email with a win-back offerLog renewals in your CRM
Log renewals in your CRM
Trigger: Membership Billing SuccessAction: Salesforce / HubSpot (via Flow connector) — Log renewal eventUse
order_id, Customer Email, and Membership Selling Plan Name as the data payload.Alert your team on membership expiry
Alert your team on membership expiry
Trigger: Membership ExpiredAction: Slack — Send message to
#membership-churn channelInclude Customer Display Name, Customer Email, and Membership Selling Plan Name in the message body.Notes
- Imported membership contracts do not fire
membership-created. Only contracts created through the Shopify checkout flow trigger this event. - Flow integration must be enabled in More → App Integrations & Exports → App Integrations before any triggers will fire.
- All Flow trigger events appear in the membership Activity Log with source
SYSTEM_EVENT.
Next steps
Webhooks
Receive membership lifecycle and billing events on your server, and verify their signatures.
Admin API integration guide
Look up members, check whether a customer is an active member, and pause, resume or cancel memberships from your server.
Metafields and tags
The plan tags Appstle adds and removes, and the membership data your theme can read.
API changelog
Dated changes to the Flow triggers, webhooks and the Memberships APIs, with what to do about each.