Mon Workflow 3

Intermédiaire

Ceci est unAIworkflow d'automatisation du domainecontenant 15 nœuds.Utilise principalement des nœuds comme Set, Code, Wait, Switch, Airtable, combinant la technologie d'intelligence artificielle pour une automatisation intelligente. Trouver des professionnels LinkedIn avec Google Search et Airtable

Prérequis
  • Clé API Airtable
  • Peut nécessiter les informations d'identification d'authentification de l'API cible
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": "G4qcWIDe1FQsEXGv",
  "meta": {
    "instanceId": "ea94475e7076b2e72d3d36bb4202c7da062eea5a94e247647c6066ed6cd6f743"
  },
  "name": "My workflow 3",
  "tags": [],
  "nodes": [
    {
      "id": "2298912a-0c4b-4d29-adab-ea744dcf8e6c",
      "name": "Préparer les paramètres de recherche",
      "type": "n8n-nodes-base.set",
      "position": [
        1500,
        280
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "e17f3c0e-aaa0-406e-a88b-c71da9b3043d",
              "name": "start_index",
              "type": "number",
              "value": 1
            },
            {
              "id": "57148c16-323e-4ef0-88f2-e3c9603907e0",
              "name": "MaxPages",
              "type": "number",
              "value": "={{ $json.Maxresults }}"
            },
            {
              "id": "4954325e-7508-40df-96ab-2541ab82a11a",
              "name": "Position",
              "type": "string",
              "value": "={{ $json.Position }}"
            },
            {
              "id": "52b9ac6d-3c37-4ffc-842b-fe3aaaa202b3",
              "name": "Industry",
              "type": "string",
              "value": "={{ $json.Industry }}"
            },
            {
              "id": "096d13b7-53bb-4f04-8c1b-0d6ce773a515",
              "name": "Region",
              "type": "string",
              "value": "={{ $json.Location }}"
            },
            {
              "id": "ae918172-114a-4d09-b71a-14dce5715b73",
              "name": "IndianKeyword",
              "type": "string",
              "value": "={{ $json['Indian Keyword'] }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "fbedd9dc-fb2d-40a5-8103-e9e3c744586d",
      "name": "Google Custom Search API",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        900,
        640
      ],
      "parameters": {
        "url": "https://www.googleapis.com/customsearch/v1",
        "options": {},
        "sendQuery": true,
        "authentication": "genericCredentialType",
        "genericAuthType": "httpQueryAuth",
        "queryParameters": {
          "parameters": [
            {
              "name": "q",
              "value": "={{ $node['Prepare Search Parameters'].json.Position }} {{ $node['Prepare Search Parameters'].json.Industry }} site:linkedin.com/in"
            },
            {
              "name": "start",
              "value": "={{ $runIndex == 0 ? $('Prepare Search Parameters').item.json.start_index : $('Clean Search Results').item.json.nextPageStartIndex}}"
            },
            {
              "name": "cx",
              "value": "839bb5f56024e4ef5"
            }
          ]
        }
      },
      "credentials": {
        "httpQueryAuth": {
          "id": "9hmD5HuqDDGusrxX",
          "name": "Google Query Auth"
        },
        "httpCustomAuth": {
          "id": "KW4CxrRNOOCs6LmK",
          "name": "Google Custom Search"
        },
        "httpHeaderAuth": {
          "id": "Yd118GvwDLKCBP3V",
          "name": "Google Header Search"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "a30fbcb1-ee95-4629-9d5f-a75532be844e",
      "name": "Analyser les profils LinkedIn",
      "type": "n8n-nodes-base.code",
      "position": [
        1200,
        640
      ],
      "parameters": {
        "jsCode": "const results = [];\n\nfor (const input of $input.all()) {\n  const response = input.json;\n  const itemsArray = response.items || [];\n  const searchTerms = response.queries?.request?.[0]?.searchTerms || null;\n  const nextPageStartIndex = response.queries?.nextPage?.[0]?.startIndex || null;\n\n  for (const item of itemsArray) {\n    const metatags = item?.pagemap?.metatags?.[0] || {};\n    results.push({\n      json: {\n        title: item.title || null,\n        link: item.link || null,\n        searchTerms: searchTerms,\n        nextPageStartIndex: nextPageStartIndex,\n        snippet: item.snippet || null,\n        ogDescription: metatags[\"og:description\"] || null,\n        twitterImage: metatags[\"twitter:image\"] || null\n      }\n    });\n  }\n}\n\nreturn results;"
      },
      "typeVersion": 2
    },
    {
      "id": "1cce64f7-1875-4ea1-97f9-608942b7185e",
      "name": "Nettoyer les résultats de recherche",
      "type": "n8n-nodes-base.set",
      "position": [
        1480,
        640
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "01199a01-b14a-4dcf-9725-bc9a1f9f8ade",
              "name": "Title",
              "type": "string",
              "value": "={{ $json.title }}"
            },
            {
              "id": "641266d0-7325-417a-8dbd-6b9147b6caeb",
              "name": "URL",
              "type": "string",
              "value": "={{ $json.link }}"
            },
            {
              "id": "878fb57e-cd4c-4ed4-aa37-1b172fc5216d",
              "name": "Search",
              "type": "string",
              "value": "={{ $json.searchTerms }}"
            },
            {
              "id": "80f24267-3449-4dbf-8cfb-5932d62b013c",
              "name": "Snippet",
              "type": "string",
              "value": "={{ $json.snippet }}"
            },
            {
              "id": "d5bdea17-1b9c-4fb6-ad4e-f24049ac234f",
              "name": "Description",
              "type": "string",
              "value": "={{ $json.ogDescription }}"
            },
            {
              "id": "8dd30e05-0beb-4ec5-bff7-e2414d659532",
              "name": "nextPageStartIndex",
              "type": "number",
              "value": "={{ $json.nextPageStartIndex }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "2e7d9c6d-4338-4b3b-b84f-5548ca13d272",
      "name": "Sauvegarder dans Airtable",
      "type": "n8n-nodes-base.airtable",
      "position": [
        1740,
        640
      ],
      "parameters": {
        "base": {
          "__rl": true,
          "mode": "list",
          "value": "appwXYS4iHyBt84oE",
          "cachedResultUrl": "https://airtable.com/appwXYS4iHyBt84oE",
          "cachedResultName": "n8n Base"
        },
        "table": {
          "__rl": true,
          "mode": "list",
          "value": "tblaqQMs7pDPtkjee",
          "cachedResultUrl": "https://airtable.com/appwXYS4iHyBt84oE/tblaqQMs7pDPtkjee",
          "cachedResultName": "LinkedIn Prospects"
        },
        "columns": {
          "value": {
            "Title": "={{ $json.Title }}",
            "Search": "={{ $json.Search }}",
            "Snippet": "={{ $json.Snippet }}",
            "Description": "={{ $json.Description }}",
            "linkedin_url": "={{ $json.URL }}"
          },
          "schema": [
            {
              "id": "Title",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Title",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "linkedin_url",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "linkedin_url",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Search",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Search",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Description",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Description",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Snippet",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Snippet",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [
            "linkedin_url"
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "upsert"
      },
      "credentials": {
        "airtableTokenApi": {
          "id": "mAzozYUk4HSPBXsi",
          "name": "Airtable Personal Access Token account"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "ff878d7b-99e1-4b9b-9e5d-b44452f48b39",
      "name": "Lors du clic sur 'Tester le workflow'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        120,
        280
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0df3c92d-ef34-4f24-bfac-f3ae838c87d2",
      "name": "Configurer les paramètres de recherche",
      "type": "n8n-nodes-base.set",
      "position": [
        1220,
        280
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "64c94773-eea2-4013-9718-c9ef5e29ff7c",
              "name": "Position",
              "type": "string",
              "value": "={{ $json.keywords_string }}"
            },
            {
              "id": "89220317-aced-4cfb-8900-841ee0f70a68",
              "name": "Industry",
              "type": "string",
              "value": ""
            },
            {
              "id": "10e66f39-dd61-4a48-b500-18f5854d39ba",
              "name": "Location",
              "type": "string",
              "value": ""
            },
            {
              "id": "428c29b2-17fb-44e5-aeb5-87b30400b591",
              "name": "Maxresults",
              "type": "number",
              "value": 30
            },
            {
              "id": "f610c45f-cf2f-490e-a7e7-53009edf9f87",
              "name": "Indian Keyword",
              "type": "string",
              "value": ""
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "54aa747d-77f1-4403-9af7-dab57b251b18",
      "name": "Vérifier la pagination",
      "type": "n8n-nodes-base.switch",
      "position": [
        2060,
        640
      ],
      "parameters": {
        "rules": {
          "values": [
            {
              "outputKey": "Continue Searching",
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "26e85b9b-dfa1-4e00-9ee1-56b912a3b8cd",
                    "operator": {
                      "type": "number",
                      "operation": "lt"
                    },
                    "leftValue": "={{ parseInt($('Clean Search Results').item.json.nextPageStartIndex) }}",
                    "rightValue": "={{ $node['Configure Search Settings'].json.Maxresults}}"
                  }
                ]
              },
              "renameOutput": true
            },
            {
              "outputKey": "Search Complete",
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "8ee350ce-2838-4daa-a6b7-816de8b8c0d4",
                    "operator": {
                      "type": "number",
                      "operation": "gte"
                    },
                    "leftValue": "={{ parseInt($('Clean Search Results').item.json.nextPageStartIndex) }}",
                    "rightValue": "={{ $node['Configure Search Settings'].json.Maxresults}}"
                  }
                ]
              },
              "renameOutput": true
            }
          ]
        },
        "options": {}
      },
      "executeOnce": true,
      "typeVersion": 3.2
    },
    {
      "id": "c40c7226-0d9c-4b5f-b849-ce9fae847407",
      "name": "Délai de limite de taux",
      "type": "n8n-nodes-base.wait",
      "position": [
        2400,
        620
      ],
      "webhookId": "23f72108-6cd7-4dc3-a81b-16bdae1fa0b5",
      "parameters": {
        "amount": 2
      },
      "typeVersion": 1.1
    },
    {
      "id": "5beda166-e0aa-4080-8434-963f3eb052f1",
      "name": "Boucler sur les éléments",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        820,
        280
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "63b32072-13fe-4c06-9a95-fe2efb861128",
      "name": "Aperçu du workflow",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        -220
      ],
      "parameters": {
        "color": 4,
        "width": 2720,
        "height": 480,
        "content": "## 🔍 LinkedIn Prospect Finder with Google Search\n\n**Find and collect LinkedIn professional profiles based on keywords, job titles, and industries**\n\n### Quick Setup Required:\n1. **Google Custom Search API** - Get your API key and Search Engine ID\n2. **Airtable Account** - Create a base with the required fields\n3. **Keywords** - Define your search terms in the yellow box below\n\n### What this workflow does:\n- Searches LinkedIn profiles using Google Custom Search\n- Extracts profile information and descriptions\n- Stores results in Airtable with deduplication\n- Handles pagination automatically\n- Includes rate limiting to respect API limits"
      },
      "typeVersion": 1
    },
    {
      "id": "ea0f16a3-41f4-4567-b788-b74558817915",
      "name": "⚙️ PERSONNALISEZ VOS MOTS-CLÉS DE RECHERCHE ICI",
      "type": "n8n-nodes-base.set",
      "position": [
        480,
        280
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "c0e68cbc-6e8d-40d7-85d5-ddb60af1389a",
              "name": "keywords_string",
              "type": "string",
              "value": "Store Manager Retail London"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "6c7c6e49-3d78-42af-ae91-25acd9158fce",
      "name": "Guide de configuration de la recherche",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        480
      ],
      "parameters": {
        "color": 7,
        "width": 760,
        "height": 300,
        "content": "## 🎯 Search Configuration\n\n**Modify the keywords in the yellow node to target specific professionals:**\n\nExamples:\n- \"Marketing Manager SaaS\"\n- \"Data Scientist Healthcare\"\n- \"Sales Director Enterprise Software\"\n- \"HR Manager Remote\"\n\nThe workflow will search for LinkedIn profiles matching your criteria."
      },
      "typeVersion": 1
    },
    {
      "id": "60bed7a2-6b9d-4d81-93bb-d07070869360",
      "name": "Google Search Process",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        620,
        860
      ],
      "parameters": {
        "color": 5,
        "width": 780,
        "height": 300,
        "content": "## 🔍 Google Search Engine\n\n**Uses Google Custom Search API to find LinkedIn profiles**\n\nThe search query combines:\n- Your keywords (job title, industry, location)\n- LinkedIn site restriction (site:linkedin.com/in)\n- Pagination handling for multiple results\n\nAPI calls are rate-limited to avoid quota issues."
      },
      "typeVersion": 1
    },
    {
      "id": "1d89f94f-9dc0-43d6-995a-b285438364ee",
      "name": "Airtable Storage",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1400,
        860
      ],
      "parameters": {
        "width": 1200,
        "height": 300,
        "content": "## 📊 Data Storage\n\n**Saves LinkedIn prospect data to Airtable**\n\nStored fields:\n- **Title**: LinkedIn profile headline\n- **linkedin_url**: Direct profile URL\n- **Search**: Original search terms used\n- **Description**: Profile summary/description\n- **Snippet**: Search result snippet\n\nDeduplication prevents storing the same profile twice."
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "e5c86953-c7a2-466b-948a-ebabada3b069",
  "connections": {
    "5beda166-e0aa-4080-8434-963f3eb052f1": {
      "main": [
        [],
        [
          {
            "node": "0df3c92d-ef34-4f24-bfac-f3ae838c87d2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "54aa747d-77f1-4403-9af7-dab57b251b18": {
      "main": [
        [
          {
            "node": "c40c7226-0d9c-4b5f-b849-ce9fae847407",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "5beda166-e0aa-4080-8434-963f3eb052f1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c40c7226-0d9c-4b5f-b849-ce9fae847407": {
      "main": [
        [
          {
            "node": "fbedd9dc-fb2d-40a5-8103-e9e3c744586d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2e7d9c6d-4338-4b3b-b84f-5548ca13d272": {
      "main": [
        [
          {
            "node": "54aa747d-77f1-4403-9af7-dab57b251b18",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1cce64f7-1875-4ea1-97f9-608942b7185e": {
      "main": [
        [
          {
            "node": "2e7d9c6d-4338-4b3b-b84f-5548ca13d272",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a30fbcb1-ee95-4629-9d5f-a75532be844e": {
      "main": [
        [
          {
            "node": "1cce64f7-1875-4ea1-97f9-608942b7185e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "fbedd9dc-fb2d-40a5-8103-e9e3c744586d": {
      "main": [
        [
          {
            "node": "a30fbcb1-ee95-4629-9d5f-a75532be844e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0df3c92d-ef34-4f24-bfac-f3ae838c87d2": {
      "main": [
        [
          {
            "node": "2298912a-0c4b-4d29-adab-ea744dcf8e6c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2298912a-0c4b-4d29-adab-ea744dcf8e6c": {
      "main": [
        [
          {
            "node": "fbedd9dc-fb2d-40a5-8103-e9e3c744586d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ff878d7b-99e1-4b9b-9e5d-b44452f48b39": {
      "main": [
        [
          {
            "node": "ea0f16a3-41f4-4567-b788-b74558817915",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ea0f16a3-41f4-4567-b788-b74558817915": {
      "main": [
        [
          {
            "node": "5beda166-e0aa-4080-8434-963f3eb052f1",
            "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é ?

Intermédiaire - Intelligence Artificielle

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.

Informations sur le workflow
Niveau de difficulté
Intermédiaire
Nombre de nœuds15
Catégorie1
Types de nœuds9
Description de la difficulté

Adapté aux utilisateurs expérimentés, avec des workflows de complexité moyenne contenant 6-15 nœuds

Auteur
Javier Hita

Javier Hita

@javierhita

Building Automation tools as a Data Analyst for over 6 years, N8N is a great tool to leverage that background.

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34