WhatsApp recipe suggestions from pantry items with Gemini AI & FatSecret API
Ready for 3.0Ready 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.
Nodes used (6)
- Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger - WhatsApp Business Cloud
n8n-nodes-base.whatsApp - Http Request Tool
n8n-nodes-base.httpRequestTool - AI Agent
@n8n/n8n-nodes-langchain.agent
What it does
AI Recipe Generator from Pantry Items using FatSecret API This workflow creates an intelligent WhatsApp cooking assistant that transforms pantry ingredients into personalized recipe suggestions using AI and the FatSecret Recipes API What Makes This Different: - AI-Powered Recipe Discovery - Uses Google Gemini AI to understand user intent and dietary preferences - Smart Ingredient Analysis - Automatically extracts ingredients, dietary restrictions, and cooking constraints - FatSecret API Integration - Leverages comprehensive recipe database with nutritional information - WhatsApp Native Experience - Seamless chat interface for recipe discovery - Contextual Memory - Remembers conversation context for better user experience - Intelligent Parameter Mapping - AI automatically maps user requests to API parameters Key Benefits of AI-Driven Architecture: - Natural Language Understanding - Users can describe what they have in plain English - Personalized Recommendations - Considers dietary restrictions, time constraints, and preferences - Eliminates Manual Search - No need to manually input specific ingredients or filters - Scalable Recipe Database - Access to thousands of recipes through FatSecret API - Conversational Interface - Natural chat flow instead of form-based inputs - Smart Context Management - Remembers previous requests for better follow-up suggestions --- Who's it for This template is designed for food delivery services, meal planning apps, nutritionists, cooking enthusiasts, and businesses looking to provide intelligent recipe recommendations. It's perfect for companies who want to engage customers through WhatsApp with personalized cooking assistance, helping users discover new recipes based on available ingredients and preferences. How it works / What it does This workflow creates an intelligent WhatsApp cooking assistant that transforms simple ingredient lists into personalized recipe suggestions. The system: 1. Receives WhatsApp messages through webhook triggers 2. Analyzes user input using Google Gemini AI to extract ingredients, dietary needs, and preferences 3. Maps user requests to FatSecret API parameters automatically 4. Searches recipe database based on extracted criteria (ingredients, calories, time, cuisine, etc.) 5. Processes API results to format recipe suggestions with images and nutritional info 6. Maintains conversation context using memory buffer for better user experience 7. Sends formatted responses back to users via WhatsApp Key Innovation: AI-Powered Parameter Extraction - Unlike traditional recipe apps that require users to fill out forms or select from predefined options, this system understands natural language requests and automatically maps them to the appropriate API parameters, making recipe discovery as simple as texting a friend. How to set up 1. Configure WhatsApp Business API - Set up WhatsApp Business API credentials - Configure webhook endpoints for message reception - Set up phone number ID and recipient handling - Ensure proper message sending permissions 2. Configure Google Gemini AI - Set up Google Gemini (PaLM) API credentials - Ensure proper API access and quota limits - Configure the AI model for recipe-related conversations - Test the AI's understanding of cooking terminology 3. Configure FatSecret API - Set up FatSecret OAuth2 API credentials - Ensure access to the Recipes Search v3 endpoint - Configure proper authentication and rate limiting - Test API connectivity and response handling 4. Set up Memory Management - Configure the memory buffer for conversation context - Set appropriate session key mapping for user identification - Adjust context window length based on expected conversation depth - Test memory persistence across multiple messages 5. Test the Integration - Send test messages through WhatsApp to verify end-to-end functionality - Test various ingredient combinations and dietary restrictions - Verify recipe suggestions are relevant and properly formatted - Check t