Skip to content

Automate Pass Updates with Shopify Flow

SleekPass includes a Shopify Flow action named Create or Refresh Loyalty Passes. Use it when a customer event in Shopify should create missing Wallet passes or refresh the customer’s existing passes with current data.

  • Install Shopify Flow on your store.
  • Keep SleekPass installed and configured.
  • Open Shopify admin > Customers and choose the customer you will use for the test.
  • Make sure the customer does not already have the tag sleekpass-flow-test. Remove that tag and save the customer first if necessary.
  1. In Shopify admin, go to Apps > Shopify Flow.
  2. Click Create workflow.
  3. Click Select a trigger, search for Customer tags added, and select Shopify’s Customer tags added trigger.
  4. Click the + below the trigger, then click Action.
  5. Search for Create or Refresh Loyalty Passes and select the action under SleekPass.
  6. Select the SleekPass action on the canvas. In its Configuration panel, confirm it displays Customer: customer.id. Shopify supplies this reference automatically from Customer tags added; if the Customer value is missing, stop and remove the incomplete action instead of turning on the workflow.
  7. Click Turn on workflow and confirm the workflow is active.

The action runs asynchronously. SleekPass returns control to Flow promptly, then processes the customer’s Apple and Google Wallet passes in the background.

Test the real activated workflow with development-store data:

  1. In Shopify admin, go to Customers and open the customer selected above.
  2. In Tags, add sleekpass-flow-test, then click Save. Adding this new tag starts the workflow.
  3. Go to Apps > Shopify Flow > Activity, open the newest run of the workflow, and confirm both Customer tags added and Create or Refresh Loyalty Passes show Succeeded. If either step fails, open it and record the displayed error before retrying.
  4. Wait for SleekPass’s background work to finish, then confirm the customer has one Apple pass and one Google pass with the current Wallet design.
  5. Change the customer’s first or last name in Shopify admin and click Save.
  6. Remove sleekpass-flow-test from Tags and click Save. Add the same tag again and click Save to cause a second real run.
  7. Return to Apps > Shopify Flow > Activity and confirm the new run succeeds.
  8. Confirm the existing Apple and Google passes show the changed name and that no duplicate pass was created.

Shopify Flow’s simulated test mode does not execute actions that change store data. To verify the complete SleekPass result, turn on the workflow and cause the real trigger event in a development store.

Confirm that both SleekPass and Shopify Flow are installed. During app development, keep the SleekPass development preview running so Shopify can expose the draft action to the selected development store.

Delete the current trigger and use Shopify’s Customer tags added trigger. When the SleekPass action is added immediately below it, Flow should populate the required Customer reference automatically.

The Flow run succeeded but the pass has not changed yet

Section titled “The Flow run succeeded but the pass has not changed yet”

Wallet publication happens in the background. Allow the SleekPass worker to finish, then verify the existing Apple or Google Wallet pass again. If the run continues to have no effect, contact [email protected].