Analyze the sentiment of feedback and send a message on Mattermost

Automatically analyze customer feedback sentiment and notify your team on Mattermost with this n8n workflow. This automation connects Typeform submissions directly to Google Cloud Natural Language for sentiment analysis, then routes the results to your Mattermost channel. When a user submits a form through Typeform, the workflow extracts the feedback, sends it to Google Cloud Natural Language for sentiment scoring, and based on that score, sends a message to a designated Mattermost channel, allowing for immediate team awareness of positive, negative, or neutral feedback. This workflow is ideal for product managers, customer support teams, or marketing departments who need to quickly gauge public opinion or customer satisfaction from surveys, support tickets, or product reviews, enabling faster response times to critical feedback and reducing the manual effort of monitoring and reporting. It saves significant time and ensures that important customer insights are never missed, fostering a more responsive and customer-centric operation.

5 nodesmanual trigger98 views0 copiesOther
Typeform

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

  1. 1Copy the workflow JSON above using the Copy Workflow JSON button.
  2. 2Open your n8n instance and go to Workflows.
  3. 3Click Import from JSON and paste the copied workflow.

Don't have an n8n instance? Start your free trial at n8nautomation.cloud

Related Templates

Visualize your SQL Agent queries with OpenAI and Quickchart.io

Visualize your SQL Agent queries with OpenAI and Quickchart.io empowers you to instantly transform complex SQL Agent query results into insightful charts and graphs, all through a simple chat interface. This workflow connects an OpenAI Chat Model to interpret your chat messages, determine if a chart is needed using a Text Classifier, and then leverages Quickchart.io by generating a chart definition with structured output via an HTTP Request node. It automates the entire process from receiving a chat message to extracting the user's question, passing it to an AI Agent, and then conditionally generating and displaying a chart, saving significant time and effort for data analysts, developers, and business intelligence professionals who frequently need to visualize their SQL data. By automating chart generation, this workflow eliminates the manual steps of data extraction, chart selection, and configuration, allowing users to quickly gain visual insights from their SQL Agent queries without needing to switch between multiple tools or possess advanced charting skills.

19 nodes

Handling Appointment Leads and Follow-up With Twilio, Cal.com and AI

Automate the entire lifecycle of appointment lead management and follow-up using Twilio, Cal.com, and OpenAI. This powerful n8n workflow listens for incoming SMS messages via a Twilio Trigger, intelligently processes user requests with OpenAI's AI Chat Models and Structured Output Parsers, and then leverages an AI Agent to interact with Cal.com for scheduling, rescheduling, or canceling appointments through a series of HTTP requests. It also proactively identifies follow-up candidates from Airtable on a daily schedule, generates personalized follow-up messages using AI, and sends them out via Twilio, updating Airtable with the interaction details. This workflow is ideal for businesses and service providers looking to streamline their appointment booking process, reduce manual communication overhead, and ensure no lead is left behind, ultimately saving significant time and resources while improving customer engagement.

36 nodes

Qualify replies from Pipedrive persons with AI

Automate the qualification of inbound email replies from Pipedrive contacts using artificial intelligence. This workflow connects Gmail and OpenAI to your Pipedrive CRM, streamlining your lead nurturing process. When a new email arrives in either of your specified Gmail inboxes (Email box 1 or Email box 2), the workflow searches for the sender as a person in Pipedrive. It then retrieves their full person details and sends the email content to OpenAI for an AI-powered assessment of interest (Is interested?). Based on OpenAI's response, if the person is deemed interested, a new deal is automatically created in Pipedrive, ensuring hot leads are immediately acted upon. This is ideal for sales teams, marketers, and business development professionals who receive a high volume of email replies and need to quickly identify and prioritize genuinely interested prospects, saving significant manual review time and accelerating sales cycles.

11 nodes

Ready to automate with n8n?

Get affordable managed n8n hosting with 24/7 support.