{
  "id": "188",
  "name": "Send a message on Mattermost when an order is created in WooCommerce",
  "nodes": [
    {
      "name": "WooCommerce Trigger",
      "type": "n8n-nodes-base.wooCommerceTrigger",
      "position": [
        550,
        260
      ],
      "webhookId": "84960a7c-cb69-4dfb-a5ed-aac12e0efbf8",
      "parameters": {
        "event": "order.created"
      },
      "credentials": {
        "wooCommerceApi": "woocommerce"
      },
      "typeVersion": 1,
      "id": "86bfe8a2-c555-4067-ad52-e796d675dda3",
      "notes": "This wooCommerceTrigger node performs automated tasks as part of the workflow."
    },
    {
      "name": "Mattermost",
      "type": "n8n-nodes-base.mattermost",
      "position": [
        750,
        260
      ],
      "parameters": {
        "message": "={{$node[\"WooCommerce Trigger\"].json[\"billing\"][\"first_name\"]}} bought {{$node[\"WooCommerce Trigger\"].json[\"line_items\"][0][\"name\"]}}!",
        "channelId": "pj1p95ebei8g3ro5p84kxxuuio",
        "attachments": [],
        "otherOptions": {}
      },
      "credentials": {
        "mattermostApi": "Mattermost Credentials"
      },
      "typeVersion": 1,
      "id": "e062f8d3-68f9-40c6-8fd0-63a28dc60966",
      "notes": "This mattermost node performs automated tasks as part of the workflow."
    },
    {
      "id": "error-138d9d8f",
      "name": "Error Handler",
      "type": "n8n-nodes-base.stopAndError",
      "typeVersion": 1,
      "position": [
        1000,
        400
      ],
      "parameters": {
        "message": "Workflow execution error",
        "options": {}
      }
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "saveManualExecutions": true,
    "callerPolicy": "workflowsFromSameOwner",
    "errorWorkflow": null,
    "timezone": "UTC",
    "executionTimeout": 3600,
    "maxExecutions": 1000,
    "retryOnFail": true,
    "retryCount": 3,
    "retryDelay": 1000
  },
  "connections": {},
  "description": "Automated workflow: Send a message on Mattermost when an order is created in WooCommerce. This workflow processes data and performs automated tasks.",
  "meta": {
    "instanceId": "workflow-dd37b050",
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:50.867947",
    "updatedAt": "2025-09-29T07:07:50.868020",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "tags": [
    "automation",
    "n8n",
    "production-ready",
    "excellent",
    "optimized"
  ],
  "notes": "Excellent quality workflow: Send a message on Mattermost when an order is created in WooCommerce. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."
}