AutomationFlowsGeneral › Get Company by Name

Get Company by Name

Get Company by Name. Uses manualTrigger, functionItem, uproc. Event-driven trigger; 4 nodes.

Event trigger★★☆☆☆ complexity4 nodesFunction ItemUproc
General Trigger: Event Nodes: 4 Complexity: ★★☆☆☆

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "112",
  "name": "Get Company by Name",
  "nodes": [
    {
      "name": "On clicking 'execute'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        440,
        510
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "Create Company Item",
      "type": "n8n-nodes-base.functionItem",
      "position": [
        640,
        510
      ],
      "parameters": {
        "functionCode": "item.company = \"Killia technologies\";\nitem.country = \"Spain\";\n\nreturn item;"
      },
      "typeVersion": 1
    },
    {
      "name": "Get Company by Name",
      "type": "n8n-nodes-base.uproc",
      "position": [
        850,
        510
      ],
      "parameters": {
        "name": "={{$node[\"Create Company Item\"].json[\"company\"]}}",
        "tool": "getCompanyByName",
        "group": "company",
        "country": "={{$node[\"Create Company Item\"].json[\"country\"]}}",
        "additionalOptions": {}
      },
      "credentials": {
        "uprocApi": "<your credential>"
      },
      "typeVersion": 1
    },
    {
      "name": "Company Found?",
      "type": "n8n-nodes-base.if",
      "position": [
        1050,
        510
      ],
      "parameters": {
        "conditions": {
          "number": [],
          "string": [
            {
              "value1": "={{$node[\"Get Company by Name\"].json[\"message\"][\"name\"]}}",
              "value2": ".+",
              "operation": "regex"
            }
          ]
        }
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {},
  "connections": {
    "Create Company Item": {
      "main": [
        [
          {
            "node": "Get Company by Name",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Company by Name": {
      "main": [
        [
          {
            "node": "Company Found?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On clicking 'execute'": {
      "main": [
        [
          {
            "node": "Create Company Item",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

About this workflow

Get Company by Name. Uses manualTrigger, functionItem, uproc. Event-driven trigger; 4 nodes.

Source: https://github.com/Zie619/n8n-workflows — original creator credit. Request a take-down →

More General workflows → · Browse all categories →