← All N8N workflows
Automation & utilitiesAgile CrmCodeHTTP RequestManual TriggerMerge

INSEE Enrichment for Agile CRM

Configured with Agile Crm, HTTP Request, Schedule Trigger. Review the connections and setup before adapting this template.

Workflow preview
TriggerWhen clicking ‘Testworkflow’Manual TriggerWeb / APIFind Company in SIRENdatabaseHTTP RequestWeb / APIRequest all data fromSIREN databaseHTTP RequestCodeFilterOut all Companythat have the ReadOnly…CodeTransformSet Insee API KeyEdit FieldsTriggerSchedule TriggerSchedule TriggerRoutingclean_routeNo OpIntegrationGet all Compagnies fromAgile CRMAgile CrmIntegrationEnrich CRM with INSEEDataAgile CrmTransformMerge data from CRM andSIREN database with…Merge

Node categories in this workflow

  • Trigger
  • Web / API
  • Code
  • Transform
  • Routing
  • Integration

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
When clicking ‘Test workflow’TriggerManual TriggerSee node parameters
Find Company in SIREN databaseWeb / APIHTTP RequestSee node parameters
Request all data from SIREN databaseWeb / APIHTTP RequestSee node parameters
FilterOut all Company that have the ReadOnly Key setCodeCodeSee node parameters
Set Insee API KeyTransformEdit FieldsSee node parameters
Schedule TriggerTriggerSchedule TriggerSee node parameters
clean_routeRoutingNo OpSee node parameters
Get all Compagnies from Agile CRMIntegrationAgile Crmcompany / getAll
Enrich CRM with INSEE DataIntegrationAgile Crmcompany / update
Merge data from CRM and SIREN database with enriched for the CRMTransformMergeSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • agileCrmApi

Workflow notes

Enrich CRM data with data from French INSEE OpenDatabase API

Enrich CRM data with data from French INSEE OpenDatabase API

This workflow takes all company entries from Agile CRM and enriches their data using the French Insee Opendata API (Free Access)

This will update :

  1. Official Address of the company headquarters
  2. Add government company id number (SIREN) in a Custom Field
👨‍🎤 Setup

👨‍🎤 Setup

  1. Add your Agile CRM credentials
  2. Link each AgileCRM node to the correct Agile CRM credentials
  3. Add your INSEE API Key to the "Set Insee API Key" node
  4. Make sure the Custom Fields for the companies are set as below (Admin Settings):
    • Label : "SIREN", Type : "Text Field", Description "N° de SIREN"
    • Label : "RO", Type : "Number", Description "Locks entry from update"
  5. Click on Test Workflow to make sure everything is working
  6. Configure schedule if needed and don't forget to change status to Active
Sticky Note2

👆 You can use any of those two Trigger to start the process.

🗒️ Notes :

🗒️ Notes :

  1. 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.

  2. 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"

INSEE Enrichment for Agile CRM

INSEE Enrichment for Agile CRM

Purpose and structure

This folder contains the INSEE Enrichment for Agile CRM workflow. Its executable nodes use agileCrm, code, httpRequest, manualTrigger, merge, noOp, scheduleTrigger, set. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

When clicking ‘Test workflow’, Schedule Trigger

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Code/1460_Code_Schedule_Automation_Scheduled.json MIT; preserve source notices.

More in Automation & utilities