How to build an SMS agent in n8n in 9 minutes (Quickest + easiest method)

28 Oct 2025 · 9 min
9:14

In this 9‑minute tutorial, Rory Rogers demonstrates how to create a fully functional SMS‑based AI assistant using the n8n automation platform and Twilio. He begins by introducing his agency, Autonomously AI, and explains the goal: enabling users to text an AI agent just like any regular contact. The walkthrough covers (1) adding a Twilio trigger node in n8n and entering Twilio credentials (Account SID and Auth Token); (2) purchasing a Twilio phone number, selecting SMS capability, and completing the required regulatory bundle (personal details, ID verification) for UK numbers; (3) configuring the number’s inbound webhook URL with n8n’s test and production endpoints; (4) building the workflow: a Twilio trigger feeds incoming SMS into an OpenAI GPT‑4.1 mini AI agent node, with a simple memory node storing the message ID; (5) routing the AI’s response to a Twilio “Send SMS” node, mapping the ‘from’ number (the purchased Twilio number) and the ‘to’ number (the sender’s phone). He tests the flow using the test webhook, shows the AI replying on his phone, then switches the workflow to active and swaps the test URL for the production URL. Finally, he notes practical considerations: Twilio trial accounts prepend a disclaimer to outgoing messages, the low cost of buying a UK number (≈£0.80/month) and the £10 free usage credit, and the need to top‑up the account (minimum $20) to remove trial branding. The video ends with a live demo where the AI tells a joke, confirming the end‑to‑end setup.

Chapters

More from Rory

15:16
youtube.com

This New INSANE Cold Email Method books 50+ calls per month for my AI agency

3mo ago
youtube.com

These 6 Claude Code Skills save me $2,000/m

4mo ago
youtube.com

Claude Code can now create 100s of winning meta ads (in 9 mins)

4mo ago
youtube.com

Dynamic Workflows are crazy. This is how to actually use them (beginner's guide)

4mo ago
youtube.com

Claude Code + Higgsfield = 24/7 content machine

4mo ago
youtube.com

I put Claude Code in Telegram, and it runs my business 24/7 (setup guide)

5mo ago
youtube.com

How I turned Reddit into a 24/7 lead machine with Claude Code

5mo ago
youtube.com

I used Claude Code to replace my entire sales funnel (free template)

5mo ago
youtube.com

How I Automate 80% of my Social Media Content with Claude Code

5mo ago
youtube.com

How I Automate 80% of my Sales Admin with Claude Code

6mo ago
youtube.com

How to scrape ANYTHING using Claude Code

6mo ago
See all content