Templates / Draft AI-powered Help Scout replies with HubSpot and SMS customer 360 context

Draft AI-powered Help Scout replies with HubSpot and SMS customer 360 context

Needs changes

by Ahmed Salama ✓ · 44 views · created 2026-04-22 · Ticket Management, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: OpenAI (legacy). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 15 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes. It also calls api.hubapi.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Parse Event (Code): runs custom JavaScript code
  2. Extract Data (Code): runs custom JavaScript code
  3. Fetch HubSpot Context (HTTP Request): calls api.hubapi.com (POST)
  4. Fetch SMS History (HTTP Request): calls an HTTP API
  5. Merge: merges the data from its input branches
  6. Build Shared Context Layer (Code): runs custom JavaScript code
  7. AI Draft Generator (OpenAI): uses OpenAI
  8. AI QA & Sentiment Check (OpenAI): uses OpenAI
  9. Parse QA Output (Code): runs custom JavaScript code
  10. Sentiment Router (Switch): routes items into 2 branches

…plus 4 more steps. See the full node list below.

HTTP calls to: api.hubapi.com

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • OpenAI (legacy) in AI Draft Generator, AI QA & Sentiment Check: replace with OpenAI node (AI section).
Removed in 3.0Replace with
OpenAI (legacy)
AI Draft Generator, AI QA & Sentiment Check
OpenAI node (AI section)

Nodes used (8)

From the author

Description Categories Customer Support Automation, AI Agents, CRM Integration, SaaS Operations --- Build an AI-Driven Cross-Platform Support Context Engine with n8n This workflow creates an AI-powered middleware layer that unifies customer context across…

Excerpt from Ahmed Salama's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.