Automate Feedback Sentiment Analysis with Typeform, Google Cloud & Mattermost

Struggling to quickly assess event feedback? This n8n workflow automates sentiment analysis of Typeform responses using Google Cloud Natural Language and sends real-time alerts to Mattermost, saving hours and improving response accuracy.
typeformTrigger
googleCloudNaturalLanguage
mattermost
+2
Workflow Identifier: 1673
NODES in Use: Typeform Trigger, Google Cloud Natural Language, IF, Mattermost, NoOp
Automate feedback analysis with n8n and Typeform

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Workflow Does

This workflow automates checking event feedback from Typeform for positive or negative feelings.
When new feedback arrives, it reads the answer about the event, sends that text to Google Cloud Natural Language API to get a sentiment score, then checks if the feedback is negative or not.
If the feedback is negative, it sends a message with details to a Mattermost chat channel for quick team review.
If feedback is not negative, it stops silently.
This saves hours of manual reading and helps catch problems fast.


Who Should Use This Workflow

This is for event coordinators or teams that collect written feedback using Typeform and want fast alerts on unhappy feedback.
It fits users who want to reduce manual work and improve response time after events.
No need to read all answers manually or miss critical comments.


Tools and Services Used


Workflow Inputs, Processing, and Output

Inputs

  • New feedback responses from Typeform form with question: “What did you think about the event?”

Processing Steps

  • Trigger node detects each new form response in real time.
  • Extracts the exact answer text from the specified question.
  • Sends the text to Google Cloud Natural Language API for sentiment analysis.
  • Receives sentiment score (numeric, range -1 to 1).
  • Checks if the score matches a negative condition using an IF node.
  • If negative, triggers sending a formatted message to Mattermost channel.
  • If not, passes to NoOp node to silently finish without action.

Output

  • A message posted in Mattermost channel with feedback text and its sentiment score for negative feedback items only.

Beginner Step-by-Step: How to Use This Workflow in n8n

Step 1: Import the Workflow

  1. Download the workflow file using the Download button on this page.
  2. Open the n8n editor in your account.
  3. Click on the menu, select “Import from File”, and choose the downloaded file.

Step 2: Configure Credentials and IDs

  1. Setup your Typeform API credentials in the Typeform Trigger node.
  2. Check the Typeform Trigger node’s form ID matches your feedback form.
  3. Add your Google Cloud OAuth2 credentials that have access to Natural Language API in the Google Cloud Natural Language node.
  4. Verify the expression mapping the feedback text input is correct:
    ={{$node["Typeform Trigger"].json["What did you think about the event?"]}}

  5. Set your Mattermost channel ID and API credentials in the Mattermost node for posting messages.
  6. Confirm the message uses this expression exactly to send the text and score:
    =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?"]}}

  7. Make sure the IF node checks for sentiment score less than 0 to catch negative feedback.

Step 3: Test and Activate

  1. Submit a test feedback response in your Typeform with a negative comment.
  2. Watch if a message appears in the Mattermost channel.
  3. If all works, save the workflow and turn the activate toggle to ON.
  4. Your workflow now runs live to notify your team on negative feedback automatically.

If hosting n8n yourself, link self-host n8n for more setup options.


Customization Ideas

  • Change the IF node’s sentiment score threshold to catch mild dissatisfaction by increasing cutoff (e.g., below 0.5).
  • Add extra feedback question fields into both the Typeform Trigger extraction and Mattermost message template.
  • Use more advanced routing with multiple IF or Switch nodes to send positive, neutral, and negative feedback notices to different Mattermost channels.

Handling Errors and Edge Cases

  • If the Google Cloud Natural Language node fails, check if OAuth2 credentials are correct and the API is enabled in your Google Cloud account.
  • If no messages appear in Mattermost, verify the IF node condition matches sentiment scores below zero and make sure the Mattermost channel ID is correct.
  • If the workflow does not start on new Typeform responses, confirm the webhook URL is properly registered and activated in the Typeform settings.
  • Neutral or positive feedback ends in the NoOp node to avoid unnecessary alerts.

Summary of Outcomes

✓ Saves manual review time by automatically analyzing feedback sentiment.
✓ Sends immediate alerts on negative feedback to Mattermost, speeding team response.
✓ Reduces errors from manual reading and missed comments.
✓ Easy to configure and test inside n8n with clear step-by-step usage.
✓ Can be customized for different alert thresholds and multi-channel notifications.


Automate feedback analysis with n8n and Typeform

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

The workflow uses the Typeform Trigger node that listens for new submitted responses in a specific Typeform form via webhooks.
It runs sentiment analysis on the feedback text and returns a sentiment score from -1 (negative) to +1 (positive) used to check feedback tone.
The Mattermost node requires the target channel ID for posting messages and API credentials with permissions to send to that channel.
This could happen if the IF node’s condition checking the sentiment score is set incorrectly or the Mattermost channel ID is wrong.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.