docs: add outbound file delivery guide - #143
Merged
Merged
Conversation
Member
Author
|
Related implementation hardening: https://gitlab.com/e-pilot/product/external-integrations/erp-integration-api/-/merge_requests/180 |
Member
Author
|
CustomerRequestSubmitted reliability changes:
|
added 2 commits
August 21, 2026 13:00
One binding for files: $file_data, always an array — the delivery's single
attachment when fanning out, every attachment when not. Replaces $item,
$file and $file_base64, and the {{ item.* }} / {{ file.* }} Handlebars
equivalents.
Removes the fields the API now rejects at save time, each naming its
replacement: fan_out.split_expression, file_source, shared, required_keys,
params_mapping, required_params, constants, lookups, upload.success_when
and upload.external_id. A 2xx from the last step is the delivery, so there
is no separate predicate re-judging it and no external id correlation hint
to promise.
Documents the per-step enabled expression and the skipped outcome it
produces, upload.max_total_bytes, the JSONata body (body_jsonata, or empty
to send the files unchanged), single-pass Handlebars for url and headers
with plain {{env.NAME}}, and the save-time rule that an upload may only be
bound to an event declaring event_attachments.
Every example is verified against the shipped contract: each JSONata
expression evaluates and passes the save-time binding check, and each
Handlebars path resolves against the delivery's template context.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
Related