Use this robust n8n workflow to identify inactive Shopify customers (30+ days without purchase) and automatically create leads in Beex for targeted re-engagement campaigns using a specialized n8n node.
Download this n8n workflow template and start using it instantly.
Customer retention is critical for e-commerce success. This essential n8n workflow addresses potential churn by proactively identifying valuable but inactive customers in Shopify. This sophisticated n8n templates setup automatically extracts specific customer data, analyzes their last purchase, calculates the exact inactivity period, and seamlessly passes this filtered list to the Beex CRM platform via a specialized n8n node. By utilizing this detailed process, you ensure that marketing teams launch personalized re-engagement campaigns based on the customer's purchase history and inactivity status, all managed through a robust, scheduled n8n trigger.
This powerful n8n workflow is initiated monthly by the Schedule Trigger n8n node.
API Request to fetch the complete customer list from Shopify.Split Records n8n node converts the bulk list into individual customer items, making subsequent processing efficient.Filter Customers n8n node ensures that only accounts with a recorded lastorderid are processed, discarding new customers who haven't made a purchase yet.1. Shopify and 2. Shopify) to retrieve the last order's closure date (closedat) and the specific producttype from the last item purchased.Set nodes and then unified using the Merge Data n8n node.Calculate Days n8n node determines the precise duration (in days) elapsed between the last purchase and the current date.Filter by Days n8n node applies the business logic, passing only customers who have been inactive for more than 30 days.Create Lead n8n node, utilizing the Beex platform integration, registers the inactive customer, tagging them with relevant details like their last purchase date and product type, ready for targeted re-engagement campaigns.Shopify Access Token account credential used by the 1. Shopify and 2. Shopify n8n node components. This requires API permissions to read customers and orders.Create Lead n8n node. This typically requires a Bearer Token and specific configuration parameters (like codeclient, sequenceid, and portfolio_id) specific to your Beex setup.Schedule Trigger is set to run monthly. Adjust this frequency in the n8n trigger settings if needed (e.g., weekly or daily).Filter by Days n8n node and change the '30' days threshold if your definition of inactivity is different. Schedule Trigger: The initiating n8n trigger, configured to run every month, ensuring consistent monitoring of customer activity.
Split Records: This n8n node is crucial for handling bulk data, splitting the initial customer JSON array into consumable, single-item flows.
Filter Customers: A logic n8n node using a condition to check for the existence of lastorderid, filtering out non-purchasing users.
1. Shopify (Get Last Order): Retrieves order data necessary for extracting the closedat timestamp.
2. Shopify (Get Product): Retrieves product data based on the last purchased item ID to determine the producttype.
Calculate Days (DateTime): A mathematical n8n node that calculates the time difference in days between the last order date (closed_at) and the present moment.
Filter by Days: The decision-making n8n node, only allowing customers with an inactivity period (timeDifference.days) greater than 30.
Create Lead (Beex): The final integration n8n node. It meticulously maps extracted customer details (name, email, phone) and contextual data (product type, inactivity status) into the Beex platform for lead generation.
Use this powerful n8n workflow to automate personalized sales outreach. It integrates GPT-5, Pinecone, and Tavily research for fast, on-brand follow-ups, maximizing lead conversion using a specialized n8n template.

Use this powerful n8n workflow to automate pantry inventory management. It monitors low stock items in Notion, updates a grocery list, and sends daily refill notification emails.

Automate PDF compression directly from Google Drive using iLovePDF. This robust n8n workflow watches a folder, compresses files, and archives the results using multiple n8n nodes.

Boost sales efficiency using this comprehensive n8n workflow. It combines an n8n trigger with AI agents and human-in-the-loop approval via Gmail to automatically identify missed follow-ups and suggest new meeting slots.


Software Engineer and Automation Specialist with experience in Flutter app development, Firebase integration, and AI-powered solutions. Skilled in business intelligence, data analytics, and process automation using Python, BigQuery, and n8n. Passionate about building scalable mobile apps, custom automations, and data-driven solutions that optimize decision-making.







































