{"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.\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 (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.12 per company compared + $0.05 per sector**. 150 calls a month are free on routes at $0.05 or less. 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\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":{},"id":"build-the-comparison-table","name":"Build the comparison table","type":"n8n-nodes-base.noOp","typeVersion":1,"position":[1040,0]},{"parameters":{"content":"**$0.12 per company**: 2 to 5 SIREN. 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":{}}