Skip to main content
An ingestion pulls data from a connected app on a schedule and writes it into an item type. You point it at an app, pick or describe the ingestion workflow, accept or adjust the AI-suggested field mappings, and Serval handles the rest: deduplication against the key field, delta detection, and deletion reconciliation. One item type can be populated by many sources. “Computer” can pull hardware specs from your MDM and financial data from your procurement tool simultaneously, with mapping priority deciding which source owns which field.
Configure Ingestion panel with the four setup steps: create ingestion workflow, review and publish, run ingestion workflow, and configure mappings

The Configure Ingestion setup checklist

Connect a source

Before you connect a source: Once the item type exists and the source app is connected at the workspace level, follow these steps:
  1. Open the item type in Databases.
  2. Click Configure Ingestion.
  3. Select your source app.
  4. Pick or build the ingestion workflow (Installable ingestion, Natural language, or Custom code). See below for details
  5. Run the first sync. Serval extracts a sample of raw external records.
  6. Review the AI-suggested field mappings. Accept, adjust, or add to them.
  7. Save. Subsequent syncs run on the schedule you set.

Use a workflow another workspace shares

Another workspace in your organization can share its ingestion workflow and connection with your workspace, so you can sync through them instead of building your own. A Builder in that workspace shares a published workflow with Share with workspace… in the workflow’s actions menu, and shares the connection it uses. See Shared connections. In step 3, select that workspace’s shared connection as the source app. The shared workflow then appears in the list with a Shared by badge naming the workspace. The sync runs the workflow’s published version in the sharing workspace, with that workspace’s connection, and writes only the resulting records to your table. If the sharing workspace stops sharing the workflow or connection, or disables or unpublishes the workflow, the sync fails with a message that names that workspace. The sync resumes once it’s shared again.

Three ways to build the ingestion workflow

  • Installable ingestion: Use when an off-the-shelf workflow for your source exists in Serval’s gallery (Jamf, Iru, Okta, ServiceNow, Workday, AWS, and others).
  • Natural language: Use when no installable exists, but the source has a documented API. Describe what you want to ingest (“Ingest all cards from Ramp.” “Pull all active employees from BambooHR.”) and Catalyst generates the ingestion workflow.
  • Custom code: Use when you want full control: complex pagination, custom auth, conditional logic, or a source that needs special handling.

Installable ingestions

Browse the installable gallery filtered by your connected apps. Each entry lists the source, what it pulls, and the expected fields. Install with one click and skip to mapping review.
Select App to Ingest Item from dialog listing connected applications

Selecting a connected app to ingest from

Natural-language ingestions

Describe what you want to ingest in plain English. Be specific about the source, the resource, and any filters:
  • “Pull all active users from Okta, including their group memberships.”
  • “Ingest all open expenses from Brex in the last 90 days.”
  • “Pull every device from Intune, only Windows machines.”
Catalyst asks follow-up questions if it needs them (which scopes, which fields, pagination strategy), generates a draft workflow, and lets you publish once it looks right.

Custom-code ingestions

Write the workflow yourself when the source needs handling the natural-language builder can’t infer: cursor-based pagination with state, multi-step ingestion (list IDs, then fetch each), conditional filtering, or auth beyond what the integration template handles.

Review the AI-suggested mapping

After the first sync brings back a sample of raw external records, Serval analyzes them and proposes mappings between external field paths and internal fields on your item type. The review screen shows each suggestion alongside a sample value: For each row you can:
  • Accept the suggestion as-is.
  • Adjust the external field path. Pick a different field from the raw record.
  • Add a mapping for an internal field the AI didn’t catch.
  • Skip an internal field that doesn’t have a matching source field.
Mapping changes apply to items you’ve already ingested right away — Serval re-reads the data it already stored for them, so you don’t need to wait for a sync or run one. You can come back and refine anytime.

Fields likely to require intervention

Keep an eye on the following situations, as they may require adjusting or overriding AI suggestions.
  • Ambiguous source fields. A source field named serial mapped to Serial Number is usually correct. A source field named id mapped to Serial Number probably isn’t.
  • Computed fields. If your item type has a derived field (Total Cost = Unit Cost * Quantity), the AI can’t compute it. Map only what the source provides, and build derived fields with a workflow that runs after sync.
  • User references. Serval will look for fields that look like an email address, but the email must match an existing Serval user. When ingesting user reference, be sure that the source uses the same email domain.

