Sync paginated HTTP data via callable endpoint
Recipe Tools
What it does
When someone calls the Retrieve_airplane endpoint, this automation logs each page to a lookup table and returns the full response. If an error occurs, the job stops without retrying.
Who it's for
Engineering teams who need to paginate through HTTP data and track each batch in a lookup table.
How teams use this
Track paginated API responses
Log each page of airplane data to a lookup table as it is retrieved, so the team can audit which batches were processed and when.
Expose pagination as a callable endpoint
Let other workflows or systems call Retrieve_airplane directly instead of building pagination logic themselves. The lookup table keeps a record of all calls.
Add retry logic on specific errors
Extend the error handler to retry only on timeout or rate-limit errors, while stopping immediately on validation failures. Check the error type before deciding whether to retry.
Monitor pagination for compliance
Set up the lookup table to track all paginated requests for compliance audits. Include timestamps and caller details so the team can verify data lineage.
How it works
- Receive the HTTP call. Someone calls the Retrieve_airplane endpoint in real time to fetch paginated data from the HTTP source.
- Record each page in the lookup table. Add an entry to Table_item lookup table in Lookup Table so each batch of results is recorded for audit or replay purposes.
- Return the full response. Send the complete paginated response back to the caller so they receive all data that was retrieved and logged.
- Stop on error without retry. If an error is found during the actions, stop the job immediately without retrying so the caller sees the failure right away.