Loading video player...
Build an end-to-end n8n AI sentiment agent from scratch. In this video you’ll create a feedback form, connect an OpenAI chat model to analyze sentiment, merge outputs, branch with a switch node (positive / neutral / negative), and automatically send Gmail responses — all saved to a spreadsheet. Follow along and get the exact prompt and workflow structure so you can reproduce this for customer support, NPS, or feedback automation. What you’ll get: 1. Create an n8n form and capture responses 2. Configure an AI agent (OpenAI) for sentiment analysis 3. Merge results and map to email templates 4. Automate Gmail sends for each sentiment type 5. Test and execute the full workflow Sentiment analyzer prompt used in video: You are a sentiment analyzer agent. Analyze the following feedback and classify it as ‘positive’, ‘neutral’, or ‘negative’. For negative feedback, summarize the issue and suggest a short empathetic reply. For positive feedback, draft a brief appreciation message. For neutral feedback, draft a short acknowledgement. Return JSON with keys: {sentiment: positive|neutral|negative, summary: one-line, reply: two-line message}. Chapter in this video: 00:00 — Intro & what we’ll build 00:25 — Workflow overview (form → AI agent → merge → switch → Gmail) 01:56 — Create the feedback form (fields & settings) 03:10 — Submit test feedback and view form output 03:43 — Add AI agent & craft the sentiment prompt 05:13 — Connect OpenAI model (API key / free credits) 06:06 — Add Merge node — combine AI output + form data 07:36 — Add Switch node — rules for positive / neutral / negative 10:23 — Configure Gmail sends (templates for each sentiment) 14:51 — Finalize & run: execute workflow and live test 16:02 — Wrap up, tips, and next steps _______________________________________________________________ Start your journey from beginner to expert in one of the best Data Science institute in India. Also you can learn Data Analytics, Data Engineering, Business Analytics & Cloud Data Engineering from the IBM, IIT experts and Industry leaders. 𝐌𝐨𝐬𝐭 𝐏𝐨𝐩𝐮𝐥𝐚𝐫 𝐂𝐨𝐮𝐫𝐬𝐞: 🚀 Nasscom Certified Data Science with Machine Learning, AI and DL Course https://ivyproschool.com/courses/data-science-and-ml-course 🚀 Data Science with Visualization Certification Course https://ivyproschool.com/courses/data-visualization-course 🚀 Cloud Data Engineering Certification Course https://ivyproschool.com/courses/data-engineering-course 🚀 Business Analytics Certification Course https://ivyproschool.com/courses/data-visualization-course 🚀 Data Analytics Certification Course https://ivyproschool.com/courses/data-analytics-course Find more at ivyproschool.com _______________________________________________________________ ⏳ Why should you learn Data Science today? https://www.youtube.com/watch?v=pQFwcd-r-Pg 🔖 Are you a Fresher? Watch this video to know the Data Science Journey for Freshers: https://www.youtube.com/watch?v=Xx4CcAEUV2c Interested in a Data Science or Data Engineering career? Check out the Ivy Pro School’s top ranked Nasscom, Govt. of India and IBM accredited Data Science and Data Engineering courses: https://ivyproschool.com/ ✅Learn from Ivy Pro School’s Data Science and Data Engineering Students’ Success Stories : https://www.youtube.com/playlist?list=PL6ajVQ6jyjvCXW4Xfcn_XYXsSzfggBsW1 Liked the video? Check out below more playlists on Data Science and Data Engineering learning tutorial, alumni interview experiences, live data science case studies, etc: For more updates follow us on: 👉🏻 Instagram: https://www.instagram.com/ivyproschool/ 👉🏻 LinkedIn: https://www.linkedin.com/school/ivy-professional-school/ 👉🏻 Facebook: https://www.facebook.com/ivyproschool/ 👉🏻 Twitter: https://twitter.com/ivyproschool/ 👉🏻 Telegram Community: https://t.me/learndswithexperts Want to pursue a Data Science Course with Ivy Professional School? Visit us at https://ivyproschool.com You can call us at +91 7676882222 or mail to info@ivyproschool.com.