Documentation / Settings / Email sharing with Shopify Flow

Email sharing with Shopify Flow

Set up preview email sharing using Shopify Flow as your email provider

Overview

Shopify Flow lets you automate sending preview emails to your customers. When a shopper shares their preview via email, Instant Art Kit triggers a Flow automation that sends the email with the preview image and a link back to the product.

Prerequisites

  • Instant Art Kit installed and configured
  • Email sharing enabled in Instant Art Kit settings with Shopify Flow selected as the provider

Step 1: Install Shopify Flow

If you don’t have Shopify Flow installed yet:

  1. Go to the Shopify App Store
  2. Search for Shopify Flow
  3. Click Add app and follow the installation steps

Shopify Flow is free and included with most Shopify plans. If you already have it installed, skip to Step 2.

Step 2: Create a new Flow automation

  1. In your Shopify admin, go to Apps > Shopify Flow
  2. Click Create workflow
  3. Click Select a trigger
  4. Search for Instant Art Kit in the app list
  5. Select the Preview Email Requested trigger

Step 3: Add the Send marketing email action

  1. Click the + button below the trigger to add an action
  2. Search for Send marketing email
  3. Select the Send marketing email action

Step 4: Configure the email action

  1. In the Customer field, select {{customerEmail}} from the trigger data
  2. Click Create email template or select an existing one
  3. Design your email template

Available trigger data

The trigger sends the following data that you can use in your email template:

VariableDescriptionExample
customerEmailThe email address the shopper enteredcustomer@example.com
productUrlLink to the product page with the preview pre-loadedhttps://yourstore.com/products/diamond-painting?iak_uuid=...
previewImageUrlDirect URL to the generated preview imagehttps://api.instantartkit.com/api/files/.../preview

Designing the email template

Use the trigger variables to create an engaging email:

  • Add the preview image using previewImageUrl as the image source
  • Add a call-to-action button linking to productUrl so the customer can return to the product with their preview loaded
  • The productUrl includes deep-link parameters that automatically open the preview modal when the customer visits the page

Step 5: Activate the workflow

  1. Review your workflow to make sure everything is connected
  2. Click Turn on workflow in the top right
  3. Your Flow automation is now active

Testing

  1. Go to a product page on your storefront that has Instant Art Kit enabled
  2. Generate a preview
  3. Click the Email button and enter your own email address
  4. Check your inbox for the preview email
  5. Verify the preview image and product link work correctly

If the email doesn’t arrive, check the Shopify Flow > Activity log to see if the automation was triggered and if there were any errors.