This automation triggers when a new order is placed in your Shopify store. It then waits a short period, intelligently identifies complementary products based on the customer's purchase, retrieves those product details, and finally sends a personalized email showcasing the recommendations.
This automation triggers when a new order is placed in your Shopify store. It then waits a short period, intelligently identifies complementary products based on the customer's purchase, retrieves those product details, and finally sends a personalized email showcasing the recommendations.
Order Detection: When a customer completes a purchase, the flow begins.
Smart Delay: A brief pause ensures initial order confirmations are sent.
Recommendation Engine: The workflow identifies relevant upsell or cross-sell products based on your predefined rules.
Dynamic Email Creation: It fetches details for the recommended products and builds a visually appealing, personalized email.
Email Delivery: The tailored email is sent to your customer, encouraging their next purchase.
Getting this automation ready will take approximately 1-2 hours, including populating your product recommendations.
Import Workflow: Import the provided n8n JSON file into your n8n instance.
Configure Credentials: Set up your Shopify API and SMTP (email sending) credentials within n8n. Ensure your Shopify credential has read_orders and read_products permissions.
Define Recommendations: Open the Generate Recommendation IDs (Code) node. Crucially, update the recommendationsMap within this node to define which products should be suggested based on specific purchased product IDs from your Shopify store.
Customize Email & URLs: In the Send Upsell Email node, customize the fromEmail, subject, and the main HTML content to match your brand. Also, update YOUR_SHOPIFY_STORE_URL and YOUR_UNSUBSCRIBE_LINK placeholders in the Format Recommendations HTML (Code) and Send Upsell Email nodes.
Activate & Test: Turn the workflow to Active and place a test order in your Shopify store to verify everything works as expected.
(For detailed descriptions and troubleshooting, refer to the Sticky Notes located directly within the n8n workflow itself.)