Workflow: Manual Uproc Import

Workflow Details

Download Workflow
{
    "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": "miquel-uproc"
            },
            "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
                    }
                ]
            ]
        }
    }
}
Back to Workflows

Related Workflows

Wait Splitout Create Scheduled
View
HTTP GitHub Create Scheduled
View
Manual Htmlextract Automation Webhook
View
Splitout Code Create Webhook
View
Openweathermap Webhook Create Webhook
View
PUQ Docker NextCloud deploy
View
dub.co URL Shortener
View
Postgrestool Stickynote Send Triggered
View
Wordpress Filter Update Scheduled
View
Wait Schedule Automation Webhook
View