Skip to main content

Create Shopify customers from a Google Sheet

Workflow preview

Workflow preview
100%
Create Shopify customers from a Google Sheet preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Task Read a list of customers from a GoogleSheet and create them in Shopify using Shopify's Admin API (GraphQL). Why ? Generate test users for development stores. Migrate customers from other platf...

Best for

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

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.graphql, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Richard Uren.

Original n8n.io source

1.1 Workflow description

Title
Create Shopify customers from a Google Sheet
Workflow name
Create Shopify customers from a Google Sheet

Task

Read a list of customers from a GoogleSheet and create them in Shopify using Shopify's Admin API (GraphQL).

Why ?

  • Generate test users for development stores.
  • Migrate customers from other platforms.
  • Easy intro to Shopify's GraphQL API.

Setup

Setting up Google Sheets access

Follow the instructions in the N8N Docs for granting Oauth2 access to Google services. You'll need to grant API access to Google Sheets and Google Drive (to list available sheets).

Setting up Shopify access

Shopify's Admin API uses 'Header Auth' with a key of X-Shopify-Access-Token and a value of your shopify access token which starts with shpat_ .

How to generate a Shopify Access Token

To generate a Shopify Access Token create an app, grant the app the necessary scopes, then generate a token.

From inside a store do the following :
  1. click Settings (nav link)
  2. click Apps and sales channels (nav link)
  3. click Develop Apps (button)
  4. click Create App (button)
  5. give the app a name
  6. click configure Admin API Scopes (button)
  7. at a minimum grant read_customers and write_customers scope. Grant additional scopes if you plan on accessing other parts of the API.
  8. click save
To generate the token
  1. click install app (button)
  2. click install on the dialog that pops up (button)
  3. click 'reveal token once' (button)
  4. copy the token into a password vault or somewhere secure.

Template Updates

To test this out you'll need to make the following changes :

  1. Create a header credential where the key is X-Shopify-Access-Token and the value is your Shopify Access Token (it starts with shpat_
  2. In the GraphQL node change the endpoint URL to your store. Something like https://{your store goes here}.myshopify.com/admin/api/2025-04/graphql.json

Google Sheet Structure

Columns can be in any order, because the rows will be mapped to fields in a json object. N8N will treat the first row in the sheet as a column name, so at a minimum use the column names below in row 1 of your sheet.

  • first_name : Any string
  • last_name : Any string
  • email : Valid email
  • mobile_phone : International mobile phone format with no spaces eg. +61414708406 (Shopify will reject anything else).

Example CSV

"first_name","last_name","email","mobile_phone" "Bob","Smith","[email protected]","+61414999999"

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 - Start Workflow

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

Block 2 - Google Sheet, Fetch Customers

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

Block 3 - Shopify, CustomerCreate

Type / Role
n8n-nodes-base.graphql - graphql
Config choices
Version 1.1

Block 4 - Sticky Note

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

Block 5 - Sticky Note1

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

3. Summary Table

Workflow Create Shopify customers from a Google Sheet
Complexity intermediate
Nodes 5
Categories CRM
Author Richard Uren
Published 11 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4866/4866.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 Create Shopify customers from a Google Sheet do?

Task Read a list of customers from a GoogleSheet and create them in Shopify using Shopify's Admin API (GraphQL). Why ? Generate test users for development stores. Migrate customers from other platf...

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.