Audience: consultant. Prerequisite: Build the app.
A delivered app is only useful with the client’s real data in it. This page covers getting data in, keeping it clean, and getting information back out.
Connections — author the source once
Build ▸ Connections (/engagements/:id/build/connections).
A connection is a saved, credentialed data source. Author it once and reference it from anywhere, instead of embedding a URL and a password in each pipeline.
| Protocol | For |
|---|---|
| REST | a JSON HTTP API — its base address |
| GraphQL | an endpoint plus a query |
| SQL | Postgres / MySQL / SQL Server |
| SFTP | a remote CSV or JSON feed |
| Webhook | an outbound POST/PUT |
Credentials are stored in a vault, not in the configuration, and are resolved at run time. A connection’s secret is never shown again once saved — when you edit a connection, the secret field shows as already-saved rather than being re-displayed.
Test the connection before building a pipeline on it. The wizard has a test step; a connection that has never been tested is a guess.
A SQL connection is encrypted by default, and the database’s certificate is verified: it must come from a trusted authority and name the host. A database whose certificate comes from the client’s own authority needs that authority’s certificate pasted into CA certificate. A certificate that cannot be verified is refused, and the Test says why. Turn encryption off only on a network you trust: the password and every row then cross it in the clear. A Test reads only the rows it shows, however big the table. A database that does not answer within 10 seconds, or a query that runs past 30, is stopped. Each failure is named: the sign-in, the database name, the query, the address, or the certificate.
An SFTP connection signs in with a password or a private key, and pins the server’s host key. Test shows the key the server presented. Check it with the client’s IT, then pin this key. An import refuses a server whose key is not pinned, or has changed, before any password or key is sent. A file over 50 MB is refused.
SQL and SFTP connections feed scheduled imports. A self-hosted install runs its imports itself, so it uses them too — reading only a host the client’s administrators have approved (see Scheduled imports keep the client’s live app fed, below); a Test of one on the install is refused until its host is approved.
A REST connection is the system’s base address — the part every resource sits
under, such as https://api.client.example/v2. A base usually has nothing at its
root and answers “not found”, so the test step takes a path to test with (/titles)
and where the rows are (data.items). They are kept with the connection, so every
Test — in the wizard and on the Connections list — asks the same question, and a
scheduled import or a page that picks this connection starts from them rather than
asking again (change either there and the connection is left alone).
Where the rows are is chosen, not typed. Press Test and the answer is read for
lists: each one is offered with how many rows it holds and what is in them
(data.items — 6 rows · ref, pet, when). Type a path yourself only for a list the
sample could not show — an endpoint that happens to be empty today.
Scheduled imports
Build ▸ Scheduled Imports (/engagements/:id/build/etl/pipelines). A scheduled import
brings records in from a connected system, again and again. (Underneath it is an ETL pipeline;
you will meet the word only under More steps.)
New scheduled import is four steps, in the order the job has — Import a Spreadsheet’s shape, done repeatedly:
- What and from where — which records it brings in, and which connection they come from.
A scheduled import reads a saved connection, so the system’s address and credential live
in one place. It does not take a file: a one-off spreadsheet is Import a Spreadsheet’s
job. (The wizard opens on the kind of source you are adding, so a scheduled import of a
file re-reads the same stored file on every run.) A name is optional: left empty it is
Booking system — appointments → Appointment. For a REST connection, where to read is filled in from
the connection and folded away; open it to change:
- Path — the resource under the connection’s base (
/titles). Filled in from the connection’s own test settings when it has them. - Where the rows are — the key the list sits under, dots between levels
(
data.items). Empty when the response is the list. Also filled in from the connection. - How it arrives — all in one response, or in pages (limit and offset, a next-page cursor, or the Link header), with the rows per page. A run reads up to 50 pages; if the source still has rows after that, the run loads nothing and says so — a part of the rows would look like all of them. Raise the page size.
- Path — the resource under the connection’s base (
- Match the columns — the connection’s own columns, read from one sample row, each beside
the field it fills: their column → your field. A column is matched for you when its name
is a field’s name or key, or ends with exactly one field’s name (
vendor_name→ Name, Annual Spend (GBP) → Annual spend) — the same matcher Import a Spreadsheet uses; a column that could be two fields, or none, says Don’t bring in until you choose. Here too you say how dates are written (Dates written as 03/04/2026 mean — day first unless you choose month first). Everything else a pipeline can do (the steps below) is under More steps. - Check it — runs on arrival, against real sample data, without loading or saving anything: how many rows are ready, how many need a look, how many cannot be brought in, and a sample of rows by field name. Looking never saves the import; only Save does.
- How often — how to recognise a row it has seen before (below), what each run brings in (every row, or only rows whose chosen source column changed since the last run), then the schedule, then Save or Save & run now.
The transform steps
| Step | Does |
|---|---|
| Column map | source column → target field |
| Type coerce | text → number / date / boolean |
| Value transform | rewrite a field’s value |
| Derived field | compute a new field |
| Filter rows | keep or drop rows matching a condition |
| Fuzzy match | match messy values against existing records |
| Dedupe | collapse duplicates, exact or fuzzy |
| Validate | per-field checks with a severity |
| Enrich | look up a value on another entity and copy fields across |
| Entity coerce | coerce every mapped cell to the target entity’s declared type |
| Resolve reference | match a reference by a business key (“the Account whose Name is this”) |
Entity coerce and Resolve reference are what let a client import their own spreadsheet rather than an export of yours.
- Entity coerce reads the target entity’s schema and turns each cell into the declared
type —
"$129,000"into a number,"North"into thenorthenum value,TRUEinto a boolean. Without it a row lands holding raw strings, looks imported, and is refused the next time anyone edits it because it violates its own schema. It uses the same coercion the builder’s own Import a Spreadsheet panel uses, so the two paths cannot drift. Every scheduled import applies it: one built without the step gets it as its last step, with the date order you chose, so a run never lands an amount as text. - Resolve reference turns
Account: Talbot Holdingsinto that account’s record id. Matching is exact after trimming and case-folding — never fuzzy, and an ambiguous match refuses the row rather than picking one. If two accounts share a name, you get told; use Fuzzy match when you deliberately want near-misses routed to review.
Dates are asked about, not assumed: 03/04/2026 is March 4th to an American and 3 April to
everyone else, so the importer offers a day-first / month-first choice rather than guessing.
Every step is configured with typed controls — field references are pickers over the target entity’s fields and the source columns detected from your preview. Raw JSON survives only behind an explicit “Advanced” disclosure for long-tail options.
Recognise a row it has seen before — do not skip this
Choose the fields that identify a record (a booking reference, an invoice number). A row that arrives matching a record already in the app on those fields updates it instead of creating a second one. (Engineers call this the de-duplication, or upsert, key.)
Scheduling needs it. Without it every run would add the whole dataset again, so the schedule stays at Manual only until you choose. That refusal is a feature.
Review queue
Rows the pipeline is not confident about land in a review queue with a confidence score and the specific issues found. You accept, correct, or reject them. Nothing ambiguous is silently loaded — but the rows that are ready do not wait for it: a run loads them straight away, and a run with nothing to review finishes as Done on its own. Accepting a row that matched a record already in the app updates that record; it never adds a second one.
A run that left rows out lists each one on its page — Row 3 — Acme, 12/31/2026 — with its reason: a row below the confidence threshold reads The row was too uncertain to load…, and any other reason is shown as the check stated it. Fix them at the source and run again.
Editing a scheduled import
An existing import is fully editable: open it and use Edit, which reopens the same builder with it loaded, on Match the columns. Changing a mapping, a connection or the target record type never requires deleting and recreating it.
The import’s Steps tab shows the same typed controls that authored the step, in a read-only form — so what a step does reads the same way whether you are inspecting it or editing it.
Scheduled imports keep the client’s live app fed
You build and test an import in the builder; a deploy carries it to the client’s app, and the app runs it itself — on its own schedule, into its own data, with no call back to the builder. Schedule times are UTC. No one clicks Run. An import removed in the builder is archived on the next deploy and its schedule stops. A run you start in the builder is a test against the app you are building.
On the client’s app, its administrators see each import on System ▸ Scheduled imports: its runs, what each loaded and what it left out (row by row, with the reason), Run now and Undo this run.
- Where it may read from is the client’s call. An import on the app reads only a host the client’s administrators have approved on that page; anything else is refused before it is reached, in words. A cloud-hosted app reaches public addresses only. A self-hosted install may also reach a server on the client’s own network — an ERP database or a file drop — once it is approved.
- The source’s password is entered on the app, never in the builder. It is kept in the app’s own encrypted store and is never part of a deploy or a download. The client’s administrators enter it (on System ▸ Integrations, or System ▸ Settings on a self-hosted install). The building firm’s own sign-in on a hosted app may enter one only while the client allows it on System ▸ Scheduled imports, and the client can take that back. Until a password is entered, a run says so instead of failing vaguely.
- How it syncs. Every run reads the source again and updates each row it has seen before, by the fields
you chose to recognise it. Optionally an import reads only what changed since its last good run: under
How often ▸ Each run brings in, choose the source column that says when a row last changed, and a SQL
query can ask for it as
{{since}}. A row deleted at the source is not deleted in the app. Two runs of one import never overlap: a second one waits its turn. - Undo this run removes the records that run created and puts the records it changed back as they were. A record someone changed since is left alone and named. A run is undone once, by someone allowed to change and delete that data, and the undo is recorded.
- Who sees the runs. A self-hosted install keeps its runs to itself. A cloud-hosted app tells the building firm how each run went — status and counts, never the rows — and those runs appear in the builder’s run history marked On the live app.
An import authenticates through a saved credential or a saved connection. Its settings never hold a
token, password, key or credential header; a save that includes one is refused, naming the field. A
connection’s default headers carry no credential either (Authorization, Cookie, X-API-Key and the
like): set it in the connection’s authentication, which is kept encrypted.
Who can build and run one, and where it may reach
- Building, previewing, running — and reading — an import needs the Admin or Build role, with permission to change the app’s design (Change the app’s design). That holds in your firm’s own space too, not only inside a client’s app. The Billing role, a client’s own users and a custom role without both are refused. Reading is included because an import’s runs hold the source’s rows.
- Run now on the Scheduled Jobs page is a person pressing Run, held to the checks below, and creating or editing an import’s job needs the Admin or Build role as well: a job cannot run an import as the system for someone who could not run it themselves.
- A run you start is yours. A preview, a run or a review decision is held to your access to the target entity, exactly as Import a Spreadsheet is. You need permission to create (and, with a de-duplication key, to update) its records, and full clearance for an entity that can hold classified records. The schedule itself is the system: a scheduled run lands its rows whoever built it — so saving an import checks that you may write every field it writes, and a field you may not write is refused at save, by name. Reference matching in a run you start sees only the records you can see.
- Where a source may be. In the builder, a source must be reachable on the public internet. REST and GraphQL addresses, every page a REST source pages to, and the host of a SQL or SFTP source are checked before anything is fetched — including where the name resolves to and every redirect — and an address on a private or internal network is refused. On the client’s app the client’s approved list decides (above): a cloud-hosted app still reaches public addresses only; a self-hosted install may reach the client’s own network.
- A scheduled run that the server refuses to start counts as a failure: it retries, then alerts, as a failed run does.
What the reader is told about where the data came from
Every page in a delivered app is live: a write anywhere — a form, a webhook, a workflow, an import — reaches the screens that show it within a few seconds, and the page says Live · updated just now under its title. Data that arrives in batches says so as well:
- An import through the delivered app’s Import button is remembered with its file name, who loaded it and when. (The builder’s Import a Spreadsheet does the same for the builder’s own preview data — those records reach a client’s app only with its first install, when they fit; a later deploy never carries them.) An exhibit built from that data reads As of the upload on 12 Sep 09:14 by J. Smith (hauliers.csv). The import audit keeps the file name too.
- A pipeline run is remembered with the pipeline’s name and its schedule in words. The exhibit reads Synced 14:00 · hourly.
The line is there only while it is true. The moment anything live writes the same entity — a technician’s form, a webhook — the figure stops being “as of” the file, and the line disappears. So an entity seeded once by import and then maintained in the app reads as live, which it is.
“Live” describes the page, not your source. It means the page will show a change the moment one is recorded. A webhook-fed entity whose sender has stopped sending still reads Live — nothing arrived, so nothing changed. That is the gap What this does not tell you (below) is about, and the anomaly watcher on freshness is still the way to close it.
Inbound webhooks
Build ▸ Inbound Webhooks (/engagements/:id/build/webhooks). Author an endpoint
the client’s systems can POST to, mapped onto an entity. Use this when the source
system pushes rather than waits to be polled — including when the work happens
somewhere else entirely and only the result belongs here.
An endpoint carries its own mapping: which part of the payload holds the rows, which incoming field lands in which entity field, which fields recognise a row it has seen before, and — for any field that points at another record — which business key to match on. Posting the same row twice with a changed value updates it in place rather than creating a second one, so a job that re-sends its whole output is safe to re-run.
Receive first, map second. You do not type the sender’s keys up front. Make
the endpoint for a kind of record — its path, which records, and how it is signed — and give the
sender the address and secret. Its first deliveries are kept, and nothing is written; the sender
is told so in words (“Not matched to records yet — the delivery is kept and nothing was
written.”) and nobody is alerted, because nothing failed. The endpoint then shows Match what
arrived: every key the sender actually sent, how many deliveries carried it and one value it
carried, already matched where a key is a field’s name or key (Import a Spreadsheet’s exact
match; a sender’s key that only ends with a field’s name — grand_total — is left for you). When a delivery holds its rows in a list below the top, choose where the rows are from the
lists it holds first. Choose the rest, say what finds a linked record and what recognises a row it has seen
before, and save; the next delivery is written with it. A delivery kept before the matching stays
kept — ask the sender to send again.
The builder lists what the builder received. Match from deliveries sent to the address the endpoint shows in the builder. A sender posting to the client’s delivered app is kept there too, and nothing is written, but the builder cannot read that app’s deliveries yet, so the endpoint there would still read Waiting for the first delivery.
If the sender later spells a key differently, the key lands empty and the deliveries’ check says so — “pet_name arrived in 1 of 2 deliveries and nothing reads it”. Change the matching on the endpoint lists the new spelling beside the old one; switch it and save. The sender keeps the same address.
A row that changes nothing writes nothing. A matched row identical to the stored record is left alone: no update, no Lineage entry, no workflow run. The import preview counts these separately, as will leave unchanged, and the result reports them as unchanged. So an hourly feed that re-sends the same rows does not re-write them every hour.
A feed may send only what it knows. A row that matches a stored record is judged on the stored record with the row’s fields laid over it, so a back-office feed sending a reference and one changed date updates that date. A partial row whose key matches nothing is refused: a new record needs every required field.
Rows are validated the same way any other write is. A payload missing a required reference is refused, and the response says how many rows were rejected rather than accepting the request and quietly storing nothing:
{ "received": true, "recordsLoaded": 0,
"loadError": "3 row(s) rejected, none loaded — no Unit matches externalRef \"U-9999\"" }
A delivery that only repeats what the app already holds (the same alert sent twice) is not an error: it changes nothing and raises no alert. Only a refused row is a load error.
The message names the cause, not just the count. A count on its own tells you something is wrong and nothing about what.
A delivery the app failed to write asks to be sent again. Refused rows are an answer about
the data, and resending the same rows would be refused the same way. A fault on the app’s side
is different: the delivery is still recorded and an alert goes out, but the sender is answered with
an error (503) rather than received, so a sender that retries on errors sends it again — and
that resend is loaded, not skipped as a repeat.
A pushing system knows its own keys, not yours
The system posting to you knows its asset tag — AST-1187 — and cannot know the id your
app generated for that asset. There is no point in a push integration where a person
could look one up.
So a reference field is matched by a business key, exactly as an import does: say “the Asset whose Reference is this”, and send the tag. A key that matches nothing is refused — never stored as an unresolved link, because a record that looks connected and points at nothing is worse than one that was honestly rejected.
Every delivery is recorded — the payload, the source IP, whether the signature verified, whether a linked rule fired, and how many records landed. When something did not arrive, that list is where you look first.
Where to look: Build ▸ Inbound Webhooks, under the endpoint — “Deliveries”. Each one answers three questions: what arrived, what it wrote, and what it dropped. A delivery that refused rows says so on its own line — “1 row(s) rejected, none loaded — Pet=“Biscuit” references a nonexistent pet” — and opening it names each refused row and shows the payload as sent.
An app’s deliveries are read inside that app. Open the engagement and go to Build ▸ Inbound Webhooks — the same screen where you configure the endpoint. Firm ▸ Platform ▸ Inbound Webhooks lists only your firm’s own endpoints, outside any app, so an app’s endpoints and their deliveries do not appear there.
The record is bounded: each endpoint keeps its newest 1,000 deliveries, and none older than 30 days. A daily sweep removes the rest. The records a delivery LOADED are unaffected: this bounds the log of arrivals, not your data.
In the delivered app, Integrations ▸ What sends to this app lists each endpoint with its latest delivery — when it arrived, how many records it loaded, and whether it was refused or failed to load. It is the app’s configuration, so only the app’s administrators see it. An app admin’s Sender details on a feed hold the address the sender posts to and, on request, the secret it signs with (every reveal audited). The first time a signed endpoint reaches the app (or an unsigned one is redeployed signed), the app makes its own signing secret and keeps it across redeploys, so what a vendor needs comes from the app, not the builder, and a redeploy does not mean re-pointing the sender. On an app your firm hosts, that secret is the client’s, like a source password: the firm’s sign-in reads or replaces it only while the client allows it on System ▸ Scheduled imports. The full delivery list, payloads included, is in the builder.
A push carries the sender’s values into whatever the mapping names, so saving an endpoint’s mapping checks that you may write every field it fills (and every reference it matches), as saving a scheduled import does — a field you may not write is refused at save, by name.
| Set up | What it is for |
|---|---|
| How the sender proves it’s them | The signature: a shared secret (HMAC over the raw body), GitHub’s, Stripe’s, another TTP Practice app’s, or Not signed. A forged POST is refused. Choose Not signed only for a source that cannot sign. Change how it’s signed switches it later; a signed endpoint always has a secret — leave the box blank and one is made for you and shown once. |
| Mapping | Payload field → entity field, plus the key that makes a repeat an update. |
| When something arrives, also start | Start one published workflow on each verified delivery. It reads what was sent as {{payload.<field>}}. The response to the sender says whether a run started (with the run’s id) and, if none did, why — for example, the workflow is still a draft. |
| Linked rule | Forward each delivery on: the linked rule’s Send webhook actions run with what arrived; its other actions do not. Only your firm’s own endpoints (Firm ▸ Platform ▸ Inbound Webhooks) can link one today — to notify someone or escalate when records arrive, use your entity rules (below). |
Your app reacts to what arrives, however it arrives
There are two ways a rule runs when data comes in, and it is worth knowing which is which:
- The linked workflow (or, on a firm endpoint, the linked rule) above is attached to the endpoint. It runs on delivery — before anything is mapped — and is the right place for “whenever this system calls us, do this”.
- Your entity rules — the ones under Build ▸ Behavior, “when a ticket reaches tipped, notify the supervisor” — fire on the records an ingest creates or updates, exactly as they do when a person edits the record by hand. That covers an inbound webhook, a scheduled import and a spreadsheet upload alike.
Every ingest path fires both rules and workflows — an inbound webhook, a scheduled import, a spreadsheet upload, the JSON importer and a reviewed scheduled-import load all behave as a typed-in record does. A weighbridge posting a ticket notifies the supervisor exactly as the same change typed by a person would.
A trigger scoped to fields fires only when one of those fields changed, so a scheduled re-pull that changes nothing starts no runs.
A bulk import does not fan out without limit. Rules fire for up to 200 records per ingest; beyond that the records still all land, the rule fan-out stops, and the response and the log both say how many were skipped. A ten-thousand-row migration is history being loaded, not ten thousand things that just happened — and one rule starting a flow that calls a webhook would otherwise make ten thousand calls at somebody else’s system.
⚠️ The endpoint is public by design — that is the point of a webhook — so the signature is what stands between it and anyone who learns the URL. Set one whenever the sending system can.
Modelling elsewhere, landing it here
A firm that already models in Excel or Python does not have to stop. The webhook above is how the output gets here, and it is a legitimate architecture rather than a workaround — but only if you know which half does what.
The modelling stays where the analyst already works. A scenario, a forecast, a scored list, a monthly re-run of something with real statistics in it — that belongs in the tool built for it. What lands here is the output: the rows a reader needs to see.
What the platform adds is the part a spreadsheet is bad at. Durable records rather than a file with a date in its name. A governed audience rather than whoever was on the email. An audit trail. A screen the client can open themselves, that looks the same next month.
The pipe is the one above. Point the job at an inbound endpoint, map its fields onto an entity, and choose the fields that recognise a row it has seen before, so a job that re-sends its whole output updates rows in place instead of doubling them. Sign the request. Read the delivery list when something is missing. Nothing in this section is new — that is the point.
Landed rows are ordinary records
⚠️ This is the part firms learn from a client. A row that arrived by webhook is not a special kind of data with its own visibility rules. It is a record, and every rule about who may see a record applies to it unchanged — including the two that surprise people: an entity grants nothing until you say so, and walking your own app as an app admin proves nothing about what a client’s staff will see, because an app admin never touches the permission matrix at all. The decision is drawn in full in Build the app; do not take a green screen of your own as evidence.
A model’s output usually wants read for the client’s staff and write for nobody. The writer is the webhook, not a person. The instinct is to grant the role that “owns” the numbers permission to change them; that role almost never needs it, and granting it means a hand edit can silently disagree with the model that produced the row.
What this does not tell you
A delivery record proves what arrived. Nothing here proves what did not. If the job dies on a Tuesday, no request is made, no delivery is recorded, and the app goes on showing Monday’s numbers — correctly, and looking entirely healthy. Silence and success are the same shape from this side of the pipe.
The mitigation is an anomaly watcher on freshness: notify when the newest record for the entity is older than the cadence the job is supposed to run at. It is the difference between finding out yourself and being told by the client.
Before the first load, run the five checks in Build well: references that resolve, a key that is really a key, the endpoint’s own address, a look as an ordinary app user, and no scratch rows riding along.
Documents and search
Documents are uploaded, stored, and OCR’d where applicable, then searchable alongside records. Attach them to records so the context travels with the data.
File storage is pluggable: local on disk by default, S3-compatible object storage (AWS S3, Cloudflare R2, DigitalOcean Spaces, MinIO) by configuration only — no code change to move a client to their own bucket.
Reports out
Report templates are reports the client’s staff can run themselves in the delivered app: pick an entity, choose fields, group, aggregate, and scope to a role. Author the templates in Build; the client runs them in the app.
Records can also be exported from the app’s data tables directly.
What “done” looks like for data
- Every connection has been tested, not just saved.
- Every pipeline has a de-duplication key (and therefore can be scheduled).
- You ran a preview and looked at what landed in the review bucket.
- A re-run of the same import updates rather than duplicates — verify it once.
- The client can get their own answers out without asking you.