Templates / AI-powered food order processing with Facebook Messenger, Google Sheets & Calendar

AI-powered food order processing with Facebook Messenger, Google Sheets & Calendar

Needs changes

by Hans Wilhelm Radam · 1,527 views · created 2025-09-07 · CRM, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 17 nodes and runs when an HTTP GET request hits its webhook URL. Along the way it connects OpenRouter Chat Model, Google Calendar and Google Sheets.

How it runs

Trigger: When an HTTP GET request hits its webhook URL.

  1. Validate Webhook Subscription (If): checks a condition and branches into true / false
  2. AI Agent: runs an AI agent, with model: OpenRouter Model; memory: Memory Buffer (Customer Session)
  3. Respond Challenge (Respond to Webhook): sends the response back to the webhook caller
  4. Respond 202 (Error fallback) (Respond to Webhook): sends the response back to the webhook caller
  5. Respond 200 OK (Respond to Webhook): sends the response back to the webhook caller
  6. Check for Menu Trigger (If): checks a condition and branches into true / false
  7. Send Message to FB (Image) (HTTP Request): calls an HTTP API (POST)
  8. Send Generic Text (HTTP) (HTTP Request): calls an HTTP API (POST)
  9. Validate Parsed Order (If): checks a condition and branches into true / false
  10. Parse Order Text (Code): runs custom JavaScript code

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

Services it uses

OpenRouter Chat ModelGoogle CalendarGoogle Sheets

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in AI Agent (Order Assistant) (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Agent (Order Assistant) (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (10)

From the author

📌 Title (SEO-Friendly) Automate Facebook Messenger orders to Google Sheets and Google Calendar --- Introduction This workflow automates Facebook Messenger order management by connecting your Facebook Page with Google Sheets and Google Calendar. It’s designed…

Excerpt from Hans Wilhelm Radam'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.