Templates / Track municipal SMS field reports with OpenAI and Data Tables

Track municipal SMS field reports with OpenAI and Data Tables

Ready for 3.0

by Alassane ✓ · 4 views · created 2026-10-12 · Document Extraction, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 77 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects OpenAI Chat Model.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).

  1. Verify Gateway (If): checks a condition and branches into true / false
  2. Validate and Format SMS (Edit Fields (Set)): sets 1 field: sms_payload
  3. Normalize Envelope (Edit Fields (Set)): sets 12 fields: phone_from, phone_to, text…
  4. Split SMS into Segments (Code): runs custom JavaScript code
  5. Validate Envelope (If): checks a condition and branches into true / false
  6. Check Existing Outbound (Data table): get
  7. Return SMS Preparation Error (Code): runs custom JavaScript code
  8. Find Existing Message (Data table): get
  9. Restore SMS Segment Context (Code): runs custom JavaScript code
  10. Return SMS Dedup Lookup Error (Code): runs custom JavaScript code

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

Services it uses

OpenAI Chat Model

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (13)

From the author

Quick overview Designed for municipal teams, this demonstration records field updates and incidents from SMS-style messages and lets agents check their recent activity. Inspired by rural African administrations, it can be adapted elsewhere. n8n Data Tables…

Excerpt from Alassane '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.