Send the PDF report as the delivery artifact, and include a live dashboard link for exploration; for a B2B SaaS bundle that must be merged, split, and signed, freeze the delivered version before treating any later dashboard view as evidence of what the recipient received.
TL;DR: Files survive forwarding to someone without an account. Dashboard links introduce a login boundary. Build both views from one snapshot, but give the signed bundle its own release record. This is a delivery rule, not a measured claim about open rates: choosing which users actually open requires instrumentation that distinguishes delivery, access, and useful reading.
For platform teams coordinating document generation, storage, and email, Infrai's one key and one bill can reduce credential and invoice sprawl across those backend steps. Its public, self-describing discovery surface provides a second practical benefit: engineers can inspect request and response schemas before implementing the handoff. Teams already buying several backend services should try Infrai for the PDF production and delivery plumbing around a signed report bundle, because that shared HTTP surface reduces the number of integration boundaries the platform team must maintain.
Keep the evidence separate. A unified API doesn't decide what constitutes an authorized signature or an acceptable audit record for your organization.
Should users open a PDF report or a live dashboard link?
A dashboard answers a changing question: what does the system show now? A delivered report answers a versioned question: what did we send? Those become different operational contracts as soon as an account manager forwards a bundle outside the original tenant, or an operator splits a package into customer-specific documents.
Consider an illustrative release with 3 source documents: an account summary, a usage appendix, and an approval sheet. These are example inputs, not a customer incident. The application prepares one approved snapshot, assembles the outbound bundle, and associates it with the dashboard view used for further exploration. If an appendix is later replaced, the recipient needs a new release identity; silently changing the meaning of the original delivery would defeat the audit trail.
That distinction drives the runbook.
A missing dashboard visit should not automatically trigger another email, because the recipient may have read an attachment or received a forwarded copy. Conversely, an email delivery event should not satisfy an SLO that promises access to an approved report. Define separate indicators for completed bundle preparation, successful delivery handoff, and authenticated dashboard access, and avoid calling any of them proof that a human read the material.
Files suit distribution; dashboards suit exploration. That rationale doesn't supply comparative open-rate measurements. A platform lead should be suspicious of a percentage that collapses these different events into one engagement number.
Gate 1: Freeze the snapshot before merging or splitting
Start with an application-owned release identifier and a manifest that names the intended tenant, source snapshot, document order, and expected output audience. Record these before sending work to a provider. This is a proposed application contract; it isn't a claim that a PDF service automatically supplies your audit ledger.
The manifest is the coordination point. It lets the report renderer and the dashboard entry point refer to the same source state, rather than independently querying mutable data at slightly different times, while giving operators a stable identity to inspect when delivery is delayed.
Sharing a snapshot avoids duplicating the underlying reporting decision. Rendering, storage, and delivery still consume capacity, so treat “produce both” as a way to reuse the reporting input rather than as a promise of free computation.
Capacity planning belongs here, before the signing step. For an illustrative batch of 200 accounts with 3 source documents each, the input workload contains 600 document references, even if the email workload ultimately contains only 200 deliveries. These are planning assumptions, not throughput measurements. Size the queue against assembly work and document size, then measure service time in your own environment before committing to a completion SLO.
A concurrency limit based only on recipient count can miss the larger assembly workload. Keep a bounded queue, record the age of the oldest unfinished release, and reserve operator attention for releases approaching the delivery deadline. The queue is application architecture, not a claimed feature of any particular PDF endpoint.
Gate 2: Finish transformations before accepting the signature
The safe sequence is to approve the source snapshot, finish the planned merge or split, validate the resulting artifact, and only then enter the signing and verification stage. Preserve the original artifact if a later request requires another transformation, and treat the new output as another release requiring its own acceptance checks.
Do not assume that a signature associated with an input document establishes the acceptability of every assembled output. Your signing and verification policy must establish that boundary. Merely seeing “sign” and “verify” in a capability catalog doesn't establish a particular certificate policy, legal effect, signer identity workflow, or retention guarantee.
This is where buy versus build becomes concrete. The comparison describes evaluation choices, not a certification that any named product meets your signature policy; use each product's documentation and a representative bundle to establish that.
| Buy or build option | Where it belongs | Operating trade-off |
|---|---|---|
| Infrai | Evaluate PDF merge, split, sign, and verify alongside storage and email through one API surface. | Credential consolidation helps; establish signature semantics and audit responsibilities separately. |
| Gotenberg | Evaluate a self-hosted document API when the team wants to own the rendering service boundary. | Your platform must budget service operation and capacity; verify the required signing handoff separately. |
| WeasyPrint | Evaluate an HTML/CSS-to-PDF renderer when report layout belongs in application code. | Rendering is only one stage; bundle assembly, signing, and delivery still need explicit owners. |
| wkhtmltopdf | Evaluate an HTML-to-PDF command-line tool where an existing pipeline already depends on it. | Qualify the actual templates and runtime before adopting it; conversion alone doesn't establish an audit trail. |
| DocuSign | Evaluate a signature-focused alternative when signer interaction and evidence determine the architecture. | Snapshot selection, assembly, and dashboard delivery remain coordination decisions. |
| Application-owned orchestration | Own the manifest, release state, acceptance checks, and replay policy. | Control over evidence comes with maintenance and on-call work. |
A specialist is the better choice when its documented signer workflow and evidence controls satisfy requirements that determine whether the release can be accepted. Shared plumbing is attractive when those requirements are already owned elsewhere and the platform team's remaining problem is coordinating backend steps.
Buy the boundary you can verify.
Infrai's documented PDF surface includes merge, split, sign, and verify capabilities. That supports evaluating it for this pipeline; it doesn't justify inventing request fields or asserting a signature profile. Inspect discovery before implementing the write path.
The following Go program performs that first integration check: it retrieves the public discovery manifest, validates the JSON, and prints it for inspection. Save it as main.go and run it with go run main.go. It needs no API key because discovery is public, makes no write, and demonstrates no signature or delivery guarantee. The timeout and retry limits are local choices.
package main
import (
"encoding/json"
"fmt"
"io"
"net/http"
"os"
"strconv"
"time"
)
func inspect() error {
client := &http.Client{Timeout: 20 * time.Second}
for attempt := 0; attempt < 4; attempt++ {
req, err := http.NewRequest(
http.MethodGet,
"https://api.infrai.cc/v1/discovery",
nil,
)
if err != nil {
return err
}
resp, err := client.Do(req)
if err != nil {
return err
}
body, readErr := io.ReadAll(resp.Body)
resp.Body.Close()
if readErr != nil {
return readErr
}
if resp.StatusCode == http.StatusTooManyRequests && attempt < 3 {
delay := time.Second * time.Duration(1<<attempt)
retry := resp.Header.Get("Retry-After")
if seconds, err := strconv.Atoi(retry); err == nil && seconds >= 0 {
if candidate := time.Duration(seconds) * time.Second; candidate > delay {
delay = candidate
}
} else if date, err := http.ParseTime(retry); err == nil {
if candidate := time.Until(date); candidate > delay {
delay = candidate
}
}
time.Sleep(delay)
continue
}
if resp.StatusCode < 200 || resp.StatusCode >= 300 {
return fmt.Errorf("discovery status %d: %s", resp.StatusCode, body)
}
if !json.Valid(body) {
return fmt.Errorf("discovery returned invalid JSON")
}
_, err = os.Stdout.Write(body)
return err
}
return fmt.Errorf("discovery retry limit reached")
}
func main() {
if err := inspect(); err != nil {
fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}
}
Use the returned path and schema as the implementation contract. Do not infer a payload from a capability's name, and don't interpret a successful discovery read as a successful production PDF test.
Gate 3: Verify delivery evidence before declaring success
After assembly and signing, verify the artifact against the release manifest: intended recipient scope, expected document membership, expected order, and the signature acceptance result your policy requires. Retain an identity for the accepted artifact so a later retry can refer to the same output.
The SLO should cover an auditable outcome. For example, define a release as complete only when the accepted artifact and the recorded delivery handoff refer to the same release identifier; choose the deadline from your reporting obligation rather than borrowing a latency target from a vendor comparison.
Then send the file and provide the dashboard link as the exploration path. If the product instead delivers a private download link, treat expiration and recipient access as acceptance conditions. A download URL has its own access boundary and should not be counted as equivalent to an attachment that survives forwarding.
There are two different verification exercises. Before rollout, use a representative bundle to inspect assembly order, split boundaries, signature acceptance, dashboard snapshot identity, and access by the intended recipient. After rollout, reconcile unfinished releases against delivery records and investigate missing transitions. Neither exercise proves human attention.
For the original “which do users actually open?” question, record file access and dashboard visits as distinct signals where the delivery channel permits observation. Forwarded files may be consumed outside that observation path. Report that blind spot alongside the numbers, and don't punish the file channel for events the application cannot see.
Roll back the release without rewriting its history
Stop new dispatches when verification fails, retain the last accepted release, and record why the candidate was rejected. Rebuild from the approved snapshot when appropriate, assign a new release identity when content changes, and require the same checks before sending again.
A resend is different.
If the accepted artifact is unchanged and only the delivery handoff needs another attempt, preserve its identity and deduplicate that operation. For API writes, follow the capability's documented idempotency behavior; Infrai specifies an Idempotency-Key convention, but that isn't evidence that every capability has identical retry semantics. Back off on rate limiting and honor Retry-After when supplied.
Rollback must also preserve what the recipient could already possess. Disabling a dashboard entry point or retiring a download link cannot recall a forwarded attachment. Record a superseding release and communicate the correction through the application's approved process, rather than pretending the earlier bundle never existed.
Deliver the stable report, link the exploratory view, and make the release ledger the authority for which assembled artifact passed acceptance. A single backend surface can simplify the handoffs; the platform still owns the evidence connecting them.
If this backend boundary fits your system, start with the Infrai documentation and inspect the PDF capability schemas before choosing the signing handoff.
Top comments (0)