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

Functionitem Manual Create Triggered
View
Manual Stickynote Export Triggered
View
Manual Mongodb Automate Triggered
View
Manual GoogleSheets Automate Triggered
View
Create, update, and get a profile in Humantic AI
View
Error Code Update Scheduled
View
Google Calendar to Slack Status & Philips Hue
View
Code Editimage Automation Webhook
View
Crypto News & Sentiment
View
DigialOceanUpload
View