{"name":"Compare French companies and place them in their sector (Sirenic)","nodes":[{"parameters":{"content":"## Compare French companies and place them in their sector\n\nPut 2 to 5 French companies side by side on official data (identity, deterministic default-risk score, last filed accounts, insolvency notices), then read the sector medians for the same activity code. Rankings axis by axis, never an overall winner. Legal persons under full disclosure only: a sole trader or a restricted-diffusion company refuses the comparison, never billed.\n\n### Who's it for\n\nProcurement and finance teams shortlisting suppliers on official data.\n\n### How it works\n\n- **Compare the companies**: `/v1/comparer` ($0.12 per company)\n- **Get the sector benchmarks**: `/v1/secteur/{naf}/benchmarks` ($0.05)\n\n### How to set up\n\n1. Create an API key at https://api.sirenic.eu/compte?utm_source=n8n&utm_campaign=w11-compare-and-benchmark (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 connect your own app after the end nodes.\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.12 per company compared + $0.05 per sector**. A verified account gets 150 free calls a month on 124 of 130 routes (the price list says which). This template calls one of them, the sector benchmarks; its comparison call is billed from the first one. An error is never billed.\n\n### How to customize\n\nChange the SIREN list and the NAF code, and render the comparison wherever your team reads it.\n\nEach end node adds the field `Sirenic: source`, a dated source line with a link to Sirenic. The source line can be edited or removed.\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":{},"id":"run-the-comparison","name":"Run the comparison","type":"n8n-nodes-base.manualTrigger","typeVersion":1,"position":[0,0]},{"parameters":{"assignments":{"assignments":[{"id":"sirens-champ","name":"sirens","value":"552032534,490586708","type":"string"},{"id":"naf-champ","name":"naf","value":"10.51A","type":"string"}]},"options":{}},"id":"companies-and-sector","name":"Companies and sector","type":"n8n-nodes-base.set","typeVersion":3.4,"position":[260,0]},{"parameters":{"url":"=https://api.sirenic.eu/v1/comparer?sirens={{ $('Companies and sector').item.json.sirens }}","authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","options":{}},"id":"compare-the-companies","name":"Compare the companies","type":"n8n-nodes-base.httpRequest","typeVersion":4.2,"position":[520,0]},{"parameters":{"url":"=https://api.sirenic.eu/v1/secteur/{{ $('Companies and sector').item.json.naf }}/benchmarks","authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","options":{}},"id":"get-the-sector-benchmarks","name":"Get the sector benchmarks","type":"n8n-nodes-base.httpRequest","typeVersion":4.2,"position":[780,0]},{"parameters":{"assignments":{"assignments":[{"id":"sirenic-source","name":"Sirenic: source","value":"=Companies compared on official French sources via Sirenic on {{ $now.toFormat('yyyy-MM-dd') }}: https://api.sirenic.eu/en?utm_source=template&utm_campaign=w11","type":"string"}]},"includeOtherFields":true,"options":{}},"id":"build-the-comparison-table","name":"Build the comparison table","type":"n8n-nodes-base.set","typeVersion":3.4,"position":[1040,0]},{"parameters":{"content":"**$0.12 per company**: 2 to 5 SIREN. Fully disclosed legal persons only: a sole trader, a restricted-diffusion unit or a group without legal personality refuses the whole comparison, not billed (sirens_refuses lists them). Rankings axis by axis: the route NEVER names an overall winner.","height":180,"width":240,"color":7},"id":"note-compare-the-companies","name":"Note Compare the companies","type":"n8n-nodes-base.stickyNote","typeVersion":1,"position":[510,-260]},{"parameters":{"content":"**$0.05**: Sector medians are served as soon as 5 companies file public accounts.","height":180,"width":240,"color":7},"id":"note-get-the-sector-benchmarks","name":"Note Get the sector benchmarks","type":"n8n-nodes-base.stickyNote","typeVersion":1,"position":[770,-260]}],"connections":{"Run the comparison":{"main":[[{"node":"Companies and sector","type":"main","index":0}]]},"Companies and sector":{"main":[[{"node":"Compare the companies","type":"main","index":0}]]},"Compare the companies":{"main":[[{"node":"Get the sector benchmarks","type":"main","index":0}]]},"Get the sector benchmarks":{"main":[[{"node":"Build the comparison table","type":"main","index":0}]]}},"settings":{"executionOrder":"v1"},"pinData":{}}