This n8n workflow automates Shopify e-commerce tasks, managing products and orders via the Shopify API. Key nodes include Webhook (receives POST requests), Input Validation (sets parameters), Create Product, Create Order, Update Order, Get Order Details, Update Product, Delete Test Order, Delete Test Product (Shopify API interactions), and Success/Error Response nodes (handle outputs). It streamlines store operations. Set up Requirements and Configuration: Install n8n by downloading from n8n.io for self-hosting or sign up at cloud.n8n.io for cloud setup. Follow installation prompts or create a cloud account. Obtain Shopify API credentials from your Shopify store: log in, go to 'Apps' > 'Manage private apps' (or 'App setup' for custom apps), enable API access, and note the API Key, Password, and Store URL (e.g., mystore.myshopify.com). In n8n, import the provided JSON to create the workflow. Configure the 'Create Product,' 'Create Order,' 'Update Order,' 'Get Order Details,' 'Update Product,' 'Delete Test Order,' and 'Delete Test Product' nodes with your Shopify API Key, Password, and Store URL under 'Credentials,' selecting 'Shopify API.' Set the Webhook node’s path to 'shopify-operations' and ensure it accepts POST requests. The Input Validation node checks for valid operations ('test_ecommerce_operations', 'product_operations', 'order_operations'). Testing and Deployment Steps: Test the workflow by sending a POST request to the Webhook URL (from the Webhook node) using Postman. Example JSON body: {'operation': 'test_ecommerce_operations', 'productTitle': 'Test Item', 'customerEmail': 'test@example.com', 'lineItemTitle': 'Test Line', 'price': '99.99'}. The 'Success Response' node returns a 200 status with operation details, or 'Invalid Input Response' (400 status) for invalid operations. If credentials are invalid, the 'Product Creation Error' or 'Shopify Operations Error' nodes return a 502 status. Activate the workflow in n8n’s interface for deployment. Monitor logs for errors like invalid credentials or API issues, and verify credentials or input formats if failures occur.
$6.99
Workflow steps: 17
Integrated apps: webhook, set, if