Agile CRM의 INSEE 데이터 풍부화
중급
이것은Sales, Marketing분야의자동화 워크플로우로, 14개의 노드를 포함합니다.주로 Set, Code, Merge, AgileCrm, HttpRequest 등의 노드를 사용하며. Agile CRM에 대해 INSEE 회사 데이터 풍부화(프랑스 회사 제한)
사전 요구사항
- •대상 API의 인증 정보가 필요할 수 있음
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"id": "G0hO05fypS8n8uYu",
"meta": {
"instanceId": "8fb286e504ea5ce6aeb12bf5c0c97ce11908b5b1aaa495ddfa0ef349661b832e"
},
"name": "INSEE Enrichment for Agile CRM",
"tags": [],
"nodes": [
{
"id": "a45b34c1-514e-4221-b363-abf2d4de43c4",
"name": "'워크플로 테스트' 클릭 시",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-3440,
-320
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d406941b-80a1-43a3-ba19-2e29570192f2",
"name": "SIREN 데이터베이스에서 기업 찾기",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueErrorOutput",
"position": [
-2660,
-220
],
"parameters": {
"url": "=https://api.insee.fr/api-sirene/3.11/siren?q=periode(denominationUniteLegale:\"{{ $json.denominationUniteLegale }}\")",
"options": {},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "accept",
"value": "application/json"
},
{
"name": "X-INSEE-Api-Key-Integration",
"value": "={{ $('Set Insee API Key').all()[0].json['X-INSEE-Api-Key-Integration'] }}"
}
]
}
},
"typeVersion": 4.2,
"alwaysOutputData": false
},
{
"id": "6ab3818b-2f09-44e2-874a-87c51478572b",
"name": "SIREN 데이터베이스에서 모든 데이터 요청",
"type": "n8n-nodes-base.httpRequest",
"position": [
-2420,
-240
],
"parameters": {
"url": "=https://api.insee.fr/api-sirene/3.11/siret/{{ $json.unitesLegales[0].siren }}{{ $json.unitesLegales[0].periodesUniteLegale[0].nicSiegeUniteLegale }}",
"options": {},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "accept",
"value": "application/json"
},
{
"name": "X-INSEE-Api-Key-Integration",
"value": "={{ $('Set Insee API Key').all()[0].json['X-INSEE-Api-Key-Integration'] }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "89c223fe-289b-4d0f-922a-e9c0ad672b51",
"name": "메모",
"type": "n8n-nodes-base.stickyNote",
"position": [
-3420,
-640
],
"parameters": {
"width": 460,
"height": 240,
"content": "### Enrich CRM data with data from French INSEE OpenDatabase API\nThis workflow takes all company entries from **Agile CRM** and enriches their data using the French [Insee Opendata API](https://portail-api.insee.fr/) (Free Access)\n\n__This will update :__ \n1) Official Address of the company headquarters\n2) Add government company id number (SIREN) in a Custom Field"
},
"typeVersion": 1
},
{
"id": "0bdc49dd-6f26-447f-a8ba-c2ba615dc7ec",
"name": "ReadOnly 키가 설정된 모든 기업 필터링 제외",
"type": "n8n-nodes-base.code",
"position": [
-2880,
-220
],
"parameters": {
"jsCode": "// Get input data\nconst input = $input.all();\nconst output = input.filter(item => {\n const properties = item.json.properties || [];\n return !properties.some(property => property.name === \"RO\" && property.value === \"1\"); // Remove all ReadOnly entries\n}).map(item => {\n const companyId = item.json.id;\n const denominationUniteLegale = item.json.properties[0]?.value || null; \n return {\n json: {\n companyId,\n denominationUniteLegale\n }\n };\n});\n\n// Return the transformed output\nreturn output;\n"
},
"typeVersion": 2
},
{
"id": "0ef184f7-219c-4eb3-bfe0-4e68d2ce0b43",
"name": "메모1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2940,
-640
],
"parameters": {
"color": 5,
"width": 647,
"height": 232,
"content": "### 👨🎤 Setup\n1. Add your **Agile CRM** credentials\n2. Link each AgileCRM node to the correct **Agile CRM** credentials\n3. Add your **INSEE** API Key to the **\"Set Insee API Key\"** node\n4. Make sure the **Custom Fields** for the **companies** are set as below (Admin Settings):\n - Label : \"SIREN\", Type : \"Text Field\", Description \"N° de SIREN\"\n - Label : \"RO\", Type : \"Number\", Description \"Locks entry from update\"\n5. Click on **Test Workflow** to make sure everything is working\n6. Configure schedule if needed and don't forget to change status to **Active**"
},
"typeVersion": 1
},
{
"id": "78255253-195d-472d-a76c-ab63ceac126b",
"name": "Insee API 키 설정",
"type": "n8n-nodes-base.set",
"position": [
-3260,
-220
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "e993e665-cf31-48b1-8ca8-a4829dc82642",
"name": "X-INSEE-Api-Key-Integration",
"type": "string",
"value": "put-your-insee-api-key-here"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "90b13481-6570-4bfc-b3dc-4b6017c6c8b5",
"name": "일정 트리거",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-3440,
-140
],
"parameters": {
"rule": {
"interval": [
{}
]
}
},
"typeVersion": 1.2
},
{
"id": "88c8a6c6-2175-42c3-bfdb-f1d32a5d1c2d",
"name": "clean_route",
"type": "n8n-nodes-base.noOp",
"position": [
-2660,
-360
],
"parameters": {},
"typeVersion": 1
},
{
"id": "522d83f6-752e-40b4-a889-334f0a96998b",
"name": "Agile CRM에서 모든 기업 가져오기",
"type": "n8n-nodes-base.agileCrm",
"position": [
-3080,
-220
],
"parameters": {
"options": {},
"resource": "company",
"operation": "getAll"
},
"credentials": {
"agileCrmApi": {
"id": "wb0EgiQFLQbiFuy4",
"name": "AgileCRM account"
}
},
"typeVersion": 1
},
{
"id": "8ff0632b-6aca-47d8-b611-72dbc8dec09b",
"name": "INSEE 데이터로 CRM 강화",
"type": "n8n-nodes-base.agileCrm",
"position": [
-1960,
-340
],
"parameters": {
"resource": "company",
"companyId": "={{ $json.companyId }}",
"operation": "update",
"additionalFields": {
"addressOptions": {
"addressProperties": [
{
"address": "={{ $json.etablissement.adresseEtablissement.complementAdresseEtablissement }}\n{{ $json.etablissement.adresseEtablissement.typeVoieEtablissement }} {{ $json.etablissement.adresseEtablissement.libelleVoieEtablissement }}\n{{ $json.etablissement.adresseEtablissement.codePostalEtablissement }}{{ $json.etablissement.adresseEtablissement.libelleCommuneEtablissement }}",
"subtype": "office"
}
]
},
"customProperties": {
"customProperty": [
{
"name": "SIREN",
"value": "={{ $json.etablissement.siren }}",
"subtype": "TEXT"
}
]
}
}
},
"credentials": {
"agileCrmApi": {
"id": "wb0EgiQFLQbiFuy4",
"name": "AgileCRM account"
}
},
"typeVersion": 1
},
{
"id": "8720be96-8181-4ea7-b114-ce0f5b8e09c1",
"name": "CRM용 강화 데이터로 CRM과 SIREN 데이터베이스 데이터 병합",
"type": "n8n-nodes-base.merge",
"position": [
-2180,
-340
],
"parameters": {
"mode": "combine",
"options": {},
"advanced": true,
"mergeByFields": {
"values": [
{
"field1": "denominationUniteLegale",
"field2": "etablissement.uniteLegale.denominationUniteLegale"
}
]
}
},
"typeVersion": 3
},
{
"id": "855a39e2-83ef-49d9-b630-ec31aaa96e72",
"name": "메모2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-3460,
20
],
"parameters": {
"height": 80,
"content": "👆 You can use any of those two Trigger to start the process."
},
"typeVersion": 1
},
{
"id": "b003c1b8-6244-4b72-bbb0-025f563b5d71",
"name": "메모3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2260,
-640
],
"parameters": {
"width": 380,
"height": 240,
"content": "### 🗒️ Notes : \n1. This workflow is made to write over any entry already present. You can change this for each company by setting the **\"RO\"** Custom Field to **1**, making it read-only for this workflow.\n\n2. If you want to make it readonly after the update from this workflow, then **add a custom property** in the last node **Enrich CRM with INSEE Data** named **\"RO\"**, SubType **\"Number\"** and Value **\"1\"**"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "9f328182-d131-4300-a1f4-2cb3dfe91632",
"connections": {
"88c8a6c6-2175-42c3-bfdb-f1d32a5d1c2d": {
"main": [
[
{
"node": "8720be96-8181-4ea7-b114-ce0f5b8e09c1",
"type": "main",
"index": 0
}
]
]
},
"90b13481-6570-4bfc-b3dc-4b6017c6c8b5": {
"main": [
[
{
"node": "78255253-195d-472d-a76c-ab63ceac126b",
"type": "main",
"index": 0
}
]
]
},
"78255253-195d-472d-a76c-ab63ceac126b": {
"main": [
[
{
"node": "522d83f6-752e-40b4-a889-334f0a96998b",
"type": "main",
"index": 0
}
]
]
},
"d406941b-80a1-43a3-ba19-2e29570192f2": {
"main": [
[
{
"node": "6ab3818b-2f09-44e2-874a-87c51478572b",
"type": "main",
"index": 0
}
]
]
},
"522d83f6-752e-40b4-a889-334f0a96998b": {
"main": [
[
{
"node": "0bdc49dd-6f26-447f-a8ba-c2ba615dc7ec",
"type": "main",
"index": 0
}
]
]
},
"a45b34c1-514e-4221-b363-abf2d4de43c4": {
"main": [
[
{
"node": "78255253-195d-472d-a76c-ab63ceac126b",
"type": "main",
"index": 0
}
]
]
},
"6ab3818b-2f09-44e2-874a-87c51478572b": {
"main": [
[
{
"node": "8720be96-8181-4ea7-b114-ce0f5b8e09c1",
"type": "main",
"index": 1
}
]
]
},
"0bdc49dd-6f26-447f-a8ba-c2ba615dc7ec": {
"main": [
[
{
"node": "d406941b-80a1-43a3-ba19-2e29570192f2",
"type": "main",
"index": 0
},
{
"node": "88c8a6c6-2175-42c3-bfdb-f1d32a5d1c2d",
"type": "main",
"index": 0
}
]
]
},
"8720be96-8181-4ea7-b114-ce0f5b8e09c1": {
"main": [
[
{
"node": "8ff0632b-6aca-47d8-b611-72dbc8dec09b",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - 영업, 마케팅
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
Overpass 잠재 고객 생성 시스템
OpenStreetMap 데이터를 사용하여 Google Sheets에 비즈니스 유치원 저장
If
Set
Code
+
If
Set
Code
27 노드Akram Kadri
영업
OpenAI, Google Sheets, Jina AI 및 Slack을 활용한 AI 기반 정보 모니터링
AI 기반 정보 모니터링 워크플로우로 OpenAI, Google Sheets, Jina AI 및 Slack을 통합합니다
If
Set
Code
+
If
Set
Code
31 노드Dataki
영업
Google 스프레드시트에 저장된 LinkedIn 개인 프로필 URL을 풍부화
Google 스프레드시트에 저장된 LinkedIn 개인 프로필 URL 정보를 풍부화
If
Set
Merge
+
If
Set
Merge
11 노드AlQaisi
영업
Google Maps를 사용하여 잠재 고객 생성 - AlexK1919
Google Maps를 사용하여 잠재 고객 생성
If
Set
Code
+
If
Set
Code
42 노드Alex Kim
영업
[템플릿] AI 반려동물 가게 v8
🐶 AI 펫 샵 어시스턴트 - GPT-4o, Google 캘린더 및 WhatsApp/Instagram/Facebook 통합
If
N8n
Set
+
If
N8n
Set
244 노드Amanda Benks
영업
자동 WordPress 블로그 생성기 (GPT + Postgres + WP 미디어)
GPT-4와 Postgres 추적으로 SEO 기사 자동 생성 및 WordPress 게시
Set
Code
Merge
+
Set
Code
Merge
46 노드AlexWantMoreB
인공지능