Predictika · Fertilizer cargo orders

An AI sales agent's fertilizer cargo order, checked before it goes out

An AI sales agent prepares an order for a cargo of phosphate fertilizer or ammonia: the product, bulk or bags, FOB or CFR with a destination region, the payment terms, the tonnes and the total it states in US dollars. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the order rules and returns a verdict, every reason and the totals it computed.

Scope: Ma'aden phosphate fertilizer and ammonia cargo orders: DAP, MAP, NP/NPK and ammonia, bulk or bagged, FOB or CFR by destination region, payment terms, cargo size and the stated total. See everything this validator covers

This validator models cargo orders of this kind, not just the scenarios shown below.

  • Product and packing — DAP, MAP, NP/NPK complex and ammonia, shipped in bulk or in bags, and the fact that ammonia is shipped only in bulk.
  • Terms and destination — FOB or CFR, the destination region a CFR price needs, and sight or credit payment.
  • Cargo size, price and review — the smallest and largest cargo for each product and packing, a very large cargo that needs a person to confirm allocation, credit that needs approval, and the stated total compared with the computed one.

Any fertilizer or ammonia cargo order that touches these rules is in scope — not only the scenarios pictured here. The product names, loading at Ras Al-Khair and sight payment follow public Ma'aden pages and trade-press reports; the DAP price level is taken from trade-press reports, and the cargo minimums, the bag premium, freight by region, the other product prices and the approval thresholds are modeled and not published by Ma'aden, so the prices on this page are illustrative. Not covered: other Ma'aden products and shipping arrangements.

The AI sales agentBuilds the cargo order from the conversation and says it is ready.
Predictika validatorChecks every rule at once and returns the verdict, each finding, and the computed figures.

6 scenarios in 3 groups · each group runs from the agent’s first attempt to the outcome · click one to switch

What the agent proposes

The AI sales agent says

Illustrative agent statement. The validator receives the structured request below.

Proposing agent: AI sales agent (scripted)

Before sending, the agent must call Recorded run

Predictika validator


      
Waiting for the call.

Where rules-based CPQ gets it wrong

Click to expand

Our assessment of what a typical rules-based CPQ (product rules, price rules and validation rules, as in Salesforce CPQ) does with the same cases. It is a judgment about effort and reliability, not a claim that nothing can be built.

What the validator caughtTypical rules-based CPQPredictika
A packing that one product cannot takeOnly with care
Ammonia is a bulk liquid cargo, so bags have to be ruled out for that product alone.
The product and packing are fields of one order and are checked together.
A cargo size range that depends on the product and the packingOnly with workarounds
The smallest cargo differs by product and by bulk or bags, and bagged cargo has a largest size, so each range needs its own rule.
The product, packing and tonnes are in one request and the range is evaluated on every call.
A destination region that only some terms needOnly with care
A CFR price needs a region and a FOB price does not, so the field is required only on one term.
The term and region are checked together on every call.
A total built from base price, bag premium and freightOnly with workarounds
The unit price depends on the product, packing and region, and the total on the tonnes, so it must be computed before it can be compared with the total stated.
The total is computed on every call and compared with the total stated in the order.
Every problem returned in one answerOnly with workarounds
Rules tend to fire as a step is saved or completed, so a person often fixes one error and meets the next.
All findings come back together, whatever order the choices arrived in.

What this validator catches: findings from its test cases

Click to expand

Every rule is checked on every call, in any order the choices arrive; one problem never hides another. Blocking findings stop the order; approval findings need a person to sign off; everything else is computed.

1The order is for 2,999 tonnes; the minimum for this product and packing is 3,000 tonnes.
2The order is for 4,999 tonnes; the minimum for this product and packing is 5,000 tonnes.
3The order is for 4,000 tonnes; the minimum for this product and packing is 5,000 tonnes.
4The order is for 499 tonnes; the minimum for this product and packing is 500 tonnes.
5The order is for 20,001 tonnes in bags; a bagged cargo is limited to 20,000 tonnes.
6Ammonia is shipped as a bulk liquid cargo; bagged ammonia cannot be quoted.
7A CFR price needs a destination region (East Africa, India, South-East Asia or Europe); none was chosen.
8The order is for 0 tonnes; at least 1 tonne is needed.
9Payment on credit terms is requested; sales are quoted on a sight basis, so a person should approve credit.
10The quote states a total of 1 USD; 35,000 tonnes at 715 USD a tonne come to 25,025,000 USD.
1150,000 tonnes is a very large cargo that may need more than one vessel; a person should confirm allocation.
12The quote states a total of 25,025,001 USD; 35,000 tonnes at 715 USD a tonne come to 25,025,000 USD.
13The quote states a total of 24,325,000 USD; 35,000 tonnes at 715 USD a tonne come to 25,025,000 USD.
14The order is for 100 tonnes; the minimum for this product and packing is 500 tonnes.
15The quote states a total of 5 USD; 100 tonnes at 448 USD a tonne come to 44,800 USD.

Scenarios and results

Click to expand

The recorded result of the validator for each scenario on this page: the request the AI agent sent, the verdict, and every finding, in the order they appear above.

