Use this robust n8n workflow to synchronize campaign data and images from Baserow directly to your Shopify store, updating theme snippets dynamically. Learn how to implement this powerful n8n automation.
Download this n8n workflow template and start using it instantly.
Managing dynamic content, such as campaign banners or featured images, across multiple systems can be time-consuming. This n8n workflow solves the problem of manual asset management by automating the entire process. When a campaign record in Baserow is updated and marked active, this powerful n8n automation first checks for changes, uploads the corresponding image file directly to Shopify using GraphQL, and then updates a specific liquid template snippet via the Shopify REST API. Because the standard Shopify n8n node does not currently support image and theme asset uploads, this n8n template showcases the use of specialized HTTP Request and GraphQL n8n nodes for advanced API interaction, providing a complete, end-to-end synchronization solution.
This advanced n8n workflow operates through a structured sequence, starting with an incoming data signal:
campaign.liquid), and the base HTML content for the snippet.Active, contain a Campaign Image, and have a 'Last modified' timestamp significantly newer than the previous state. If these conditions are met, the n8n workflow proceeds to the upload step; otherwise, the flow terminates gracefully.fileCreate mutation against the Shopify Admin GraphQL API. It retrieves the image URL and filename from the Baserow input data, uploading the asset directly to Shopify.snippets/campaign.liquid). It dynamically injects the filename of the newly uploaded image into the Liquid snippet content defined earlier, completing the synchronization. This final step ensures the Shopify front-end immediately reflects the latest campaign image from Baserow.To deploy and utilize this n8n template, follow these steps:
X-Shopify-Access-Token header.Shopify Subdomain.Theme ID.Filename and Content match your theme's requirements. Call from Baserow (Webhook n8n trigger): Serves as the starting point. It receives a POST request containing updated row data from Baserow, activating the n8n workflow.
Set values here! (Set n8n node): Stores critical configuration variables (Subdomain, Theme ID, Filename, base Content) that are referenced by subsequent nodes via expressions ($($('Set values here!').params...).
Check (IF n8n node): Implements core logic flow control. It ensures that the n8n workflow only proceeds if the Baserow record is active, has an image attached, and the 'Last modified' field has actually been updated.
Upload Image (GraphQL n8n node): Executes a fileCreate mutation to upload the campaign image from its Baserow URL to Shopify's file system, bypassing limitations in the standard Shopify n8n node. Requires Header Auth credentials.
IMAGE placeholder in the liquid content with the filename from the Baserow input, enabling dynamic theme updates via this n8n workflow.Build an intelligent, multi-tool HR Chatbot using n8n and Langchain. Index BambooHR policies into Supabase and enable employee lookup with a robust n8n workflow.

Use this robust n8n workflow to automatically backup all your n8n workflows to a specified GitHub repository. Ensure data safety and version control for your n8n automation projects.

Use this powerful n8n workflow to automatically backup all your n8n workflows to GitHub, ensuring version control and history. Features dynamic pathing and efficient difference checking.

Automate Gmail organization using AI. This advanced n8n workflow uses an OpenAI agent to read, categorize, and label incoming emails, creating new labels as needed. Get this smart n8n template today.









































