{
  "openruna_format": "flow-graph-v1",
  "title": "INSEE Enrichment for Agile CRM",
  "slug": "insee-enrichment-for-agile-crm",
  "source_filename": "1460_Code_Schedule_Automation_Scheduled.json",
  "nodes": [
    {
      "id": "When clicking ‘Test workflow’",
      "name": "When clicking ‘Test workflow’",
      "integration": "manual",
      "kind": "trigger"
    },
    {
      "id": "Find Company in SIREN database",
      "name": "Find Company in SIREN database",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Request all data from SIREN database",
      "name": "Request all data from SIREN database",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "FilterOut all Company that have the ReadOnly Key set",
      "name": "FilterOut all Company that have the ReadOnly Key set",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Set Insee API Key",
      "name": "Set Insee API Key",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Schedule Trigger",
      "name": "Schedule Trigger",
      "integration": "schedule",
      "kind": "trigger"
    },
    {
      "id": "clean_route",
      "name": "clean_route",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Get all Compagnies from Agile CRM",
      "name": "Get all Compagnies from Agile CRM",
      "integration": "agileCrm",
      "kind": "action"
    },
    {
      "id": "Enrich CRM with INSEE Data",
      "name": "Enrich CRM with INSEE Data",
      "integration": "agileCrm",
      "kind": "action"
    },
    {
      "id": "Merge data from CRM and SIREN database with enriched for the CRM",
      "name": "Merge data from CRM and SIREN database with enriched for the CRM",
      "integration": "merge",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "clean_route",
      "to": "Merge data from CRM and SIREN database with enriched for the CRM"
    },
    {
      "from": "Schedule Trigger",
      "to": "Set Insee API Key"
    },
    {
      "from": "Set Insee API Key",
      "to": "Get all Compagnies from Agile CRM"
    },
    {
      "from": "Find Company in SIREN database",
      "to": "Request all data from SIREN database"
    },
    {
      "from": "Get all Compagnies from Agile CRM",
      "to": "FilterOut all Company that have the ReadOnly Key set"
    },
    {
      "from": "When clicking ‘Test workflow’",
      "to": "Set Insee API Key"
    },
    {
      "from": "Request all data from SIREN database",
      "to": "Merge data from CRM and SIREN database with enriched for the CRM"
    },
    {
      "from": "FilterOut all Company that have the ReadOnly Key set",
      "to": "Find Company in SIREN database"
    },
    {
      "from": "FilterOut all Company that have the ReadOnly Key set",
      "to": "clean_route"
    },
    {
      "from": "Merge data from CRM and SIREN database with enriched for the CRM",
      "to": "Enrich CRM with INSEE Data"
    }
  ]
}