Skip to content
Documentation

Integration patterns

Use cases

Choose workflows where a shared execution history makes a practical difference.

On this pagePayments and CRM updatesWithdrawals awaiting a providerCustomer onboardingOrder to invoiceScheduled reconciliation and importsDaily operations reportAn AI assistant that reads data or asks before actingWhen a simpler approach fits

A useful first workflow has several steps, crosses a service boundary, and generates questions that someone currently answers by asking an engineer to inspect logs.

Pipelogiq gives those steps a durable execution record. Your application still defines business rules, connects providers, and decides which context is safe for the team to see.

Payments and CRM updates

The question: “Did the deposit go through?”

A provider confirms the payment and the wallet is credited, but the CRM times out. Split payment confirmation, wallet recording, CRM synchronization, and receipt delivery into distinct stages. Support can see that the deposit succeeded while the profile update is delayed.

Retry the CRM operation with a stable key. Do not restart the payment merely because a later integration failed. Follow Payment reconciliation and use the .NET workflow recipes or Java workflow recipes.

Withdrawals awaiting a provider

The question: “Why is my withdrawal still pending?”

Validation and player checks can finish before the provider confirms the payout. Make the provider-status check a separate operation with the existing payout reference. A timeout is an unknown outcome, not proof that the payout failed.

Support sees which checks finished and what confirmation is missing. The worker reconciles the existing payout rather than submitting another one. Follow Withdrawal status.

Customer onboarding

The question: “Where did this registration stop?”

A workflow can validate the request, call a verification provider, create a customer record, update permissions, and notify the customer. Keep a correlation ID in context. Represent a rejected verification as a business outcome; retry only failures that may succeed later.

Pipelogiq does not perform identity verification itself. Your handler calls the service you already use. Use the access guide to limit who can see these runs and the context guidance to avoid exposing sensitive details.

Order to invoice

The question: “Was the order invoiced, or did the connection to accounting stop?”

Following the landing example, split order validation, CRM synchronization, invoice creation, saving the invoice reference and account-owner notification into stages. Your handlers call the existing shop, CRM and accounting APIs; these are not preinstalled Pipelogiq connectors.

Use the order ID as a stable business reference and give invoice creation its own deduplication key. If accounting creates an invoice but the response is lost, find that invoice before retrying. If notification fails afterward, recover delivery without creating another invoice.

Record the confirmed invoice reference and delivery outcome in support-safe context. Test a lost accounting response and a failed notification as separate scenarios. Start from the .NET or Java workflow recipes and the reliability guide.

Scheduled reconciliation and imports

The question: “Did last night's synchronization run?”

Schedule a pipeline that reads a bounded set of changes, applies idempotent updates, and records a summary. The schedule history distinguishes a run from a missed opportunity; the pipeline shows which stage failed.

Keep an application worker online for automatic scheduling. See Scheduled reconciliation.

Daily operations report

The question: “Did today's report reach the team, and does it cover the right period?”

Create a schedule whose stages collect a bounded period of data, validate completeness, calculate a summary, generate the report and deliver it. Your application owns the queries, calculations, PDF generation and delivery integration. Pipelogiq schedules and records those stages.

Use a stable report date/time window and persist the generated artifact reference outside pipeline history. If delivery fails, retry the same report with a stable delivery key. Do not silently substitute incomplete data or generate a different reporting period during recovery.

Record the period, source completeness, artifact reference and confirmed delivery outcome. Verify a missing source and a delivery retry before relying on the automatic schedule. Follow the separate manual-run and automatic-tick checks in scheduled reconciliation.

An AI assistant that reads data or asks before acting

The question: “What did the agent decide, and what has it actually changed?”

Use the optional agent SDK to plan steps and invoke explicitly registered tools. For the landing page's read-only expense assistant, supply tools that identify an employee's team and read its remaining budget, then inspect the returned data and answer. The example uses fictional data; your own integrations must provide the actual facts.

When adding a mutation, put an approval boundary before it. The agent's durable stages expose its progress; your approval integration submits the decision through the API or the supported channel.

Start with deterministic tools and scripted planners so tests do not need a paid provider. Use the AI agents overview to choose between the .NET and Java guides. Review their budget, memory, approval, and provider limitations before enabling live accounts.

When a simpler approach fits

A short, synchronous function that already returns a clear result may not need orchestration. A single recurring task with sufficient logs may also be adequately served by its existing job runner.

Use Pipelogiq when the execution crosses steps or systems and a durable, shared record materially improves diagnosis or recovery. The first integration should reduce an existing operational problem, not introduce a new workflow just to use the platform.

Start here, or search all 43 pages

↑ ↓ to select · Enter to open · Esc to close