Log document type from scheduled Json Parser run
Recipe ToolsMarketingData ParserUtilities
What it does
Every 5 minutes, this automation parses Json to find the document type field. It logs the result to the job report so someone can track what document types are being processed.
Who it's for
Data and analytics teams who monitor document type values in scheduled Json parsing jobs.
How teams use this
Monitor document types in batch jobs
Track which document types appear in Json files processed every 5 minutes and log them to the job report. The team reviews the report to spot patterns or issues without manual inspection.
Alert when a document type is missing
Extend this automation to check if the document type field is present. If it is not found, log a warning to the job report so the team knows the Json structure changed.
Route documents by type to different teams
Use the parsed document type value to filter and send each Json record to the right team channel or system. The automation extracts the type once and reuses it for routing decisions.
How it works
- Run every 5 minutes. The automation starts on a schedule, checking for new data to process every 5 minutes.
- Parse the Json document. Json Parser extracts all fields from the incoming data and prepares the structured content for inspection and filtering.
- Find the document type field. Search the parsed Json for the field where name equals Document Type. If found, store that value in a variable for logging.
- Log the document type result. Write the document type value to the job report so the team can see what was found in each scheduled run.