Agriculture

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.

The AI Crop Advisory for Farmers workflow on the n8n canvas, with its 27 nodes and connections
The workflow on the n8n canvas. Click to open it full size.

At a glance

Category
Agriculture
Nodes
27
Apps
OpenAI, Google Sheets
Price
Free
Download JSON
On this page

How it works

  1. A farmer submits crop, soil and location details through a form.
  2. Live weather is fetched and simple soil and market rules are applied.
  3. An AI advisor writes a short, actionable recommendation.
  4. The record is saved to Google Sheets and the advice is sent on WhatsApp.
  5. 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.

TableColumns
Smart Farming Data → Sheet1Google SheetsFarmer NamePhone NumberCropLocationTemperatureHumidityAdviceMarket PriceTrendSelling AdviceDate

Setup

  1. 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.
  2. Connect the credentials listed above.
  3. Point the Sheets, Airtable, Drive, and Slack nodes at your own files and channels.
  4. Replace placeholder emails, phone numbers, and form links with your own.
  5. 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

NodeType
OpenAI Chat ModellmChatOpenAi
Simple MemorymemoryBufferWindow
Farmer Input Form TriggerformTrigger
Format Farmer Dataset
Fetch Weather DatahttpRequest
Soil Analysis Logiccode
AI Farming Advisoragent
AI Response FormatteroutputParserStructured
Market Decision Logiccode
Generate Farmer Messagecode
Store Farmer DatagoogleSheets
Send WhatsApp Alerttwilio
Loop Over ItemssplitInBatches
OpenAI Chat Model1lmChatOpenAi
Simple Memory1memoryBufferWindow
Daily SchedulerscheduleTrigger
Get Farmers DatagoogleSheets
Fetch WeatherhttpRequest
Soil Analysiscode
Farming Advisoragent
Market Decisioncode
WhatsApp Alerttwilio
Generate Messagecode
Response FormatteroutputParserStructured

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.

Keep exploring
  • n8n canvas of the Dairy Milk Collection & Quality Pricing workflow

    Agriculture17 nodes

    Dairy Milk Collection & Quality Pricing

    Records daily milk collection, calculates the rate from fat and SNF quality, blocks duplicate entries and sends a WhatsApp receipt. A daily summary report goes out automatically.

  • n8n canvas of the AI Email Classifier & Slack Router workflow

    AI Automation11 nodes

    AI Email Classifier & Slack Router

    Reads incoming emails, has AI classify each one (support, sales, billing, HR and so on) and notifies the right team on Slack straight away.

  • n8n canvas of the AI Shopify Product Builder with Review workflow

    E-commerce37 nodes

    AI Shopify Product Builder with Review

    Creates complete Shopify products from a photo or a brief. AI writes the copy, generates images and saves everything for review, and approved products are published automatically.