Templates / Answer currency rate questions from Gmail and chat with Gemini and Frankfurter API

Answer currency rate questions from Gmail and chat with Gemini and Frankfurter API

Ready for 3.0

by María Laura Vitelli · 20 views · created 2026-10-01 · Support Chatbot, 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 24 nodes and runs on Gmail events (plus 1 other trigger). Along the way it connects Gmail, Google Gemini Chat Model and HTTP Request. It also calls api.frankfurter.dev over HTTP.

How it runs

Trigger: On Gmail events (plus 1 other trigger).

  1. Normalize email message (Edit Fields (Set)): sets 5 fields: sessionId, chatInput, source…
  2. Normalize chat message (Edit Fields (Set)): sets 5 fields: sessionId, chatInput, source…
  3. Loop over messages (Loop Over Items (Split in Batches)): loops over the items in batches
  4. Set configurable variables (Edit Fields (Set)): sets 3 fields: cache_ttl_hours, email_subject, fallback_message
  5. Build cache key (Code): runs custom JavaScript code
  6. Lookup cached answer (Data table): get
  7. Cached answer still fresh? (If): checks a condition and branches into true / false
  8. Use cached answer (Edit Fields (Set)): sets 6 fields: response, cache_hit, source…
  9. Ask currency AI agent (AI Agent): runs an AI agent, with model: Gemini Chat Model; 1 tool (Get Exchange Rate); memory: Conversation memory
  10. Clean agent answer (Code): runs custom JavaScript code

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

Services it uses

GmailGoogle Gemini Chat ModelHTTP Request

HTTP calls to: api.frankfurter.dev

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.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Receive email from Gmail).

Nodes used (14)

From the author

Quick Overview This workflow answers exchange-rate questions coming from Gmail or an n8n chat trigger using a Google Gemini AI agent that calls the Frankfurter exchange-rate API, caches successful rate responses in n8n Data Tables to avoid repeated model…

Excerpt from María Laura Vitelli'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.