Skip to main content
— Concept walkthrough

Automate digital downloads with Shopify Flow

Alva Digital Downloads ships 14 Shopify Flow extensions: triggers that fire when something digital happens (order delivered, file downloaded, fraud approved or rejected) and actions that change Alva state (grant download access, revoke access, resend the email, approve or reject a flagged order). Wire them together to automate post-purchase work that used to need a manual click.

What you can do with Flow + Alva

Three workflows merchants build first:

  • Refund → revoke access. Shopify's Order refunded trigger feeds Alva's Revoke access action so refunded customers stop being able to redownload.
  • Fraud rejected → Slack alert. Alva's Fraud check failed trigger fires a Slack message to your support channel with the order number and reason.
  • VIP customer → auto-approve. When a customer with a VIP tag places an order, Alva's Approve flagged order action skips the fraud queue and releases the download immediately.
Screenshot needed

Shopify Flow editor with the trigger picker open. Highlight the "Alva Digital Downloads" group and the "Digital purchase delivered" entry inside it. No real customer data visible.

The Shopify Flow trigger picker showing Alva's group.

Triggers Alva fires

Alva sends Flow events through Shopify's flowTriggerReceive API. Each trigger ships as a separate extension.

  • Digital purchase delivered — fires after Alva sends the download email for a paid order. Payload: customer ID, order ID, total files, product names.
  • Digital file downloaded — fires every time a customer downloads a file. Payload: customer ID, order ID, product ID, file name, downloads used.
  • Fraud check failed — fires when Shopify's risk score puts an order into Alva's fraud queue. Payload: customer ID, order ID, fraud reason.
  • Fraud check approved — fires when an order clears review (manual or automatic). Payload: customer ID, order ID.
  • Download limit reached — fires when a customer is blocked because they hit the per-order download cap. Payload: customer ID, order ID, downloads used, max allowed.

Actions Alva exposes

Each action targets a single order or product. Most accept the order ID supplied by the upstream trigger.

  • Grant downloads — release files for an order that didn't auto-deliver (manual orders, draft orders).
  • Revoke access — invalidate every download link tied to an order.
  • Resend download email — re-fire the delivery email to the order's customer email.
  • Approve flagged order — clear an order from the fraud queue, assign license keys, send the email.
  • Reject flagged order — mark a queued order as fraud and block delivery.
  • Send flagged-order alerts to Slack — post fraud-queue entries to a Slack webhook URL.

Together with the five triggers above and three lifecycle/link extensions (order digital link, product digital files link, lifecycle callback), the count totals 14.

Setting up your first Flow

  1. Open Shopify Flow. In your Shopify admin, open the Flow app from Apps. Click Create workflow.
  2. Pick a trigger. Click the trigger node, search for Alva, and choose one — for example Digital purchase delivered.
  3. Add an Alva action. Click the + below the trigger, search for Alva again, and pick an action like Resend download email. Map the order ID from the trigger output.
  4. Activate. Click Turn on workflow. Place a test order to confirm the trigger fires and the action runs.
Screenshot needed

Flow workflow diagram with two nodes: Shopify "Order refunded" trigger connected to Alva "Revoke access" action. Show the order ID mapping between them. No real customer data visible.

A two-node workflow: refund triggers revoke.

Example: refund → revoke access automatically

  1. Trigger. In Flow, pick Shopify's built-in Order refunded trigger. (Alva accepts the standard Shopify order ID.)
  2. Action. Add Alva's Revoke access action. Map Order ID to the trigger's order.id output.
  3. Optional condition. Add a Flow Condition node before the action — for example, only revoke when the refund is full, not partial.
  4. Activate and test. Turn on the workflow. Issue a test refund. Alva invalidates every download link on the order within seconds, and the next click serves a 404.

Frequently asked questions

Do Alva Flow extensions cost extra?

No. The 14 Flow extensions ship with Alva Digital Downloads on every plan. Shopify Flow itself is free for all Shopify stores.

Why isn't my Alva trigger firing?

Alva only sends triggers to shops with at least one enabled workflow listening for that handle. Save and turn on the workflow, then place a test order to confirm.

Can I use Alva actions with non-Alva triggers?

Yes. Alva actions accept any Shopify Flow trigger that supplies an order ID. A common pattern is using Shopify's built-in Order refunded trigger to revoke download access.

Do POS orders trigger Alva Flow events?

Yes, but POS orders skip fraud checks entirely, so the Fraud check approved and Fraud check failed triggers never fire for them. Digital purchase delivered still fires.

See also

Was this helpful?

Still stuck? Email us.

Last updated 2026-05-06