Analyze customer feedback sentiment with OpenAI, Google Sheets, and Slack
Ready for 3.0What this workflow does
This workflow has 7 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets and Slack. It also calls api.openai.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Prepare Text (Edit Fields (Set)): sets 2 fields: text, customer
- Analyze Sentiment (HTTP Request): calls api.openai.com (POST)
- Parse AI JSON (Code): runs custom JavaScript code
- Log Feedback (Google Sheets): append
- Negative? (If): checks a condition and branches into true / false
- Alert Slack (Slack): uses Slack
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other Google Sheets + Slack templates (1,314) · Other OpenAI + Slack templates (979)
HTTP calls to: api.openai.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack
From the author
Quick overview This workflow receives customer feedback via a webhook, uses OpenAI to classify sentiment and extract topics, logs every result to Google Sheets, and posts an alert to Slack when feedback is negative. How it works 1. Receives a POST webhook…