{
  "schemaVersion": "agent-jodoo-starter-blueprint-v1",
  "scenarioSlug": "vendor-intake-review",
  "platform": "pipedream",
  "appName": "Vendor Onboarding Form",
  "formName": "Vendor Onboarding Form",
  "purpose": "Store Pipedream-generated vendor intake review fields in Jodoo for procurement follow-up, compliance review, and onboarding status tracking.",
  "fields": [
    {
      "label": "Vendor Legal Name",
      "type": "text",
      "required": true,
      "example": "Atlas Packaging Co."
    },
    {
      "label": "Vendor Category",
      "type": "single_select",
      "required": true,
      "example": "Raw Materials"
    },
    {
      "label": "Vendor Business Description",
      "type": "textarea",
      "required": false,
      "example": "Secondary packaging supplier for West Coast fulfillment."
    },
    {
      "label": "Primary Contact Name",
      "type": "text",
      "required": true,
      "example": "Nora Patel"
    },
    {
      "label": "Primary Contact Email",
      "type": "text",
      "required": true,
      "example": "nora.patel@atlaspackaging.example"
    },
    {
      "label": "Requester Name",
      "type": "text",
      "required": true,
      "example": "Operations Procurement"
    },
    {
      "label": "Requester Department",
      "type": "text",
      "required": true,
      "example": "Procurement"
    },
    {
      "label": "Compliance Reviewer",
      "type": "text",
      "required": false,
      "example": "Procurement Ops"
    },
    {
      "label": "Onboarding Status",
      "type": "single_select",
      "required": true,
      "example": "Compliance Review"
    },
    {
      "label": "Document Completeness",
      "type": "single_select",
      "required": false,
      "example": "Partial"
    },
    {
      "label": "Risk Level",
      "type": "single_select",
      "required": false,
      "example": "Medium"
    },
    {
      "label": "Approval Recommendation",
      "type": "single_select",
      "required": false,
      "example": "Approve with Conditions"
    },
    {
      "label": "Review Comments",
      "type": "textarea",
      "required": false,
      "example": "Needs W-9 and insurance certificate; missing documents: W-9, certificate of insurance, sustainability policy. Next action: Request missing documents and schedule sourcing review"
    }
  ],
  "views": [
    {
      "name": "Needs document follow-up",
      "filter": "Onboarding Status is Compliance Review or Document Completeness is Partial"
    },
    {
      "name": "Medium or high risk",
      "filter": "Risk Level is Medium or High"
    },
    {
      "name": "Owner queue",
      "groupBy": "Compliance Reviewer"
    },
    {
      "name": "Ready for sourcing review",
      "filter": "Approval Recommendation is Approve with Conditions or Approved"
    },
    {
      "name": "All vendor reviews",
      "filter": "All records"
    }
  ],
  "writebackMapping": {
    "vendor_name": "Vendor Legal Name",
    "vendor_category": "Vendor Category",
    "business_need": "Vendor Business Description",
    "contact_name": "Primary Contact Name",
    "contact_email": "Primary Contact Email",
    "requested_by": "Requester Name",
    "suggested_owner": "Compliance Reviewer",
    "review_status": "Onboarding Status",
    "missing_documents": "Document Completeness",
    "risk_level": "Risk Level",
    "recommendation": "Approval Recommendation",
    "next_best_action": "Review Comments",
    "compliance_status": "Review Comments"
  },
  "samplePayload": {
    "vendor_name": "Atlas Packaging Co.",
    "vendor_category": "Packaging supplier",
    "contact_name": "Nora Patel",
    "contact_email": "nora.patel@atlaspackaging.example",
    "business_need": "Secondary packaging supplier for West Coast fulfillment.",
    "requested_by": "Operations Procurement",
    "spend_estimate": "120000 annual",
    "risk_level": "Medium",
    "compliance_status": "Needs W-9 and insurance certificate",
    "missing_documents": "W-9, certificate of insurance, sustainability policy",
    "recommendation": "Proceed with conditional review",
    "suggested_owner": "Procurement Ops",
    "next_best_action": "Request missing documents and schedule sourcing review",
    "review_status": "Needs document follow-up",
    "source_platform": "pipedream",
    "agent_confidence": "0.84"
  }
}
