Predictika · Phosphate fertilizer cargo quotes

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

An AI sales agent prepares a quote for a cargo of phosphate fertilizer: a product, bulk or bagged, delivery terms and destination, payment terms, a formula and a cargo size in tonnes. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of OCP's phosphate fertilizer range and returns a verdict, every reason and the unit price and total it computed.

Scope: OCP phosphate fertilizer cargo quotes for TSP, DAP, MAP, NP 5-42 and NPS, bulk or bagged, FOB Jorf Lasfar or CFR to Brazil, India, Europe or West Africa, with standard or customized formula and sight or credit payment. See everything this validator covers

This validator models OCP phosphate fertilizer cargo quotes, not just the scenarios shown below.

  • Product and delivery — the five products, FOB or CFR delivery, the destination region that a CFR price needs, and NP 5-42 offered on a CFR basis to Europe only.
  • Cargo size — the minimum cargo for bulk and for bags, the maximum for a bagged cargo, and a confirmation for a very large cargo that may need more than one vessel.
  • Payment, formula and total — approval of credit payment and of a customized formula, and the total the quote states against the total computed from the unit price and the tonnes.

Any OCP phosphate fertilizer cargo quote that touches these rules is in scope — not only the scenarios pictured here. Not covered: vessel scheduling, other OCP products and destinations, and shipping documents. The product names come from public trade-press reports; the prices, freight, cargo limits and approval thresholds are modeled and illustrative (see the note at the foot of the page).

The AI sales agentBuilds the fertilizer cargo quote 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
Cargo limits that depend on the packingOnly with care
The minimum cargo is different for bulk and for bags, and bags have a maximum, so each limit needs a rule keyed to the packing.
The packing and the tonnes are in one request and checked together on every call.
A product offered to some destinations onlyOnly with care
NP 5-42 on a CFR basis is limited to Europe, so a rule has to look at the product, the delivery terms and the region at once.
The product, the delivery terms and the destination are fields of one request and are checked together on every call.
A unit price built from product, packing and freightOnly with care
The base price, the bag premium and the freight by region each need a price rule, and the rules must be kept in step.
The unit price and the total are computed from the same request on every call.
A stated total that must match the computed totalOnly with workarounds
The total is the tonnes times a unit price built from several parts, so a separate rule is needed to recompute it and compare it with the stated figure.
The stated total is a field of the request and is compared with the computed total on every call.
Every problem returned in one answerOnly with workarounds
Rules tend to fire as the quote is saved or a step is completed, so a rep 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 quote; approval findings need a person to sign off; everything else is computed.

1The order is for 4,999 tonnes; the minimum for this packing is 5,000 tonnes.
2The order is for 4,000 tonnes; the minimum for this packing is 5,000 tonnes.
3The order is for 499 tonnes; the minimum for this packing is 500 tonnes.
4The order is for 20,001 tonnes in bags; a bagged cargo is limited to 20,000 tonnes.
5NP 5-42 is offered on a CFR basis to European destinations only; choose Europe or sell it FOB.
6A CFR price needs a destination region (Brazil, India, Europe or West Africa); none was chosen.
7The order is for 0 tonnes; at least 1 tonne is needed.
8Payment on credit terms is requested; sales are quoted on a sight basis, so a person should approve credit.
9The quote states a total of 1 USD; 30,000 tonnes at 738 USD a tonne come to 22,140,000 USD.
1050,000 tonnes is a very large cargo that may need more than one vessel; a person should confirm allocation.
11The quote states a total of 22,140,001 USD; 30,000 tonnes at 738 USD a tonne come to 22,140,000 USD.
12The quote states a total of 21,000,000 USD; 30,000 tonnes at 738 USD a tonne come to 22,140,000 USD.
13A customised formula is requested; custom blends are agreed with the agronomy team before a price is confirmed.
14The order is for 100 tonnes; the minimum for this packing is 500 tonnes.
15The quote states a total of 5 USD; 100 tonnes at 572 USD a tonne come to 57,200 USD.
1660,000 tonnes is a very large cargo that may need more than one vessel; a person should confirm allocation.

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. Product, destination and bag limit: A 25,000-tonne bagged NP 5-42 cargo, CFR to India, with a total stated without the freight

The agent's request. Please quote 25,000 tonnes of NP 5-42 in bags, CFR to India, with sight payment, for a total of 13,500,000 USD. It is ready to send.

