Route webhook data to lookup tables
Developer ToolAPI IntegrationMarketingRecipe Tools
What it does
When Pentaho sends data via HTTP webhook, this automation checks which lookup table the payload names. It adds the entries to that table in real time based on the table name in the webhook.
Who it's for
Data and analytics teams who need to populate lookup tables from Pentaho without manual steps.
Apps used
How teams use this
Sync Pentaho batches to lookup tables
Pentaho exports data in batches with a table identifier, and each batch lands in the correct lookup table in real time. Teams reference current data without manual uploads or delays.
Add a new lookup table to the flow
When a new lookup table is needed, add a condition that checks for its name in the webhook and routes entries to it. The automation scales without changing the core logic.
Filter entries before adding to tables
Add a condition after the table name check to only add entries that meet a criteria, such as a status or date range. Bad data is kept out of the lookup tables.
How it works
- Receive Pentaho webhook. Pentaho sends an HTTP webhook with a table name and batch of entries to this automation in real time.
- Route to OrderCoupons table. If the webhook names OrderCoupons_table, the Lookup Table receives all entries from the batch and stores them.
- Route to Daily Summary table. If the webhook names Daily_summary table, the Lookup Table receives all entries from the batch and stores them.
- Route to Order Lines table. If the webhook names Order_Lines_Table, the Lookup Table receives all entries from the batch and stores them.
- Route to Order Line Coupons table. If the webhook names OrderLineCoupons_Table, the Lookup Table receives all entries from the batch and stores them.