Templates / Sell clothing on Facebook Messenger with Gemini, Stripe, and an admin app

Sell clothing on Facebook Messenger with Gemini, Stripe, and an admin app

Ready for 3.0

by Tushar Rayamajhi ✓ · 21 views · created 2026-10-05 · Lead Nurturing, 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 306 nodes and runs when an HTTP GET request hits its webhook URL (plus 13 other triggers). Along the way it connects Google Gemini Chat Model, Postgres Chat Memory, Data table and Google Gemini and 2 more. It also calls graph.facebook.com, generativelanguage.googleapis.com and api.stripe.com over HTTP.

How it runs

Trigger: When an HTTP GET request hits its webhook URL (plus 13 other triggers).

  1. Load verify token (Data table): get
  2. Acknowledge Event (200 OK) (Respond to Webhook): sends the response back to the webhook caller
  3. Load connections (messages) (Data table): get
  4. Load connections (return page) (Data table): get
  5. Delete Old Message IDs (Data table): delete rows
  6. Delete Stale Cart Lines (Data table): delete rows
  7. Read Draft Orders (Data table): get
  8. Build error details (Edit Fields (Set)): sets 1 field: details
  9. Render app (Code): runs custom JavaScript code
  10. Render orders module (Code): runs custom JavaScript code

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

Services it uses

Google Gemini Chat ModelPostgres Chat MemoryData tableGoogle GeminiPostgresGoogle Drive

HTTP calls to: graph.facebook.com, generativelanguage.googleapis.com, api.stripe.com

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 (27)

From the author

Quick overview This workflow turns Facebook Messenger messages into a clothing sales flow powered by Google Gemini, with carts and orders stored in n8n Data Tables, payments handled via Stripe Checkout, customer memory stored in Postgres, and an embedded…

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