Route appeal documents via API to Azure

API toolWorkatoDeveloper ToolAPI IntegrationData ParserMarketingUtilities

What it does

When someone posts an appeal document to this API endpoint, this automation validates the document control number. It authenticates with Azure, parses the response, and routes the document downstream or stops with an error.

Who it's for

Operations teams who receive appeal documents from external systems and need to validate and route them without manual handoff.

How teams use this

Validate and route appeal documents

Receive appeal documents from an external system via API, validate the control number, authenticate with Azure, and route the parsed document downstream. The team avoids manual data entry and document loss.

Reject documents missing required fields

Stop processing and alert the team when an appeal document arrives without a control number. This prevents incomplete records from entering the downstream system and reduces rework.

Enrich documents with metadata before routing

Add a step to extract and enrich the parsed response with metadata such as submission timestamp or source system before sending downstream. Only documents with valid metadata proceed to the next system.

Route to different systems by document type

Check the document type in the parsed response and route appeals to different downstream systems based on category. This requires a conditional routing step after parsing to filter documents correctly.

How it works

  1. Receive appeal document via API. Someone posts an appeal document to the API endpoint with the document control number, document details, and other request parameters included.
  2. Validate document control number. Check that the document control number is present in the request. Stop the job with an error if it is missing so invalid documents do not proceed downstream.
  3. Authenticate and send to Azure. Call Azure to obtain an authentication token, then send the appeal document via Rest. If an error occurs, stop the job without retry so the error can be reviewed.
  4. Parse response from Azure. Parse the response returned from Azure using Json Parser to extract document data and metadata. If parsing fails, stop the job without retry.
  5. Route document to next system. Send the parsed appeal document to the downstream system for further processing, storage, or distribution based on the extracted data.