Multiple sources for one item type

An item type can have any number of ingestion workflows, each writing different fields from a different source. This is the canonical CMDB and ITAM setup: hardware specs from your MDM, financial data from procurement, ownership and employment data from your HRIS, all written into one Computer item type. By default every item is deduplicated by its key field. Each source contributes the fields it maps.

Sources that don’t have the key

Some sources can’t supply the key. An endpoint security tool, for example, knows a device’s hostname but not its serial number. Add unique fields to Deduplicate on so those rows still land on the right item. On the item type’s Sources tab, expand Deduplicate on at the top of Fields, add the fields, drag them into the order to check them, then select Save. Deduplicate on lists the key first, then the fields you add. A row that isn’t linked to an item yet is matched on each field in the list, in order. The first field that finds an item decides. A field is skipped when the row has no value for it or no item has that value, so an item first created by the source without the key is still found later by the source that has it. An item is never matched when it already has a different value for an earlier field in the list. When a hostname is reassigned to a new device, the new device’s row carries a different serial number, so it isn’t merged into the old device’s item. The row is reported as a conflict on the Issues tab instead. Rows that are already linked to an item stay with that item. When an item type’s key is auto-numbered, no source carries it. Every row is matched on the unique fields added to Deduplicate on, and a row that matches nothing creates a new numbered item. With none added, each new row from a source creates its own item, so add a field before a second source feeds the item type. The key is a field in the list like the others: you can drag it below another field or remove it. Below another field, the key is checked only when the fields above it find no item. Removed, rows are never matched on the key. Either way, a row whose key already belongs to a different item than the one it was matched to is reported as a conflict instead of being moved to that item, and so is a row that matches no item while its key is taken. The list always keeps at least one field.

Picking the source of truth per field

When two sources both map to the same internal field, you can order them by priority to decide which source is more authoritative. The lower priority source still feeds the field if the higher priority source doesn’t have a value. A common pattern for a “Computer” item type:

One workflow for several item types

One ingestion workflow can fill more than one item type. A network discovery scan finds servers and the databases that run on them, and a CMDB export returns every class in one list. The workflow running on one connected app is a source. Each item type the source fills is an ingestion with a filter that says which of the source’s records it takes.
  1. Add the source to the database: select the source app and the workflow. Serval runs it once, stores the records, and lists the fields it found in them.
  2. Add an item type to the source and give it a filter on those fields, such as kind is server. A filter can compare a field with text (is, is not, is one of, contains, does not contain) or check whether it has a value (is empty, is not empty). Numbers and true/false values are compared as text.
  3. Add each further item type with its own filter, such as kind is database.
One item type per source can have no filter. It takes every record the workflow returns. A record that matches more than one filter is written to each of those item types. A record that matches none is stored and not published, so you can add an item type for it later without changing the workflow. Each ingestion has its own field mappings, deletion setting, and item type. All item types that share a source share its schedule, runs, and sync status, and Sync on any of them runs the workflow for all of them. A source stays in the database after its last ingestion is removed. Delete the source to stop the workflow from running. After you change a filter, the next sync fetches everything. When a record no longer matches an ingestion’s filter, because the filter or the record changed, the sync removes it from that item type and adds it to the item types whose filters it now matches. The item itself is deleted only when the ingestion syncs deletions. Give every record an ID that is unique across everything the workflow returns, whichever item type it is for. A record can reference another record of the same source by that ID. For example, a database’s server field can hold the server’s ID, mapped to a reference field on the database item type. When two item types take the referenced record, the reference resolves to one of them. Limit the reference field to one item type to choose which. Disabling an ingestion pauses its item type. The workflow keeps running for the others, and the paused item type’s items stay as they are. When you enable the ingestion again, it continues from the last sync. If a sync returned records while the ingestion was disabled, the next sync fetches everything instead.

With the API

Creating an ingestion for a workflow and connection that already fill another item type adds that item type to the same source. Set recordFilter to say which records it takes:
A record matches when every filter in any one group matches. sourcePath is the dot path of a field in the record, such as summary.typeName. The text predicate takes eq, ne, contains, doesNotContain, startsWith, endsWith, inList, isNull, or isNotNull. A request with any other operation, such as like, fails. So does a request with an empty value, a value with a space at either end, or a path or value that has two spaces in a row, a line break, or another invisible character. Without recordFilter, a new ingestion takes every record, and the request fails when another ingestion of the same source already does. Sending the request again for an item type the source already fills updates that ingestion and keeps its filter unless recordFilter is set. A recordFilter with no groups removes the filter.

