AI Crop Advisory for Farmers
Gives farmers practical, AI-generated crop advice based on their soil, crop and live weather. Advice is delivered instantly on sign-up and refreshed daily over WhatsApp.

On this page
How it works
- A farmer submits crop, soil and location details through a form.
- Live weather is fetched and simple soil and market rules are applied.
- An AI advisor writes a short, actionable recommendation.
- The record is saved to Google Sheets and the advice is sent on WhatsApp.
- A daily schedule repeats the analysis for every registered farmer.
Use cases
- Farm cooperatives and growers' associations
- Agronomy advisory services
- Rural outreach programs
What you need
This workflow connects to these apps.
- OpenAI
- Google Sheets
- n8n
You'll need an n8n instance, on n8n Cloud or self-hosted, and these credentials. Our credentials guide shows how to create each one.
- Google Sheets account
- OpenAI account
- Twilio account
Data setup
Create these tables with these exact column names before the first run.
| Table | Columns |
|---|---|
| Smart Farming Data → Sheet1Google Sheets | Farmer NamePhone NumberCropLocationTemperatureHumidityAdviceMarket PriceTrendSelling AdviceDate |
Setup
- Download the JSON and import it into n8n with Import from File, or copy it and paste it onto an empty canvas. The import guide walks through both.
- Connect the credentials listed above.
- Point the Sheets, Airtable, Drive, and Slack nodes at your own files and channels.
- Replace placeholder emails, phone numbers, and form links with your own.
- Times use the America/New York timezone and dates use MM/DD/YYYY. Change them if you need to, then test and activate. The setup guide covers this step by step.
Nodes
| Node | Type |
|---|---|
| OpenAI Chat Model | lmChatOpenAi |
| Simple Memory | memoryBufferWindow |
| Farmer Input Form Trigger | formTrigger |
| Format Farmer Data | set |
| Fetch Weather Data | httpRequest |
| Soil Analysis Logic | code |
| AI Farming Advisor | agent |
| AI Response Formatter | outputParserStructured |
| Market Decision Logic | code |
| Generate Farmer Message | code |
| Store Farmer Data | googleSheets |
| Send WhatsApp Alert | twilio |
| Loop Over Items | splitInBatches |
| OpenAI Chat Model1 | lmChatOpenAi |
| Simple Memory1 | memoryBufferWindow |
| Daily Scheduler | scheduleTrigger |
| Get Farmers Data | googleSheets |
| Fetch Weather | httpRequest |
| Soil Analysis | code |
| Farming Advisor | agent |
| Market Decision | code |
| WhatsApp Alert | twilio |
| Generate Message | code |
| Response Formatter | outputParserStructured |
Frequently asked questions
Gives farmers practical, AI-generated crop advice based on their soil, crop and live weather. Advice is delivered instantly on sign-up and refreshed daily over WhatsApp. It's a 27-node n8n workflow.
An n8n instance, on n8n Cloud or self-hosted, and credentials for Google Sheets, OpenAI, and Twilio. It uses only nodes that ship with n8n, so there's nothing else to install.
It works with 1 table in Google Sheets. Create it with the column names listed under Data setup on this page before the first run.
Download the JSON, then in n8n create a new workflow, open the menu in the top right, and choose Import from File. You can also copy the JSON and paste it onto an empty canvas.
Yes. It's free to download, import, and change, with no sign-up. You only pay for the apps it connects to, where those aren't free on your plan.



