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

Extract text from PDF and image using Vertex AI (Gemini) into CSV
View
Telegram Code Automation Webhook
View
GoogleSheets Gmail Create Triggered
View
Linkedin Automation
View
Get all orders in Squarespace to Google Sheets
View
Business WhatsApp AI RAG Chatbot
View
Error Mailgun Automate Triggered
View
Track an event in Segment
View
Pipedrive Stickynote Create Webhook
View
Manual Splitinbatches Automate Triggered
View