Skip to main content
Real-world workflows often mix LLM-powered steps (parsing documents, analyzing data) with traditional steps (API calls, database writes, payments). Restate lets you chain these together in a single durable pipeline where each step is persisted. If the process crashes after step 2 of 4, recovery skips the completed steps and resumes from step 3. Chain agentic and traditional steps in sequence. Restate records the result of each step. On recovery:
  • Completed steps are replayed instantly from the journal
  • LLM calls are not repeated (saving cost and time)
  • Regular steps (API calls, payments) are not duplicated

Example: insurance claim reimbursement

Select your SDK: This workflow processes an insurance claim through four steps: two agentic steps that use an LLM to understand unstructured data, and two traditional steps that call external APIs. If the process crashes after the LLM analysis but before the payment, Restate recovers both LLM results from the journal and continues with the currency conversion. No LLM calls are repeated, no payments are duplicated.