Skip to content
Back to Case Studies

Case study · AgVantage Commodities

Automating grain bid ingestion into Salesforce with Claude agents

TwinStack built two Claude agents that load daily grain bid prices from GrainCorp and Bunge into AgVantage Commodities' Salesforce org, replacing manual entry. Both agents run in production and have processed thousands of bids.

Claude agents in production
2
Grain buyers covered
2
Buyer regions fetched
9
Crops handled
6
Reusable Claude skills
4

At a glance

An Australian grain trader needed daily buyer prices in Salesforce without anyone retyping PDF tables. The agents were built mainly in August 2026, then moved from sandbox to production.

Wheat Barley Canola Lentil Chickpea Sorghum
Client
AgVantage Commodities, Australia
Industry
Agricultural commodity trading
Timeline
Built mainly in August 2026, then moved from sandbox to production
Approach
Claude agents with reusable skills
Integrations
Salesforce (custom Apex REST service), buyer websites, Microsoft 365 and Gmail
Crops
Wheat, barley, canola, lentil, chickpea and sorghum

The challenge

Grain buyers publish their daily prices as PDF bid sheets, not as data feeds. Getting those prices into Salesforce meant reading every sheet and typing it in.

Layouts that never sit still

Each sheet has its own shape: transposed SA and WA wheat sheets, crop years stacked on top of each other, and Fixed and Multi Grade tables printed side by side.

Names that don't match

Site, grade and commodity names on the sheets don't line up with the records in Salesforce.

High volume, every day

Prices arrive across many regions and commodities, so manual entry grows with every sheet.

Errors are costly

A price filed under the wrong site, grade or crop year distorts what traders see. Accuracy matters more than speed.

How it works

Each agent runs the same four steps. Every step is a reusable Claude skill, so the pipeline can take on more buyers without starting again.

Two agents, one pattern

One agent handles GrainCorp, the other Bunge. Both share the fetch, convert, upload and report shape.

  1. Fetch

    The skill logs in to the buyer's website and downloads the bid-sheet PDFs for each region.

    GrainCorp

    QLD NNSW SNSW VIC SA WA

    Bunge

    NSW Northern NSW Southern QLD Southern
  2. Convert

    PDF tables are extracted into Salesforce-ready CSV and normalised so names match the org. The Bunge skill applies nine normalisation rules, including a 16-entry site-name lookup.

  3. Upload

    The CSV is posted to a custom Apex REST service in Salesforce, which returns a result for every row: created, updated, skipped or failed.

  4. Report

    AgVantage receives a colour-coded HTML email report of every run, so the team can see exactly what happened to each row.

Where Claude applies judgement

Reading a bid sheet isn't only extraction. The agents make the calls a careful person would make, and stop when a call isn't clear.

  • Checks the rendered pages that each price sits under the right site, grade and crop year.

  • Uses the Multi Grade price only when no fixed bid exists.

  • Keeps Fixed Grade and Delivered rows apart, marking delivered rows with a -DEL suffix.

  • Explains upload failures in plain language, so the fix is obvious.

It never guesses

Ambiguous rows, such as POA prices or unclear crop years, are not loaded. Claude flags each one with the options it sees and writes it to a review folder for a person to decide.

The results

Both agents run in production and have processed thousands of bids. Here's what changed for AgVantage.

No more retyping

Trader-facing bid data no longer depends on someone retyping PDF tables.

A clear record of every run

Every run ends with an email showing which rows were created, updated, skipped or failed.

A cleaner live org

Normalisation rules and the review path keep ambiguous rows out of the live Salesforce org.

Ready for more buyers

The skills are reusable, so adding another buyer builds on what already works.

Want Claude working inside your business?

TwinStack builds Claude agents, skills and integrations that fit how your team already works, with people kept in the loop where judgement matters.

Back to Case Studies