Workflow: Manual Postgres Automate

Workflow Details

Download Workflow
{
    "nodes": [
        {
            "name": "On clicking 'execute'",
            "type": "n8n-nodes-base.manualTrigger",
            "position": [
                260,
                290
            ],
            "parameters": [],
            "typeVersion": 1
        },
        {
            "name": "Set",
            "type": "n8n-nodes-base.set",
            "position": [
                660,
                290
            ],
            "parameters": {
                "values": {
                    "number": [
                        {
                            "name": "id"
                        }
                    ],
                    "string": [
                        {
                            "name": "name",
                            "value": "n8n"
                        }
                    ]
                },
                "options": []
            },
            "typeVersion": 1,
            "alwaysOutputData": false
        },
        {
            "name": "Postgres",
            "type": "n8n-nodes-base.postgres",
            "position": [
                460,
                290
            ],
            "parameters": {
                "query": "CREATE TABLE test (id INT, name VARCHAR(255), PRIMARY KEY (id));",
                "operation": "executeQuery"
            },
            "credentials": {
                "postgres": "postgres_docker_creds"
            },
            "typeVersion": 1,
            "alwaysOutputData": true
        },
        {
            "name": "Postgres1",
            "type": "n8n-nodes-base.postgres",
            "position": [
                860,
                290
            ],
            "parameters": {
                "table": "test",
                "columns": "id, name"
            },
            "credentials": {
                "postgres": "postgres_docker_creds"
            },
            "typeVersion": 1
        }
    ],
    "connections": {
        "Set": {
            "main": [
                [
                    {
                        "node": "Postgres1",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Postgres": {
            "main": [
                [
                    {
                        "node": "Set",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "On clicking 'execute'": {
            "main": [
                [
                    {
                        "node": "Postgres",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    }
}
Back to Workflows

Related Workflows

Scrape Trustpilot Reviews to Google Sheets
View
Manual Webflow Automate Triggered
View
Wait Manual Automation Webhook
View
Wait Code Send Scheduled
View
Manual Htmlextract Automation Webhook
View
Post on X
View
Post New YouTube Videos to X
View
Create_Unique_Jira_tickets_from_Splunk_alerts
View
Summarize Google Sheets form feedback via OpenAI's GPT-4
View
Schedule Spotify Create Scheduled
View