Skip to main content

Daily Magento 2 customer sync to Google Contacts & Sheets without duplicates

Workflow preview

Workflow preview
100%
Daily Magento 2 customer sync to Google Contacts & Sheets without duplicates preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Automatically sync newly registered Magento 2 customers to Google Contacts and Google Sheets every 24 hours — with full duplication control and seamless automation. This workflow is a plug and play...

Best for

  • CRM automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.googlecontacts, n8n-nodes-base.splitout, n8n-nodes-base.googlesheets, n8n-nodes-base.comparedatasets, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Kanaka Kishore Kandregula.

Original n8n.io source

1.1 Workflow description

Title
Daily Magento 2 customer sync to Google Contacts & Sheets without duplicates
Workflow name
Daily Magento 2 customer sync to Google Contacts & Sheets without duplicates

Automatically sync newly registered Magento 2 customers to Google Contacts and Google Sheets every 24 hours — with full duplication control and seamless automation.

This workflow is a plug-and-play customer contact automation system designed for Magento 2 store owners, marketers, and CRM teams. It fetches customer records registered within the last 24 hours (from 00:00:00 to 23:59:59), checks against an existing Google Sheet to avoid reprocessing, and syncs only the new ones into Google Contacts. This ensures your contact list is always fresh and up to date — without clutter or duplicates.

✅ What This Workflow Does:
  1. Automates Customer Syncing
  2. Every day, it fetches newly registered Magento 2 customers via API based on the exact date range (midnight to midnight).
  3. Deduplicates Using Google Sheets
  4. A master Google Sheet tracks already-synced emails. Before adding a customer, the workflow checks this list and skips if already present.
  5. Creates Google Contacts Automatically
  6. For each unique customer, it creates a new contact in your Google Contacts, saving fields like first name, last name, and email.
  7. Logs New Entries to Google Sheets
  8. In Google Sheets, it even records magento 2 customer group, created_at, website_id & store_id
  9. After syncing, it adds each new email to the tracking sheet, building a cumulative record of synced contacts.
  10. Fully Scheduled & Automated
  11. Can be scheduled with the Cron node to run daily (e.g., 12:05 AM) with no manual intervention required.
🔧 Modules Used:
  • HTTP Request (Magento 2 API)
  • Date & Time (for filtering registrations)
  • Google Sheets (for reading/writing synced emails)
  • Google Contacts (for contact creation)
  • Set, IF, and Merge nodes (for control logic)
  • Cron (for scheduling the automation)
💼 Use Cases:
  • Keep your email marketing tools synced with Magento 2 customer data.
  • Build a CRM-friendly contact base in Google Contacts without duplicates.
  • Share customer data with sales or support teams through synced Google Sheets.
  • Reduce manual work and human error in data transfer processes.
🔒 Credentials Required
  • Magento 2 Bearer Auth: Set up as a credential in n8n using your Magento 2 API access token.
  • Google API
📂 Category

E-commerce → Magento 2 (Adobe Commerce)

💬 Need Help?

💡 Having trouble setting it up or want to customize this workflow further? Feel free to reach out — I’m happy to help with setup, customization, or Magento 2 API integration issues.

Contact: Author

👤 Author

Kanaka Kishore Kandregula Certified Magento 2 Developer https://gravatar.com/kmyprojects https://www.linkedin.com/in/kanakakishore

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Create Google Contact

Type / Role
n8n-nodes-base.googleContacts - googleContacts
Config choices
Version 1

Block 2 - Split Customers

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 3 - Log Synced Email

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 3

Block 4 - Compare Datasets

Type / Role
n8n-nodes-base.compareDatasets - compareDatasets
Config choices
Version 2.3

Block 5 - GET PREVIOUS DATE

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - Get New Customers

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - Get Existing Emails

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 3

Block 8 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 11 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Daily Magento 2 customer sync to Google Contacts & Sheets without duplicates
Complexity intermediate
Nodes 11
Categories CRM
Author Kanaka Kishore Kandregula
Published 01 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6783/6783.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Daily Magento 2 customer sync to Google Contacts & Sheets without duplicates do?

Automatically sync newly registered Magento 2 customers to Google Contacts and Google Sheets every 24 hours — with full duplication control and seamless automation. This workflow is a plug and play...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your CRM use case.