Verdict: Blocked.

  • NP 5-42 outside Europe. NP 5-42 is offered on a CFR basis to European destinations only; choose Europe or sell it FOB.
  • Bagged cargo above the maximum. The order is for 25,000 tonnes in bags; a bagged cargo is limited to 20,000 tonnes.
  • Stated total does not match. The quote states a total of 13,500,000 USD; 25,000 tonnes at 572 USD a tonne come to 14,300,000 USD.

2. Product, destination and bag limit: The agent resubmits after fixing the errors

The agent's request. Please quote 18,000 tonnes of NP 5-42 in bags, CFR to Europe, with sight payment, for a total of 10,116,000 USD. It is ready to send.

Verdict: Allowed.

  • Cargo summary. 18,000 tonnes of NP 5-42 at 562 USD a tonne (520 USD base, 20 USD bag premium, 22 USD freight), 10,116,000 USD in total, illustrative prices.

3. Cargo minimum, credit and formula: A 4,000-tonne bulk DAP cargo to Brazil on credit terms with a customized formula

The agent's request. Please quote 4,000 tonnes of DAP in bulk, CFR to Brazil, with credit payment and a customized formula, for a total of 2,952,000 USD. It is ready to send.

Verdict: Blocked.

  • Cargo below the minimum. The order is for 4,000 tonnes; the minimum for this packing is 5,000 tonnes.
  • Credit payment terms. Payment on credit terms is requested; sales are quoted on a sight basis, so a person should approve credit.
  • Customised formula. A customised formula is requested; custom blends are agreed with the agronomy team before a price is confirmed.

4. Cargo minimum, credit and formula: The agent resubmits after fixing the errors

The agent's request. Please quote 30,000 tonnes of DAP in bulk, CFR to Brazil, with sight payment, for a total of 22,140,000 USD. It is ready to send.

Verdict: Allowed.

  • Cargo summary. 30,000 tonnes of DAP (diammonium phosphate) at 738 USD a tonne (700 USD base, 0 USD bag premium, 38 USD freight), 22,140,000 USD in total, illustrative prices.

5. Destination and very large cargo: A 50,000-tonne bulk MAP cargo on credit terms, CFR with no destination region

The agent's request. Please quote 50,000 tonnes of MAP in bulk, CFR, with credit payment, for a total of 36,750,000 USD. It is ready to send.

Verdict: Blocked.

  • CFR without a destination region. A CFR price needs a destination region (Brazil, India, Europe or West Africa); none was chosen.
  • Credit payment terms. Payment on credit terms is requested; sales are quoted on a sight basis, so a person should approve credit.
  • Very large cargo. 50,000 tonnes is a very large cargo that may need more than one vessel; a person should confirm allocation.

6. Destination and very large cargo: The agent resubmits after fixing the errors

The agent's request. Please quote 40,000 tonnes of MAP in bulk, CFR to West Africa, with sight payment, for a total of 30,520,000 USD. It is ready to send.

Verdict: Allowed.

  • Cargo summary. 40,000 tonnes of MAP (monoammonium phosphate) at 763 USD a tonne (735 USD base, 0 USD bag premium, 28 USD freight), 30,520,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 a quote for a cargo of phosphate fertilizer: a product, bulk or bagged, delivery terms and destination, and more. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of OCP's phosphate fertilizer range and returns a verdict, every reason and the unit price and total it computed.
  2. I will start with the first request by the agent.
  3. The agent says. Please quote 25,000 tonnes of NP 5-42 in bags, CFR to India, with sight payment, for a total of 13,500,000 USD. It is ready to send.
  4. Before it goes out, the agent calls the validator.
  5. Blocked, with three findings, all in one answer. NP 5-42 is offered on a CFR basis to European destinations only; choose Europe or sell it FOB. The order is for 25,000 tonnes in bags; a bagged cargo is limited to 20,000 tonnes. The quote states a total of 13,500,000 USD; 25,000 tonnes at 572 USD a tonne come to 14,300,000 USD.
  6. The validator returned three 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 quote are checked against each other and against the stated total.
  7. What this shows: for a stated total that must match the computed total, a rules-based CPQ can do this only with workarounds.
  8. Now the agent resubmits.
  9. The corrected request. It changes the destination region to europe, the cargo to 18,000 tonnes and the total stated on the quote to $10,116,000.
  10. It calls the validator again.
  11. This time the validator clears it.
  12. All three earlier findings are cleared.
  13. Three problems caught in one call, fixed in one pass, and a clean $10,116,000 quote. That is the value of Predictika's validator: catching mistakes before they reach the customer. Now you can try the other scenarios yourself.