💬 Build an AI-powered SMS support system with Twilio, GPT-4 and PostgreSQL

⚡ 186 views · 💬 Support Chatbots

Description

How it works

  1. User Signup & Verification:
    The workflow starts when a user signs up. It generates a verification code and sends it via SMS using Twilio.

  2. Code Validation:
    The user replies with the code. The workflow checks the code and, if valid, creates a session for the user.

  3. Conversational AI:
    Incoming SMS messages are analyzed by Chat GPT AI for sentiment, intent, and urgency. The workflow stores the conversation context and generates smart, AI-powered replies.

  4. Escalation Handling:
    If the AI detects urgency or frustration, the workflow escalates the session—alerting your team and sending a supportive SMS to the user.


Set up steps

🔗 Nodes Used

Cron, HTTP Request, Postgres, Webhook, AWS S3, Gmail

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup