Sync hierarchical speaker and transcript data on schedule

Recipe ToolsMarketingData ParserUtilitiesDeveloper ToolDatabase

What it does

When a scheduled trigger fires every 5 minutes, this automation parses JSON documents and flattens speaker and transcript data. It joins the flattened records on speaker ID so hierarchical data stays synchronized across systems.

Who it's for

Data and analytics teams who need to keep hierarchical speaker and transcript records synchronized without manual updates.

How teams use this

Keep speaker and transcript records in sync

Run this automation every 5 minutes to flatten hierarchical JSON data and join speaker records to transcripts on speaker ID. The joined dataset is always current for reporting and downstream systems.

Feed joined data to a data warehouse

Extend this automation to load the joined speaker and transcript records into a data warehouse after the join completes. Add a warehouse connection step at the end to persist the synchronized data.

Sync only recent transcripts

Retarget this automation to filter the transcript JSON for only records created in the last 5 minutes before flattening and joining. The schedule and join logic stay the same for incremental synchronization.

Include speaker metadata in joined records

Extend this automation to check for and include speaker metadata fields like department or region in the flattened speaker list before joining. The join condition on speaker ID remains unchanged.

How it works

  1. Trigger every 5 minutes. This automation runs on a schedule every 5 minutes to keep the speaker and transcript data current and synchronized.
  2. Parse speaker and transcript JSON. Json Parser extracts speaker and transcript data from JSON documents so the nested records can be flattened and processed separately.
  3. Flatten speaker and transcript data. Execute Ruby code to extract speaker data and transcript data as flat lists, removing the hierarchy so each record stands alone for joining.
  4. Join speaker and transcript records. Workato Smart List queries the flattened lists in the collection and joins them on speaker ID so each transcript is matched to its speaker.