Créer un client
Débutant
Ceci est unSalesworkflow d'automatisation du domainecontenant 5 nœuds.Utilise principalement des nœuds comme Graphql, GoogleSheets, ManualTrigger. Créer des clients Shopify à partir de Google Sheets
Prérequis
- •Informations d'identification Google Sheets API
Nœuds utilisés (5)
Catégorie
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
"id": "Ub9navVkcvzlgJJZ",
"meta": {
"instanceId": "eeebdb47cbe0bf5bc137514a863458fd2f9ab992b2ebeb2c6062100cdade81e7",
"templateCredsSetupCompleted": true
},
"name": "CreateCustomers",
"tags": [
{
"id": "vMF1giVsFs9aUam0",
"name": "shopify",
"createdAt": "2025-06-11T02:39:27.034Z",
"updatedAt": "2025-06-11T02:39:27.034Z"
},
{
"id": "VV6xlvjylfTgqbEQ",
"name": "gsheet",
"createdAt": "2025-06-11T02:39:33.368Z",
"updatedAt": "2025-06-11T02:39:33.368Z"
},
{
"id": "cWC39BXOsHlOhwEC",
"name": "google-sheet",
"createdAt": "2025-06-11T02:39:38.743Z",
"updatedAt": "2025-06-11T02:39:38.743Z"
}
],
"nodes": [
{
"id": "477e1ae3-92d1-4bc4-a232-177f30c12bd5",
"name": "Démarrer le workflow",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-500,
-60
],
"parameters": {},
"typeVersion": 1
},
{
"id": "2be0e108-296c-4eaa-ad58-883923416470",
"name": "Google Sheet, Récupérer les clients",
"type": "n8n-nodes-base.googleSheets",
"position": [
-140,
-60
],
"parameters": {
"options": {},
"sheetName": {
"__rl": true,
"mode": "list",
"value": 2054184606,
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1IxiuRiu6XKBkEa1NIUebBWn73jIKUrgE9Sqj4XtQgBk/edit#gid=2054184606",
"cachedResultName": "Customers"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1IxiuRiu6XKBkEa1NIUebBWn73jIKUrgE9Sqj4XtQgBk",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1IxiuRiu6XKBkEa1NIUebBWn73jIKUrgE9Sqj4XtQgBk/edit?usp=drivesdk",
"cachedResultName": "Shopify Test Store Data"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "GQE41DhnGDDJ8Hfq",
"name": "Google Sheets account"
}
},
"typeVersion": 4.6
},
{
"id": "2aae5550-f480-49b0-9e69-b299756963ce",
"name": "Shopify, CustomerCreate",
"type": "n8n-nodes-base.graphql",
"position": [
280,
-60
],
"parameters": {
"query": "=mutation customerCreate($input: CustomerInput!) {\n customerCreate(input: $input) {\n userErrors {\n field\n message\n }\n customer {\n id\n email\n phone\n taxExempt\n firstName\n lastName\n amountSpent {\n amount\n currencyCode\n }\n smsMarketingConsent {\n marketingState\n marketingOptInLevel\n consentUpdatedAt\n }\n }\n }\n}",
"endpoint": "https://store99563.myshopify.com/admin/api/2025-04/graphql.json",
"variables": "={\n \"input\": {\n \"email\": \"{{ $json.email }}\",\n \"phone\": \"{{ $json.mobile_phone }}\",\n \"firstName\": \"{{ $json.first_name }}\",\n \"lastName\": \"{{ $json.last_name }}\",\n \"smsMarketingConsent\": {\n \"marketingState\": \"SUBSCRIBED\",\n \"marketingOptInLevel\": \"SINGLE_OPT_IN\"\n }\n }\n}",
"authentication": "headerAuth"
},
"credentials": {
"httpHeaderAuth": {
"id": "mHtpN3u5aCWsxWih",
"name": "Shopify GraphQL Header Auth account"
}
},
"typeVersion": 1.1
},
{
"id": "76d165e1-6beb-475c-bd94-ed0f30ef0d06",
"name": "Note adhésive",
"type": "n8n-nodes-base.stickyNote",
"position": [
-300,
140
],
"parameters": {
"width": 400,
"height": 320,
"content": "## Google Sheet Format\n\nColumns can be in any order. N8N will treat the first row in the sheet as a column name, so use the column names below in row 1 of your sheet. The google sheet uses the following columns : \n- first_name : Any string\n- last_name : Any string\n- email : Valid email \n- mobile_phone : International mobile phone format with no spaces eg. +61414708406 (Shopify will reject anything else).\n"
},
"typeVersion": 1
},
{
"id": "01df3900-33ae-4f8b-b63a-d48ee012c2ea",
"name": "Note adhésive1",
"type": "n8n-nodes-base.stickyNote",
"position": [
160,
140
],
"parameters": {
"width": 400,
"height": 680,
"content": "## Shopify Admin API (GraphQL)\n\nShopify'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_ .\n\n### How to generate a Shopify Access Token \nTo generate a Shopify Access Token create an app, grant the app the necessary scopes, then generate a token. \n\n#### From inside a store do the following :\n1. click Settings (nav link) \n2. click Apps and sales channels (nav link) \n3. click Develop Apps (button)\n4. click Create App (button)\n5. give the app a name\n6. click configure Admin API Scopes (button)\n7. at a minimum grant read_customers and write_customers scope. Grant additional scopes if you plan on accessing other parts of the API.\n8. click save\n\n#### To generate the token \n1. click install app (button)\n2. click install on the dialog that pops up (button)\n3. click 'reveal token once' (button)\n4. copy the token into a password vault or somewhere secure.\n"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "13bf8d4d-bd24-4b1d-be18-70e131443179",
"connections": {
"477e1ae3-92d1-4bc4-a232-177f30c12bd5": {
"main": [
[
{
"node": "2be0e108-296c-4eaa-ad58-883923416470",
"type": "main",
"index": 0
}
]
]
},
"2be0e108-296c-4eaa-ad58-883923416470": {
"main": [
[
{
"node": "2aae5550-f480-49b0-9e69-b299756963ce",
"type": "main",
"index": 0
}
]
]
}
}
}Foire aux questions
Comment utiliser ce workflow ?
Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.
Dans quelles scénarios ce workflow est-il adapté ?
Débutant - Ventes
Est-ce payant ?
Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.
Workflows recommandés
Créer des produits Shopify à partir d'une feuille Google
Création en masse de produits Shopify à partir de Google Sheets et gestion des stocks
If
Graphql
Google Sheets
+
If
Graphql
Google Sheets
13 NœudsRichard Uren
CRM
Recherche B2B à partir de domaines - Perplexity, LinkedIn, sites web, Hunter, Airtop
Chercheur de prospects IA : nécessite uniquement le nom de l'entreprise et le domaine, intègre ISCP
Set
Wait
Merge
+
Set
Wait
Merge
36 NœudsLukaszB
Ventes
AI房地产经纪人:端à端运营automatisation(网络、données、语音)
AI房地产经纪人:端à端运营automatisation(网络、données、语音)
If
Set
Code
+
If
Set
Code
45 NœudsSam Yassine
Ventes
WooCommerce服装目录deAI虚拟试穿
WooCommerce服装目录deAI虚拟试穿automatiquegénération
If
Set
Wait
+
If
Set
Wait
21 NœudsDavide
Ventes
Chercheur en Réseau IA pour les Ventes
Chercheur en Réseau IA pour les Ventes
Set
Merge
Google Sheets
+
Set
Merge
Google Sheets
22 NœudsLucas Perret
Ventes
Importateur de produits WooCommerce piloté par l'IA avec SEO
Importateur de produits WooCommerce piloté par l'IA basé sur Google Sheets, incluant les métadonnées SEO Yoast
Code
Telegram
Woo Commerce
+
Code
Telegram
Woo Commerce
16 NœudsDavide
Ventes
Informations sur le workflow
Niveau de difficulté
Débutant
Nombre de nœuds5
Catégorie1
Types de nœuds4
Description de la difficulté
Auteur
Richard Uren
@elrichoLiens externes
Voir sur n8n.io →
Partager ce workflow