Skip to main content
Challenge

Build a Cross-Border Dangerous Goods Webhook Intake and Segregation Planner

Process chemical import declarations submitted through FormSG webhooks against Singapore port warehouse segregation guidelines. Formulate compliant warehouse yard staging slots and generate verifiable intake receipts.

Business OperationsHosted by Vera
Challenge brief

What you are building

The core problem, expected build, and operating context for this challenge.

Process chemical import declarations submitted through FormSG webhooks against Singapore port warehouse segregation guidelines. Formulate compliant warehouse yard staging slots and generate verifiable intake receipts.

Logistics hub safety compliance manager

Ingest encrypted or standard FormSG webhook submissions containing chemical cargo manifests.

Validate UN dangerous goods class declarations against warehouse physical compatibility limits.

Synthesize safe yard staging slot allocations ensuring mandatory physical buffer distances.

Wrap the approved staging plan into an OpenAttestation verifiable certificate of inspection.

Multi-column warehouse zoning table displaying pending intake webhooks, yard occupancy heatmaps, and approval controls.

Use mock FormSG submission JSON payloads representing chemical safety declarations for import via Singapore checkpoints. Starter examples below are synthetic. They are not downloaded records.

Singapore government FormSG Adopts the FormSG webhook payload architecture and field schema to ingest trade declarations submitted by SME freight forwarders.

agno, @opengovsg/formsg-sdk, @govtechsg/open-attestation. Agno provides lightweight agent workflows to coordinate payload extraction, regulatory checks, and staging plan generation. Local or hosted LLM with strong tabular comprehension and rule-based constraint matching.

Submit runnable source, pinned dependencies, setup commands, a working interface, example outputs, and a recorded end-to-end demo. Include tests and an action log.

Parses FormSG format webhook payloads containing chemical UN numbers and classes.

Flags incompatible Class 3 (flammable liquids) and Class 5.1 (oxidizers) stored in adjacent staging zones.

Generates an OpenAttestation document certifying safety segregation before container yard gate-in.

```json [ { "input": { "form_id": "formsg_chemical_intake_001", "submission_timestamp": "2025-04-12T10:00:00Z", "carrier_uen": "201509876C", "un_number": "UN1203", "hazard_class": "3", "container_count": 2, "target_zone": "YARD_ZONE_NORTH" }, "expected_output": { "status": "APPROVED_WITH_CONDITIONS", "assigned_slot": "NZ-BAY-04", "buffer_required_meters": 15, "incompatible_classes": [ "5.1", "2.3" ], "attestation_ready": true } }, { "input": { "form_id": "formsg_chemical_intake_002", "submission_timestamp": "2025-04-12T10:05:00Z", "carrier_uen": "201509876C", "un_number": "UNKNOWN", "hazard_class": "99", "container_count": 1, "target_zone": "YARD_ZONE_NORTH" }, "expected_output": { "status": "REJECTED_INVALID_HAZARD_CLASS", "assigned_slot": null, "buffer_required_meters": 0, "incompatible_classes": [], "attestation_ready": false } } ] ```

Simulates yard slot allocations without updating real-world physical terminal gate access barriers. Use mock external writes. Require human review before any real deployment.

Rules

Participation guide

Simulates yard slot allocations without updating real-world physical terminal gate access barriers. Use mock external writes and human review.

Delivery guide

How work is evaluated

Evaluation

Parses FormSG format webhook payloads containing chemical UN numbers and classes. Flags incompatible Class 3 (flammable liquids) and Class 5.1 (oxidizers) stored in adjacent staging zones. Generates an OpenAttestation document certifying safety segregation before container yard gate-in.

Submission format

Runnable source, pinned dependencies, setup commands, working interface, example outputs, recorded demo, tests, and action logs.

Datasets

Challenge datasets

Public datasets, plus the private datasets you have access to.

Evaluation rubric

How submissions are scored

These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.

Dimensions
4 scoring checks
Binary
1 pass or fail dimensions
Ordinal
3 scaled dimensions
Dimension 1

Complete workflow

Ingest encrypted or standard FormSG webhook submissions containing chemical cargo manifests. Validate UN dangerous goods class declarations against warehouse physical compatibility limits. Synthesize safe yard staging slot allocations ensuring mandatory physical buffer distances. Wrap the approved staging plan into an OpenAttestation verifiable certificate of inspection.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 2

Correctness and evidence

Parses FormSG format webhook payloads containing chemical UN numbers and classes. Flags incompatible Class 3 (flammable liquids) and Class 5.1 (oxidizers) stored in adjacent staging zones. Generates an OpenAttestation document certifying safety segregation before container yard gate-in.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 3

Review interface

Multi-column warehouse zoning table displaying pending intake webhooks, yard occupancy heatmaps, and approval controls.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 4

Safe execution

Simulates yard slot allocations without updating real-world physical terminal gate access barriers.

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Learning goals

What you should walk away with

  • Ingest encrypted or standard FormSG webhook submissions containing chemical cargo manifests.

  • Validate UN dangerous goods class declarations against warehouse physical compatibility limits.

  • Synthesize safe yard staging slot allocations ensuring mandatory physical buffer distances.

  • Wrap the approved staging plan into an OpenAttestation verifiable certificate of inspection.

Resources and assets

Reference links and supporting material

Dataset notes

Use mock FormSG submission JSON payloads representing chemical safety declarations for import via Singapore checkpoints. Supplied starter examples are synthetic, not source extracts.

Challenge setup

Configuration summary for this challenge.

Challenge input

Input details are not configured.

Agno

Framework for multimodal agents.

Evaluated output

No output checks are configured.

Evaluation checks
  • Ingest encrypted or standard FormSG webhook submissions containing chemical cargo manifests. Validate UN da...
  • Parses FormSG format webhook payloads containing chemical UN numbers and classes. Flags incompatible Class...
  • Multi-column warehouse zoning table displaying pending intake webhooks, yard occupancy heatmaps, and approv...
Configured evaluation evidence
  • 2 public reference cases
Configured runtime
  • 2 configured tools

Summary shows the first task, up to three tools, and up to three evidence items. Open the technical recipe to view all configured items.

View technical recipe

Configured tools

Action Space
  • Agno · Optional
Orchestration
  • Agno · Optional

Evaluation contract

  • Complete workflow · Weight 40
  • Correctness and evidence · Weight 30
  • Review interface · Weight 20
  • Safe execution · Weight 10

Reference cases

  • 2 public reference cases

Workflow tasks

No workflow tasks are configured.

Recipe freeze marker

No recipe freeze time is recorded.

Frequently Asked Questions about Build a Cross-Border Dangerous Goods Webhook Intake and Segregation Planner