How it works

Follow these 7 simple steps to start adding free products to Recharge orders via customer tags automatically

Shopify logo icon

Customer Updated

App connector: Shopify • Time to complete: 0 minutes (Auto-configured)
Why this matters: This trigger captures customer tag modifications, enabling subscription gift management through simple tagging in Shopify admin rather than complex Recharge interface navigation, making gift campaigns accessible to any team member.

When customer tags are updated in Shopify (tags added, removed, or modified through admin, bulk actions, or other workflows), this trigger activates the workflow and captures the customer ID and current tag state. The workflow runs for every customer tag change. No configuration is required—it's pre-connected to your Shopify store and monitors tag updates automatically.

Tag-based gift workflow: This approach lets you manage subscription gifts at scale—bulk tag customers from a segment, CSV upload, or manually tag VIP customers—and the workflow handles the Recharge complexity.

Retrieve Customer

App connector: Shopify • Time to complete: 0 minutes (Auto-configured)
Why this matters: Fetches complete customer details including all current tags needed for verification logic that prevents duplicate gift additions and ensures only properly tagged customers receive free products.

This step retrieves the full Shopify customer record using the customer ID. It returns complete customer data including all current tags as a comma-separated string. This comprehensive tag list is essential for the next step's filtering logic that checks for both the "add-free-product" trigger tag and the "recharge-workflow" processing marker.

Filter

App connector: Filter • Time to complete: 0 minutes (Auto-configured)
Why this matters: Acts as a dual-purpose gate that ensures gifts only go to properly tagged customers and prevents duplicate gifts if customer tags are modified after the initial gift addition, protecting profit margins and preventing customer confusion.

This filter implements two critical checks using AND logic. The workflow proceeds only when BOTH conditions are true:

  1. "recharge-workflow" NOT in customer tags: Ensures this workflow hasn't already processed this customer (preventing duplicate gifts)
  2. "add-free-product" IN customer tags: Confirms the customer is tagged for a gift (the trigger condition)

Logic breakdown:

  1. First check prevents re-running if someone modifies other tags after gift was added
  2. Second check ensures only intentionally tagged customers receive gifts
  3. Combined logic prevents edge cases like accidental duplicate processing

If either condition fails, the workflow stops without adding a gift.

Get List of Customers

App connector: Recharge • Time to complete: 0 minutes (Auto-configured)
Why this matters: Searches Recharge for the customer account using their Shopify customer ID, establishing the connection between Shopify customer records and Recharge subscription data needed for order modifications.

This step queries Recharge's customer database using the Shopify customer ID as the external_customer_id parameter. It returns matching Recharge customer records with the Recharge customer ID needed for querying subscriptions. The first result (index 0) contains the customer's Recharge ID.

Shopify-Recharge connection: Recharge stores the Shopify customer ID as external_customer_id, enabling lookups that bridge the two systems. This is automatically set when customers create subscriptions through Shopify checkout.

Get List of Subscriptions

App connector: Recharge • Time to complete: 0 minutes (Auto-configured)
Why this matters: Retrieves the customer's active subscription details including shipping address and next charge date required for scheduling the one-time free product addition to the correct order at the correct address.

This step queries Recharge for subscriptions belonging to the Recharge customer ID. It returns subscription details including address_id (shipping address), next_charge_scheduled_at (next order date), subscription product information, and billing details. The first subscription (index 0) is used for adding the gift—if customers have multiple subscriptions, the gift adds to the first subscription's order.

Multi-subscription consideration: Customers with multiple active subscriptions will receive the gift on their first subscription's next order. To add gifts to all subscriptions, you'd need to loop through all subscriptions and create multiple one-time products.

Create One-time

App connector: Recharge • Time to complete: 5 minutes
Why this matters: Adds the free product as a one-time addition to the customer's next subscription order, delivering the gift seamlessly within their regular subscription shipment without creating separate orders or additional shipping costs.

This step creates a Recharge "one-time" product—a product added to a single upcoming subscription order rather than recurring.

Configuration: You must set two values during setup:

  1. Product title: The display name for the gift product (like "Free Sample - Thank You Gift" or "Loyalty Bonus Product")
  2. Shopify Variant ID: The variant ID of the gift product in Shopify (found in product admin URL or using Shopify API)

The one-time product includes:

  1. address_id: Shipping address from the subscription (ensures gift ships to correct location)
  2. price: Set to "0" (makes it free)
  3. next_charge_scheduled_at: Scheduled for the subscription's next charge date (adds to upcoming order)
  4. product_title: Your configured gift product name
  5. quantity: Set to "1" (one gift per customer)
  6. external_variant_id: Your configured Shopify variant ID (connects to actual product)

One-time vs subscription: One-time products appear only on the next order, not every order. Perfect for gifts, promotions, or bonuses that shouldn't recur.

Shopify logo icon

Customer Add Tag

App connector: Shopify • Time to complete: 0 minutes (Auto-configured)
Why this matters: Tags the customer with "recharge-workflow" to mark them as processed, preventing duplicate gift additions if their tags are modified again while maintaining the "add-free-product" tag for tracking which customers received gifts.

This step adds the "recharge-workflow" tag to the customer's Shopify record. This processing marker ensures the filter in step 3 will block future workflow runs for this customer, even if someone edits other tags or re-adds the "add-free-product" tag. The tag remains permanently unless manually removed.

Tag management strategy:

  1. Keep "add-free-product" tag to track who received gifts
  2. Add "recharge-workflow" tag to prevent duplicates
  3. To send another gift later, remove both tags and re-tag with "add-free-product"

Make it your own

Customize this workflow even further:

Add multiple gift products
Duplicate the "Create One-time" step with different variant IDs to add multiple free products in one workflow run, creating gift bundles or multi-item rewards for special occasions.
Segment by subscription tier
Add filters that check subscription product details or tags and vary the gift product based on subscription tier (premium subscribers get better gifts), creating tiered loyalty rewards.
Schedule gifts for specific dates
Modify the next_charge_scheduled_at value to add gifts to orders beyond the next one (like 2 months from now for birthday gifts), enabling scheduled promotional campaigns.
Send gift notifications
Add email or SMS steps after the one-time creation that notify customers about their surprise gift, building excitement and reinforcing the loyalty program value.

Frequently asked questions

How do I find the Shopify Variant ID?
Go to the product in Shopify admin, click on the variant, and look at the URL—the number after "/variants/" is the variant ID (like /variants/12345678901). Alternatively, use Shopify's API or export products to CSV to get variant IDs in bulk.
Can I add gifts to customers with multiple subscriptions?
This workflow adds the gift to the first subscription only. To add gifts to all subscriptions, modify step 5 to loop through all subscriptions and create a one-time product for each subscription's next charge date.
What happens if the customer doesn't have an active subscription?
The workflow will fail at step 5 when trying to retrieve subscriptions. Consider adding a filter after step 4 that checks if subscriptions exist and sends a notification to your team for manual handling if the tagged customer has no active subscriptions.
What is a template?
Templates are pre-made workflows by our team of experts. Instead of building a workflow from scratch, these have all the steps needed to complete the task.
Can I personalize a template?
Yes! Every step can be customized to meet your exact requirements. Additionally, you can even add more steps and make it more sophisticated.
Are templates free?
Yes! Our entire library containing hundreds of templates are free to use and customize to your exact needs.

Ready to start adding free products to Recharge orders via customer tags automatically?

Join thousands who've automated their work and saved an average of 3.5 hours every week.

Start with this template — It's free
7-day free trial • 11 min setup • Cancel anytime