Workflow: Woocommerce Slack Create

Workflow Details

Download Workflow
{
    "id": 81,
    "name": "New WooCommerce order to Slack",
    "nodes": [
        {
            "name": "Order Created",
            "type": "n8n-nodes-base.wooCommerceTrigger",
            "position": [
                340,
                500
            ],
            "webhookId": "287b4bf4-67ec-4c97-85d9-c0d3e6f59e6b",
            "parameters": {
                "event": "order.created"
            },
            "credentials": {
                "wooCommerceApi": {
                    "id": "48",
                    "name": "WooCommerce account"
                }
            },
            "typeVersion": 1
        },
        {
            "name": "Send to Slack",
            "type": "n8n-nodes-base.slack",
            "position": [
                780,
                480
            ],
            "parameters": {
                "text": ":sparkles: There is a new order :sparkles:",
                "channel": "woo-commerce",
                "blocksUi": {
                    "blocksValues": []
                },
                "attachments": [
                    {
                        "color": "#66FF00",
                        "fields": {
                            "item": [
                                {
                                    "short": true,
                                    "title": "Order ID",
                                    "value": "={{$json[\"id\"]}}"
                                },
                                {
                                    "short": true,
                                    "title": "Status",
                                    "value": "={{$json[\"status\"]}}"
                                },
                                {
                                    "short": true,
                                    "title": "Total",
                                    "value": "={{$json[\"currency_symbol\"]}}{{$json[\"total\"]}}"
                                },
                                {
                                    "short": false,
                                    "title": "Link",
                                    "value": "={{$node[\"Order Created\"].json[\"_links\"][\"self\"][0][\"href\"]}}"
                                }
                            ]
                        },
                        "footer": "=*Ordered:* {{$json[\"date_created\"]}} | *Transaction ID:* {{$json[\"transaction_id\"]}}"
                    }
                ],
                "otherOptions": []
            },
            "credentials": {
                "slackApi": {
                    "id": "53",
                    "name": "Slack Access Token"
                }
            },
            "typeVersion": 1
        },
        {
            "name": "Price over 100",
            "type": "n8n-nodes-base.if",
            "position": [
                540,
                500
            ],
            "parameters": {
                "conditions": {
                    "number": [
                        {
                            "value1": "={{$json[\"total\"]}}",
                            "value2": 100,
                            "operation": "largerEqual"
                        }
                    ]
                }
            },
            "typeVersion": 1
        }
    ],
    "active": false,
    "settings": {
        "saveManualExecutions": true,
        "saveExecutionProgress": true,
        "saveDataSuccessExecution": "all"
    },
    "connections": {
        "Order Created": {
            "main": [
                [
                    {
                        "node": "Price over 100",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Price over 100": {
            "main": [
                [
                    {
                        "node": "Send to Slack",
                        "type": "main",
                        "index": 0
                    }
                ],
                []
            ]
        }
    }
}
Back to Workflows

Related Workflows

Attachments Gmail to drive and google sheets
View
Webhook Slack Create Webhook
View
HTTP Executeworkflow Send Webhook
View
Extractfromfile Form Automation Webhook
View
Create Email Campaign From LinkedIn Post Interactions
View
Manual Start Update Webhook
View
Manual Stickynote Automate Triggered
View
HTTP Respondtowebhook Create Webhook
View
Monitor_security_advisories
View
Open Deep Research - AI-Powered Autonomous Research Workflow
View