Build an AI-powered SMS support system with Twilio, GPT-4 and PostgreSQL
Store Verification
postgres
Send Verification SMS (Twilio API)
api.twilio.com
Check Verification
postgres
Validate Code
Create Session
Mark Verified
postgres
Insert Session
postgres
Verify Success Response
noOp
Verify Failed Response
noOp
Incoming SMS Webhook (Twilio)
🤖 AI Sentiment Analysis
gpt-4
Process AI Analysis
🤖 AI Escalation Router
Mark Session Escalated
postgres
Send Escalation Email
gmail
🤖 AI Intent Router
🤖 AI Intake Enrichment
gpt-4
Merge Enriched Data
🤖 AI Response Generator
gpt-4
Send AI Response SMS
api.twilio.com
Prepare Closeout
Finalize Session
postgres
Upload to S3
awss3
🤖 AI Personalized Closeout
gpt-4
Send Closeout SMS
api.twilio.com
SMS Webhook Response
noOp
Follow-Up Cron (24h)
Find Inactive Sessions
postgres
🤖 AI Personalized Reminder
gpt-4
Send Reminder SMS
api.twilio.com
User Signup Webhook1
Generate Verification Code1
Signup Response1
noOp
Verify Code Webhook1
Extract Verification Data1
Extract SMS Data1
Find User Session1
postgres
Prepare Escalation Data1
Send Escalation SMS1
api.twilio.com
Save Enriched Intake1
postgres
Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.