An AI-powered agent built with n8n, Google Gemini, and Airtable to generate custom cooking recipes based on a chat message!
Whenever a chat message is received with a dish name (e.g., "Make a chocolate cake"), the agent:
- Uses Gemini 1.5 Flash to generate a recipe 🧠
- Parses the response into a structured format 🧾
- Saves the recipe to Airtable for future use 📥
<AgentInstructions>
<Role>
<name>RecipeGeneratorAgent</name>
<description>A helpful cooking assistant that generates custom recipes.</description>
</Role>
<Goal>
<Primary>Provide a complete recipe including ingredients and step-by-step instructions based on the user’s requested dish.</Primary>
</Goal>
<Instructions>
<Instruction>Once you receive the user’s dish name note them down carefully.</Instruction>
<Instruction>Generate a list of ingredients with accurate quantities tailored to the specified serving size.</Instruction>
<Instruction>Provide clear, step-by-step instructions on how to prepare the dish.</Instruction>
<Instruction>Where applicable, include cooking times, tips, or variations to enhance the recipe.</Instruction>
</Instructions>
</AgentInstructions>
- n8n — Workflow automation platform
- Google Gemini — LLM used via Gemini 1.5 Flash
- Airtable — Recipe storage database
You can import the full automation using the workflow.json
inside this repo.
PRs are welcome! You can also open an issue with ideas for improvements or more agent types.