Bulk Import BusinessRules

Overview

Create an async job to extract business rules from raw text using LLM. The system analyzes content, extracts rules, classifies by category, and deduplicates against existing rules.

Webhook Notification

When the job completes, a webhook notification will be sent to subscribers of the business_rules_bulk_import/completed event. The webhook payload includes the complete list of created business rules.

To receive notifications:

  1. Subscribe to the webhook event: POST /platform/v1/webhook/subscribe with {"event": "business_rules_bulk_import/completed", "target_url": "https://your-domain.com/webhook"}
  2. Your webhook will receive the job results including all created business rules

Webhook Payload Structure:

{
  "event": "business_rules_bulk_import/completed",
  "data": {
    "job_uid": "job-xxx",
    "business_uid": "biz-xxx",
    "status": "completed",
    "business_rules": [
      {
        "uid": "br-xxx",
        "content": "Rule content",
        "category_code": "policies_and_info",
        "status": "pending_approval",
        "created_at": "2026-03-01T10:30:00.000Z"
      }
    ],
    "created_rules": 15,
    "skipped_duplicates": 8
  }
}

Available for Staff tokens.

Language
Credentials
Bearer
JWT
Response
Click Try It! to start a request and see the response here!