Answer and send SMS and MMS with CallNode and OpenAI GPT-4.1
Ready for 3.0What this workflow does
This AI workflow has 22 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects OpenAI and OpenAI Chat Model. It also calls api.callnode.io over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Settings (Edit Fields (Set)): sets 1 field: businessName
- API Settings (Edit Fields (Set)): sets 3 fields: apiKey, apiSecret, fromNumber
- Has a picture? (If): checks a condition and branches into true / false
- Started by a text? (If): checks a condition and branches into true / false
- Describe Picture (OpenAI): analyze (image)
- AI Assistant (AI Agent): runs an AI agent, with model: OpenAI Chat Model; memory: Conversation Memory
- Generate Picture (OpenAI): generate (image)
- Build Request (Edit Fields (Set)): sets 3 fields: timestamp, idempotencyKey, body
- Build CallNode Reply (Edit Fields (Set)): sets 2 fields: reply, imagePrompt
- Picture to Text (Extract from File): extracts data from a file (binary to propery)
…plus 8 more steps. See the full node list below.
Services it uses
HTTP calls to: api.callnode.io
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)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - OpenAI
@n8n/n8n-nodes-langchain.openAi - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Respond to Webhook
n8n-nodes-base.respondToWebhook - n8n Form Trigger
n8n-nodes-base.formTrigger - Extract from File
n8n-nodes-base.extractFromFile - Crypto
n8n-nodes-base.crypto - HTTP Request
n8n-nodes-base.httpRequest - n8n Form
n8n-nodes-base.form
From the author
Quick overview This workflow connects CallNode and OpenAI to automatically reply to incoming SMS/MMS with a short AI-generated message, optionally describing attached images and generating requested images, and it also provides an n8n form to send outbound…