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

Example - Backup n8n to Nextcloud
View
Building RAG Chatbot for Movie Recommendations with Qdrant and Open AI
View
Code Editimage Automation Webhook
View
Splitout Code Create Webhook
View
HN Who is Hiring Scrape
View
Chat with local LLMs using n8n and Ollama
View
Telegram Gmail Create Triggered
View
Reschedule overdue Asana tasks and clean up completed tasks
View
Manual Microsoftexcel Automate Triggered
View
Publish post to a publication
View