Classify sentiment of incoming text using Hugging Face, Google Sheets, and Jira
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
Nodes used (9)
- Webhook
n8n-nodes-base.webhook - Split Out
n8n-nodes-base.splitOut - Wait
n8n-nodes-base.wait - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Switch
n8n-nodes-base.switch - Google Sheets
n8n-nodes-base.googleSheets - Jira Software
n8n-nodes-base.jira
What it does
Sentiment Analysis Workflow using Webhook, Hugging Face, Google Sheets & Jira This workflow automatically analyzes incoming text feedback, classifies it into Positive, Neutral or Negative using a Hugging Face sentiment model, stores results in Google Sheets and creates Jira tickets for negative feedback. Quick Steps to Get Started 1. Import the workflow into your n8n account 2. Set up Webhook endpoint (/sentiment-input) 3. Add Hugging Face API token in HTTP Request node 4. Configure Google Sheets (3 tabs: Positive, Neutral, Negative) 5. Connect Jira credentials 6. Activate the workflow 7. Send POST request with text data What It Does This workflow automates sentiment analysis of incoming text data using a machine learning model hosted on Hugging Face. It receives multiple text inputs via a webhook, processes each input individually and evaluates sentiment scores returned by the model. The workflow intelligently determines whether the sentiment is Positive, Neutral or Negative based on the highest score and a confidence threshold. It ensures more reliable classification by applying a score validation logic. Once classified, the workflow routes the data accordingly. Each sentiment category is stored in a separate Google Sheets tab, making it easy to track and analyze feedback trends. Additionally, any negative feedback automatically triggers the creation of a Jira ticket, enabling quick issue resolution. Who It's For - Businesses collecting customer feedback - Product teams monitoring user sentiment - Customer support teams - SaaS companies handling reviews or complaints - Developers building AI-powered automation workflows Requirements To use this workflow, you need: - n8n account (self-hosted or cloud) - Hugging Face API access token - Google Sheets account with service account credentials - Jira Software Cloud account - Basic understanding of n8n workflows and nodes How It Works & Setup Guide Step 1: Import Workflow - Import the JSON file into n8n Step 2: Configure Webhook - Node: Receive Feedback - Method: POST - Endpoint: /sentiment-input - Input format: json { "data": { "text": "I love this" }, { "text": "This is okay" }, { "text": "Worst experience ever" } } Step 3: Split Input Data - Node: Split Text Items - Splits array into individual items for processing Step 4: Rate Limiting - Node: Rate Limit Control - Prevents API overload (optional delay control) Step 5: Preserve Input - Node: Preserve Input Text - Keeps original text intact for later use Step 6: Sentiment Analysis - Node: Get Sentiment Scores - Add Hugging Face API token in headers: - Authorization: Bearer YOURAPIKEY - Model used: cardiffnlp/twitter-roberta-base-sentiment Step 7: Merge Data - Node: Merge Text & Scores - Combines model output with original input Step 8: Compute Sentiment - Node: Compute Sentiment - Logic: - Highest score determines sentiment - Confidence threshold: > 0.9 - Otherwise defaults to Neutral Step 9: Route Data - Node: Route by Sentiment - Routes into: - Positive - Neutral - Negative Step 10: Store Results - Nodes: - Store Positive Feedback - Store Neutral Feedback - Store Negative Feedback - Append data into respective Google Sheets tabs Step 11: Create Jira Ticket - Node: Create Jira Ticket - Triggered only for Negative sentiment - Includes: - Text - Sentiment - Timestamp - Priority: High How To Customize Nodes - Webhook Node - Change endpoint path as needed - HTTP Request Node - Replace Hugging Face model with another model if required - Compute Sentiment Node - Adjust confidence threshold (currently 0.9) - Modify classification logic - Google Sheets Nodes - Change document ID or sheet names - Add more columns if needed - Jira Node - Customize issue type, priority or project Add-ons You can enhance this workflow with: - Email or Slack notifications for negative feedback - Dashboard visualization using BI tools - Sentiment trend analytics - Multi-language sentiment analysis - Integration with CRM systems Use Case Examples 1. Custome