{"name":"Enrich a CRM company record with official French registry data (Sirenic)","nodes":[{"parameters":{"content":"## Enrich a CRM company record with official French registry data\n\nTurn a company name into verified registry data: SIREN, legal form, NAF activity code, workforce band, head office and active/ceased status. The match confidence score decides: a doubtful homonym goes to human review instead of overwriting your CRM.\n\n### Who's it for\n\nRevOps and sales teams whose CRM records arrive with a company name and nothing else.\n\n### How it works\n\n- **Search the company by name**: `/v1/recherche` ($0.002)\n- **Get the official profile**: `/v1/entreprise/{resultats[0].siren}` ($0.005)\n\n### How to set up\n\n1. Create an API key at https://api.sirenic.eu/compte (e-mail + magic link).\n2. Add a **Header Auth** credential in n8n: name `X-Api-Key`, value `srn_live_…`.\n3. Select it on every HTTP Request node, then replace the placeholder nodes with your own app.\n\n### Requirements\n\n- A Sirenic API key. Native n8n nodes only, so this runs on n8n Cloud: no community node, no wallet, no crypto.\n- Cost: **$0.007 per record ($0.002 search + $0.005 profile)**. 150 calls a month are free on routes at $0.05 or less. An error is never billed.\n\n### How to customize\n\nMove the 0.8 confidence threshold, or map more registry fields into your CRM.\n\n_Official sources: INSEE Sirene, INPI RNE, BODACC, DECP and the official sanctions lists._\n_Sirenic is not an accredited e-invoicing platform, and a sanctions match is never an automated decision._","height":720,"width":420},"id":"overview","name":"Overview","type":"n8n-nodes-base.stickyNote","typeVersion":1,"position":[-500,-260]},{"parameters":{"httpMethod":"GET","path":"sirenic-enrich","responseMode":"lastNode","options":{}},"id":"receive-a-company-name-from-the-crm","name":"Receive a company name from the CRM","type":"n8n-nodes-base.webhook","typeVersion":2,"position":[0,0],"webhookId":"a5f5baec-14f7-4bd1-a712-2cc63ae7161d"},{"parameters":{"url":"=https://api.sirenic.eu/v1/recherche?q={{ $('Receive a company name from the CRM').item.json.query.nom }}","authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","options":{}},"id":"search-the-company-by-name","name":"Search the company by name","type":"n8n-nodes-base.httpRequest","typeVersion":4.2,"position":[260,0]},{"parameters":{"conditions":{"options":{"caseSensitive":true,"leftValue":"","typeValidation":"loose","version":2},"conditions":[{"id":"c1","leftValue":"={{ $json.resultats[0].score_confiance }}","rightValue":0.8,"operator":{"type":"number","operation":"gte"}}],"combinator":"and"},"looseTypeValidation":true,"options":{}},"id":"confident-match-","name":"Confident match?","type":"n8n-nodes-base.if","typeVersion":2.2,"position":[520,0]},{"parameters":{"url":"=https://api.sirenic.eu/v1/entreprise/{{ $json.resultats[0].siren }}","authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","options":{}},"id":"get-the-official-profile","name":"Get the official profile","type":"n8n-nodes-base.httpRequest","typeVersion":4.2,"position":[780,-140]},{"parameters":{},"id":"write-back-to-your-crm","name":"Write back to your CRM","type":"n8n-nodes-base.noOp","typeVersion":1,"position":[1040,-140]},{"parameters":{},"id":"send-the-homonym-to-human-review","name":"Send the homonym to human review","type":"n8n-nodes-base.noOp","typeVersion":1,"position":[780,140]},{"parameters":{"content":"**$0.002**: Returns the 10 best matches, each with a score_confiance from 0 to 1.","height":180,"width":240,"color":7},"id":"note-search-the-company-by-name","name":"Note Search the company by name","type":"n8n-nodes-base.stickyNote","typeVersion":1,"position":[250,-260]}],"connections":{"Receive a company name from the CRM":{"main":[[{"node":"Search the company by name","type":"main","index":0}]]},"Search the company by name":{"main":[[{"node":"Confident match?","type":"main","index":0}]]},"Get the official profile":{"main":[[{"node":"Write back to your CRM","type":"main","index":0}]]},"Confident match?":{"main":[[{"node":"Get the official profile","type":"main","index":0}],[{"node":"Send the homonym to human review","type":"main","index":0}]]}},"settings":{"executionOrder":"v1"},"pinData":{}}