Sync schedules and deletions

Schedule

Each ingestion runs on its own interval. Set sync frequency explicitly, or leave it on Default (4 hours). Manual sync is always available via the Sync now button on the ingestion config.
Ingestion configuration for a Google Workspace source with the sync frequency dropdown open and mapped item fields

Setting the sync frequency and reviewing field mappings on an ingestion

Remove a source connection

Before you delete a connection from Integrations, delete every source that uses it. Removing a source’s ingestions or turning them off keeps its connection. If a branch ingestion points to its own connection and only uses credentials from main, you can delete the connection in main. Give the branch its own credentials to keep it syncing.

Deletions

The Delete missing items toggle controls whether Serval propagates deletions from the source:
  • On: When a record disappears from the source, the corresponding item in Serval is deleted.
  • Off (default): Disappeared records are left in place. Use this when you want to retain history of devices that left the fleet, or when the source has known cases of records flickering in and out.
Serval checks for missing records after a workflow returns a complete inventory and all pages finish successfully, including on repeat syncs. Each page must identify itself as part of the full inventory. If Serval cannot confirm this for the whole sync, it skips missing-record cleanup. Incremental (delta) results must explicitly identify deleted records. An item remains if another ingestion source still supplies it.
Ingestion actions menu showing run, view workflow, sync history, disable, the Delete missing items toggle, and delete ingestion

The ingestion menu, including the Delete missing items toggle

New items

The Create new items toggle in the ingestion menu controls what happens when a synced row matches no existing item:
  • On (default): A row that matches no existing item creates one.
  • Off: The source only updates items that already exist. A row that matches nothing is left unpublished and counted as skipped rather than created, and later syncs retry it in case a matching item appears.
Use Off when another source owns item creation and this source should only enrich records that are already present. On the Users database, the equivalent toggle is Create new users (organization admins only): off, a sync updates only users that already exist and never creates ones it doesn’t recognize.

Troubleshooting

Reading sync status

Each ingestion shows its last sync time, current phase, and whether the most recent run succeeded. The sync history lists every sync with start and end time, records added, updated, or deleted, and any failure details. A run that stored records but published none reads Ingested, not published: the source has no field mappings yet. For what each status and failure cause means, and for the records a sync couldn’t publish, see Issues.
Sync history panel listing recent syncs with status, time, and records updated, plus an expanded run timeline

An ingestion's sync history, with per-run timelines

Sync failed

A failed sync could stem from a number of reasons:
  • Workflow error: Auth expired, source API returned 5xx, pagination broke, etc. Open the failed run and investigate with Catalyst.
  • Field mapping error: An external field path no longer exists in the source, or a value doesn’t match the internal field’s type (e.g. string where number expected). Fix the mapping, then re-sync.
  • Schema drift: The item type schema changed in a way that breaks the workflow. Update the schema to match what the workflow submits, or update the workflow to match the current schema. See Schema changes.

Sync runs forever

Long-running syncs usually mean pagination is broken. The best troubleshooting step is to investigate the failed workflow run with Catalyst.

Items disappearing

If items are getting deleted unexpectedly:
  1. Verify the Delete missing items toggle matches your intent.
  2. Ask Catalyst to investigate the ingestion workflow and why items are disappearing
  3. Cross-check the source. Is the record actually gone, or is the source paginating differently than the workflow expects?

Mapping suggestions look wrong

Re-run the first sync after the source has more representative data. The AI builds suggestions from a sample; with a few records of low diversity, suggestions may not be accurate.

What’s next

Design the schema first

Get the item type and key field right before connecting sources.

Browse the result

Filter, sort, and traverse the context graph.

Use it from workflows and skills

Read items from workflow code. Surface them to the Help Desk Agent.

Track changes and audit

Provenance shows which source wrote which value, and when.

See what didn't make it

Every record a sync couldn’t publish, grouped by cause.

Workflows that run after ingested changes

A workflow rule that runs after saving also runs from ingested and CSV-imported changes: one run per changed item, and none for items the sync left unchanged. Publication never waits for these workflows and never fails because of them; a failed run does not undo the published item. Runs beyond the hourly limits are held. Held and failed runs appear on the item type’s Issues tab, where you can replay them.