1. Ammonia packing and destination: A bagged ammonia order with no destination region, a small cargo and a total that does not match

The agent's request. Please quote 100 tonnes of ammonia in bags, CFR with no destination region, on sight payment. The order states a total of 5 US dollars. It is ready to send.

Verdict: Blocked.

  • CFR without a destination region. A CFR price needs a destination region (East Africa, India, South-East Asia or Europe); none was chosen.
  • Ammonia in bags. Ammonia is shipped as a bulk liquid cargo; bagged ammonia cannot be quoted.
  • Cargo below the minimum. The order is for 100 tonnes; the minimum for this product and packing is 500 tonnes.
  • Stated total does not match. The quote states a total of 5 USD; 100 tonnes at 448 USD a tonne come to 44,800 USD.

2. Ammonia packing and destination: The agent resubmits as a bulk ammonia cargo to Europe

The agent's request. Please quote 6,000 tonnes of ammonia in bulk, CFR Europe, on sight payment. The order states a total of 2,808,000 US dollars. It is ready to send.

Verdict: Allowed.

  • Order summary. 6,000 tonnes of ammonia at 468 USD a tonne (430 USD base, 0 USD bag premium, 38 USD freight), 2,808,000 USD in total, illustrative prices.

3. Bagged DAP size and credit: A bagged DAP order above the largest bagged cargo, on credit terms

The agent's request. Please quote 25,000 tonnes of DAP in bags, CFR India, on credit payment. The order states a total of 18,325,000 US dollars. It is ready to send.

Verdict: Blocked.

  • Bagged cargo above the maximum. The order is for 25,000 tonnes in bags; a bagged cargo is limited to 20,000 tonnes.
  • Credit payment terms. Payment on credit terms is requested; sales are quoted on a sight basis, so a person should approve credit.

4. Bagged DAP size and credit: The agent resubmits after fixing the errors

The agent's request. Please quote 15,000 tonnes of DAP in bags, CFR India, on sight payment. The order states a total of 10,995,000 US dollars. It is ready to send.

Verdict: Allowed.

  • Order summary. 15,000 tonnes of DAP (diammonium phosphate) at 733 USD a tonne (695 USD base, 18 USD bag premium, 20 USD freight), 10,995,000 USD in total, illustrative prices.

5. MAP cargo size and total: A MAP cargo below the minimum, on credit terms, with a total that leaves out the freight

The agent's request. Please quote 4,000 tonnes of MAP in bulk, CFR India, on credit payment. The order states a total of 2,960,000 US dollars. It is ready to send.

Verdict: Blocked.

  • Cargo below the minimum. The order is for 4,000 tonnes; the minimum for this product and packing is 5,000 tonnes.
  • Stated total does not match. The quote states a total of 2,960,000 USD; 4,000 tonnes at 760 USD a tonne come to 3,040,000 USD.
  • Credit payment terms. Payment on credit terms is requested; sales are quoted on a sight basis, so a person should approve credit.

6. MAP cargo size and total: The agent resubmits a larger cargo on sight terms

The agent's request. Please quote 8,000 tonnes of MAP in bulk, CFR India, on sight payment. The order states a total of 6,080,000 US dollars. It is ready to send.

Verdict: Allowed.

  • Order summary. 8,000 tonnes of MAP (monoammonium phosphate) at 760 USD a tonne (740 USD base, 0 USD bag premium, 20 USD freight), 6,080,000 USD in total, illustrative prices.

Narration transcript

Click to expand

The text of the narrated walkthrough, step by step.

  1. Welcome to a demo of Predictika's Validator. An AI sales agent prepares an order for a cargo of phosphate fertilizer or ammonia: the product, bulk or bags, FOB or CFR with a destination region, and more. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the order rules and returns a verdict, every reason and the totals it computed.
  2. I will start with the first request by the agent.
  3. The agent says. Please quote 100 tonnes of ammonia in bags, CFR with no destination region, on sight payment. The order states a total of 5 US dollars. The rest of the request is on screen.
  4. Before it goes out, the agent calls the validator.
  5. Blocked, with four findings, all in one answer. A CFR price needs a destination region (East Africa, India, South-East Asia or Europe); none was chosen. Ammonia is shipped as a bulk liquid cargo; bagged ammonia cannot be quoted. The order is for 100 tonnes; the minimum for this product and packing is 500 tonnes. The other one is on screen.
  6. The validator returned four blocking findings in one answer. A check that reads one field at a time would pass most of this; it shows only when the choices in the order are checked against each other and against the stated total.
  7. What this shows: for a destination region that only some terms need, a rules-based CPQ is error-prone for this.
  8. Now the agent resubmits.
  9. The corrected request. It changes the packing to bulk, the destination to europe, the quantity to 6,000 and the stated total to 2,808,000.
  10. It calls the validator again.
  11. This time the validator clears it.
  12. All four earlier findings are cleared.
  13. Four problems caught in one call, fixed in one pass, and a clean order. That is the value of Predictika's validator: catching mistakes before they reach the customer. Now you can try the other scenarios yourself.