Analyze the sentiment of feedback and send a message on Mattermost
Workflow JSON
{"id": "133", "name": "Analyze the sentiment of feedback and send a message on Mattermost", "nodes": [{"name": "Typeform Trigger", "type": "n8n-nodes-base.typeformTrigger", "position": [510, 260], "webhookId": "ad8a87ef-d293-4e48-8d36-838d69ebce0f", "parameters": {"formId": ""}, "credentials": {"typeformApi": "typeform"}, "typeVersion": 1}, {"name": "Google Cloud Natural Language", "type": "n8n-nodes-base.googleCloudNaturalLanguage", "position": [710, 260], "parameters": {"content": "={{$node[\"Typeform Trigger\"].json[\"What did you think about the event?\"]}}", "options": {}}, "credentials": {"googleCloudNaturalLanguageOAuth2Api": "cloud"}, "typeVersion": 1}, {"name": "IF", "type": "n8n-nodes-base.if", "position": [910, 260], "parameters": {"conditions": {"number": [{"value1": "={{$node[\"Google Cloud Natural Language\"].json[\"documentSentiment\"][\"score\"]}}"}]}}, "typeVersion": 1}, {"name": "Mattermost", "type": "n8n-nodes-base.mattermost", "position": [1110, 160], "parameters": {"message": "=You got a new feedback with a score of {{$node[\"Google Cloud Natural Language\"].json[\"documentSentiment\"][\"score\"]}}. Here is what it says:{{$node[\"Typeform Trigger\"].json[\"What did you think about the event?\"]}}", "channelId": "4h1bz64cyifwxnzojkzh8hxh4a", "attachments": [], "otherOptions": {}}, "credentials": {"mattermostApi": "mattermost"}, "typeVersion": 1}, {"name": "NoOp", "type": "n8n-nodes-base.noOp", "position": [1110, 360], "parameters": {}, "typeVersion": 1}], "active": false, "settings": {}, "connections": {"IF": {"main": [[{"node": "Mattermost", "type": "main", "index": 0}], [{"node": "NoOp", "type": "main", "index": 0}]]}, "Typeform Trigger": {"main": [[{"node": "Google Cloud Natural Language", "type": "main", "index": 0}]]}, "Google Cloud Natural Language": {"main": [[{"node": "IF", "type": "main", "index": 0}]]}}}How to Import This Workflow
- 1Copy the workflow JSON above using the Copy Workflow JSON button.
- 2Open your n8n instance and go to Workflows.
- 3Click Import from JSON and paste the copied workflow.
Don't have an n8n instance? Start your free trial at n8nautomation.cloud
Related Templates
KB Tool - Confluence Knowledge Base
Quickly retrieve information from your Confluence knowledge base with this n8n workflow. It connects to your Confluence instance via an HTTP Request node, allowing you to query for specific content directly from n8n. This workflow is ideal for support teams needing to rapidly access articles, developers looking up documentation, or anyone who frequently references Confluence pages and wants to integrate that data into other automated processes. By centralizing Confluence queries within n8n, you save significant time and effort previously spent manually navigating and searching, streamlining information retrieval and improving operational efficiency.
Siri AI Agent_ Apple Shortcuts powered voice template
Transform your Apple devices into powerful AI assistants with the Siri AI Agent workflow, leveraging Apple Shortcuts to provide voice-activated AI capabilities. This workflow connects your voice commands, captured by an Apple Shortcut, directly to an OpenAI Chat Model through an AI Agent, allowing you to ask questions, generate ideas, or get information using natural language. The AI Agent processes your request and the OpenAI Chat Model formulates a response, which is then sent back to your Apple Shortcut for Siri to vocalize, creating a seamless conversational experience. This is ideal for busy professionals, students, or anyone who wants hands-free access to advanced AI, solving the problem of needing to type or interact with a screen for AI assistance. By automating the communication between your voice input and a sophisticated AI model, this workflow saves significant time and effort, making AI interaction more accessible and efficient for daily tasks and inquiries.
Hacker News Throwback Machine - See What Was Hot on This Day, Every Year!
Discover what was trending on Hacker News on this exact day, every year, with the Hacker News Throwback Machine. This n8n workflow automates the process of fetching historical Hacker News front pages and summarizing the top stories, delivering a daily dose of tech nostalgia directly to your Telegram chat. A Schedule Trigger initiates the workflow, which then dynamically generates a list of past years. For each year, it uses an HTTP Request node to retrieve the Hacker News front page for today's date, then an HTML Extract Details node parses the headlines and links. These headlines are then compiled and fed into a Google Gemini Chat Model via a Basic LLM Chain, which summarizes the most interesting stories. Finally, the summarized insights are sent to your designated Telegram chat, providing a unique historical perspective without any manual effort. This workflow is perfect for tech enthusiasts, developers, or anyone curious about the evolution of tech news, saving significant time and effort compared to manually searching through archives.