{
  "id": "wf83d9f7e13f30",
  "name": "Analyze the sentiment of feedback and send a message on Mattermost",
  "nodes": [
    {
      "name": "Typeform Trigger",
      "type": "n8n-nodes-base.typeformTrigger",
      "position": [
        510,
        260
      ],
      "parameters": {
        "formId": ""
      },
      "credentials": {
        "typeformApi": "<your credential>"
      },
      "typeVersion": 1,
      "id": "ca69f480-9e6a-4ba6-810f-fd4ac216c521",
      "notes": "This typeformTrigger node performs automated tasks as part of the workflow."
    },
    {
      "name": "Google Cloud Natural Language",
      "type": "n8n-nodes-base.googleCloudNaturalLanguage",
      "position": [
        710,
        260
      ],
      "parameters": {
        "content": "={{$(\"Typeform Trigger\").item.json[\"What did you think about the event?\"]}}",
        "options": {}
      },
      "credentials": {
        "googleCloudNaturalLanguageOAuth2Api": "<your credential>"
      },
      "typeVersion": 1,
      "id": "7b2d857f-d709-47b2-bf99-33519e8b57be",
      "notes": "This googleCloudNaturalLanguage node performs automated tasks as part of the workflow."
    },
    {
      "name": "If Node",
      "type": "n8n-nodes-base.if",
      "position": [
        910,
        260
      ],
      "parameters": {
        "conditions": {
          "number": [
            {
              "value1": "={{$(\"Google Cloud Natural Language\").item.json[\"documentSentiment\"][\"score\"]}}"
            }
          ]
        }
      },
      "typeVersion": 1,
      "id": "a36b7d1d-62b0-4495-b986-f9e30a4e5e31",
      "notes": "This if node performs automated tasks as part of the workflow."
    },
    {
      "name": "Mattermost",
      "type": "n8n-nodes-base.mattermost",
      "position": [
        1110,
        160
      ],
      "parameters": {
        "message": "=You got a new feedback with a score of {{$(\"Google Cloud Natural Language\").item.json[\"documentSentiment\"][\"score\"]}}. Here is what it says:{{$(\"Typeform Trigger\").item.json[\"What did you think about the event?\"]}}",
        "channelId": "4h1bz64cyifwxnzojkzh8hxh4a",
        "attachments": [],
        "otherOptions": {}
      },
      "credentials": {
        "mattermostApi": "<your credential>"
      },
      "typeVersion": 1,
      "id": "11fc0634-48e7-4f62-b149-ff35e3c3bf24",
      "notes": "This mattermost node performs automated tasks as part of the workflow."
    },
    {
      "name": "NoOp",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1110,
        360
      ],
      "parameters": {},
      "typeVersion": 1,
      "id": "60cdf8e4-fd25-4c4a-8b53-ed16b055f40a",
      "notes": "This noOp node performs automated tasks as part of the workflow."
    },
    {
      "id": "error-6e5405d3",
      "name": "Error Handler",
      "type": "n8n-nodes-base.stopAndError",
      "typeVersion": 1,
      "position": [
        1000,
        400
      ],
      "parameters": {
        "message": "Workflow execution error",
        "options": {}
      }
    }
  ],
  "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: Analyze the sentiment of feedback and send a message on Mattermost. This workflow processes data and performs automated tasks.",
  "meta": {
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:50.911629",
    "updatedAt": "2025-09-29T07:07:50.911641",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "notes": "Excellent quality workflow: Analyze the sentiment of feedback and send a message on Mattermost. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."
}