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:
- Go to the Shopify App Store
- Search for Shopify Flow
- 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
- In your Shopify admin, go to Apps > Shopify Flow
- Click Create workflow
- Click Select a trigger
- Search for Instant Art Kit in the app list
- Select the Preview Email Requested trigger
Step 3: Add the Send marketing email action
- Click the + button below the trigger to add an action
- Search for Send marketing email
- Select the Send marketing email action
Step 4: Configure the email action
- In the Customer field, select
{{customerEmail}}from the trigger data - Click Create email template or select an existing one
- Design your email template
Available trigger data
The trigger sends the following data that you can use in your email template:
| Variable | Description | Example |
|---|---|---|
customerEmail | The email address the shopper entered | customer@example.com |
productUrl | Link to the product page with the preview pre-loaded | https://yourstore.com/products/diamond-painting?iak_uuid=... |
previewImageUrl | Direct URL to the generated preview image | https://api.instantartkit.com/api/files/.../preview |
Designing the email template
Use the trigger variables to create an engaging email:
- Add the preview image using
previewImageUrlas the image source - Add a call-to-action button linking to
productUrlso the customer can return to the product with their preview loaded - The
productUrlincludes deep-link parameters that automatically open the preview modal when the customer visits the page
Step 5: Activate the workflow
- Review your workflow to make sure everything is connected
- Click Turn on workflow in the top right
- Your Flow automation is now active
Testing
- Go to a product page on your storefront that has Instant Art Kit enabled
- Generate a preview
- Click the Email button and enter your own email address
- Check your inbox for the preview email
- 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.