К основному содержанию
скилл CX Codex

building-flows — скилл для Claude Code: сборка флоу Celigo

Помогает агенту собирать флоу Celigo: расписания, слушатели событий, ветвление записей и обработку ошибок. Пригодится, когда интеграцию нужно не починить, а спроектировать.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add celigo/ai --skill building-flows -a claude-code
Открыть на GitHub

Что делает building-flows

Флоу в Celigo перегоняет данные из источников в приёмники — по расписанию, по событию или по запуску из другого флоу. Скилл описывает, из чего такой флоу состоит: генераторы страниц (экспорты, которые тянут данные) и процессоры (импорты и лукапы, которые обрабатывают каждую запись). Процессоры идут плоским списком или расходятся по веткам через роутеры.

Запуск бывает двух видов. Планируемый экспорт работает по cron и забирает всё, только изменения с прошлого прогона, выборку по запросу или файлы из папки FTP/SFTP/S3. Слушатель ждёт, пока источник сам пришлёт данные вебхуком или нативным событием NetSuite и Salesforce. Оба варианта можно смешивать: слушатель ловит события, а ночной экспорт добирает пропущенное после сбоя вебхука.

Отдельно разобрана частая ошибка: флоу заканчивается импортом, который забирает данные обратно из удалённой системы, и результат уходит в никуда. Ответное сопоставление отдаёт поля только следующему шагу, поэтому после такого импорта нужен либо импорт с записью обратно в источник, либо приёмник вроде S3, SFTP или базы. Точные вызовы зависят от того, как вы подключаетесь к аккаунту: скилл ссылается на отдельные справочники для MCP-инструментов Celigo и для CLI celigo.

Какие задачи решает

  • собрать флоу из экспорта и цепочки импортов
  • настроить ночную дельту вместо полной выгрузки
  • поймать события вебхуком и подстраховаться расписанием
  • развести записи по веткам через роутер
  • не потерять данные, которые импорт забирает из источника

Примеры запросов агенту

  • собери флоу: экспорт клиентов из Salesforce и импорт в NetSuite по расписанию
  • добавь слушатель вебхука, а ночью пусть идёт сверка пропущенных записей
  • разведи записи по двум веткам: новые в один импорт, изменённые в другой

Как установить building-flows

1Через Skills CLI (Vercel)

npx skills add celigo/ai --skill building-flows -a claude-code

2Вручную: положить файлы

~/.claude/skills/building-flows/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/building-flows/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о building-flows

Как установить building-flows в Claude?

Выполните npx skills add celigo/ai --skill building-flows -a claude-code. Скилл окажется в ~/.claude/skills/building-flows/SKILL.md.

Что делает building-flows?

Описывает сборку флоу Celigo: генераторы страниц, процессоры, роутеры, расписания и слушатели. Агент опирается на это, когда создаёт или правит флоу.

Чем это отличается от troubleshooting-flows?

building-flows нужен при создании и правке флоу. Если флоу падает, сыпет ошибками, не приносит данных или идёт медленно, берите troubleshooting-flows.

Исходный текст

SKILL.md · MIT
---
name: building-flows
description: Build Celigo flows -- pipelines that move data from source systems to destination systems on a schedule or in response to events. Covers scheduling, chaining, error management, and abstract/instance templating. Use when creating or editing flows; to diagnose a flow that fails, errors, brings no data, or runs slowly, use troubleshooting-flows.
---

<!-- TIER:1 -->

# Building Flows

A flow moves data from one or more source systems to one or more destination systems. It runs on a schedule, in response to events (webhooks, listeners), or when triggered by another flow. Flows are the primary way integrations get work done in Celigo.

A flow has **page generators** (exports that fetch data) and **page processors** (imports and lookups that process each record). Processors run sequentially in a flat list, or conditionally through routers that branch records to different paths. These processing pipeline mechanics -- routers, branches, page processors, response mapping -- are shared with APIs and tools (see `building-apis` and `building-tools`).

## How to Run the Steps

This skill names each build step by what it reads or changes; the exact calls depend on how you reach the account. Read the one reference that matches your tools -- both follow the step numbers of How to Build a Flow below, then Duplicate Records and the headings of Flow Operations:

- **Celigo MCP tools** (`list_flows`, `upsert_flow`, `patch_flow`, `run_flow`, ...) -- [references/mcp.md](references/mcp.md)
- **The `celigo` CLI** -- [references/cli.md](references/cli.md)

Planning and checking what already exists only read the account. Creating or changing a resource, enabling a flow, running it, and retrying or resolving its errors all write to the account or to the connected systems. The two surfaces differ most on writes -- which fields can be changed on their own, and whether the read-modify-write of a full update is done for you -- so follow your reference there.

## What Starts a Flow

Flows **start themselves** -- this is the biggest thing that separates them from APIs (invoked by an HTTP caller) and tools (invoked by a consumer). Every flow begins with one or more page generators, of two kinds:

- **Scheduled exports** -- the flow runs on a cron cadence and each run pulls from the source: everything (full sync), only what changed since the last run (delta sync), records matching a query, or files landed in an FTP/SFTP/S3 folder. The right primitive for batch work: nightly reconciliations, hourly delta syncs, backfills, off-peak windows.
- **Listeners** -- the source pushes to the flow. A webhook fires (or a NetSuite/Salesforce native real-time event triggers) and the payload immediately starts flowing. No schedule; the flow runs as events arrive. The right primitive for event-driven work ("when X happens, do Y"), especially when latency matters.

A flow can mix both, and multi-generator designs are common:

- **Real-time plus batch safety net** -- a listener catches events as they fire; a scheduled export reconciles at off-peak hours, catching up after webhook outages
- **Consolidating sources** -- customers from Salesforce AND HubSpot, each with its own generator, feeding the same downstream pipeline
- **Different slices of the same source** -- one export pulls new records, another pulls updated records, when the API exposes them separately

If the requirement is "every night at 2 AM, do X" or "when a webhook arrives, do Y" -- that lives on a flow. APIs and tools have no schedule and no listener; they only run when invoked.

## Fetched Data Needs a Downstream Consumer

A common design mistake: ending a flow on an import that *fetches* data back from a remote system (a preview call, a query, a lookup-shaped POST) and relying on response mapping to capture the result. Response mapping makes fields visible to the NEXT step -- if no next step exists, the captured data is discarded when the run ends and nobody sees it.

When the requirement says "preview / estimate / retrieve / fetch / check / look up", the design needs at least one of:

- **A write-back import** to the source system (most common) -- e.g. source export -> preview import -> update import that writes the captured fields onto the source record
- **A persistent destination** the user named (file to S3/SFTP, email, database)
- **A router or AI agent step** that consumes the captured data within the same run

A two-step export -> fetch-shaped-import flow with nothing after it is a smell -- re-read the intent for where the fetched data should end up. The same applies in reverse: capturing a created record's ID via response mapping is only useful if a later step writes it somewhere.

## Flow Topologies

### Linear Flows

A flat `pageProcessors[]` list with no routers. One or more page generators feed records through a sequential chain of page processors. Each processor is either an import (`type: "import"`) or a lookup export (`type: "export"`). Records pass through every step in order. Unique to flows -- APIs and tools always use routers.

Older flows -- and Data Loader flows, which still produce it -- can carry the legacy two-step shape instead: a top-level `_exportId` (the one source) and `_importId` (the one destination) in place of `pageGenerators` and `pageProcessors`. The platform still accepts and serves it; read such a flow's steps from those two fields, and build new flows with `pageGenerators` and `pageProcessors`.

### Branching Flows

Page generators feed records into `routers[]` instead of `pageProcessors[]`. Each router evaluates records against branch conditions and routes them to matching branches. Branches contain their own `pageProcessors[]` and can chain to other routers via `nextRouterId`. Records enter at `routers[0]` and reach every other router only through a `nextRouterId`, so the rest of the array isn't execution order (Flow Builder can save routers out of order): walk the chain from `routers[0]` when you describe or change a branching flow.

Two routing modes (shared with APIs and tools):
- **Input filters** (`routeRecordsUsing: "input_filters"`) -- S-expression rules on each branch; last branch can omit filter as a catch-all
- **Script-based** (`routeRecordsUsing: "script"`) -- a JavaScript `branching` function returns, per record, an array of branch indices -- zero-based positions in `branches[]` (e.g. `[0]`); `[]` sends the record down no branch

Flows support both `first_matching_branch` and `all_matching_branches` routing. APIs only support `first_matching_branch`. Tools support `first_matching_branch` only.

- **`first_matching_branch`** -- a record takes the first branch that matches, so a broad filter ahead of a narrow one takes its records: order branches from most to least specific. A script that returns more than one index fails that record with `invalid_script_routing`.
- **`all_matching_branches`** -- a record goes down every branch that matches, each as its own copy.
- **No match** -- a record that no branch takes leaves the run with no error and no ignore count. When records go missing, check each branch's filter, or read a test run's `router` stage, which lists the branches each record took.

A flow uses EITHER `pageProcessors` (linear) OR `routers` (branching) at the top level -- not both. Turning a linear flow into a branching one moves its top-level steps into the branches; a body that keeps them next to `routers` is refused with 422.

A branching router sets both `routeRecordsTo` and `routeRecordsUsing`; a router with only one of them is refused with 422. With input filters:

- **The filter shape.** Each branch's `inputFilter` is `{ version: "1", rules: [...] }`, not the `{ type: "expression", expression: {...} }` wrapper that export and import filters use. A wrapped filter saves without an error, but the branch is stored with no filter, and every record goes down it (live-verified 2026-10-21) -- read the flow back and check each branch's `inputFilter`.
- **Wrap every `extract`** in a type conversion -- `string`, `number`, `boolean`, or `epochtime`. A bare `["extract", "<field>"]` is refused with 422.
- **Order the branches.** They are checked in order. A branch with no filter matches every record, so under `first_matching_branch` the catch-all goes last; under `all_matching_branches` a catch-all also receives a copy of every record the other branches take.

A two-branch router, wholesale orders to one import and everything else to another:

```json
{
  "pageGenerators": [{ "_exportId": "<exportId>" }],
  "routers": [{
    "id": "rT8kQ2mZ4vX",
    "routeRecordsTo": "first_matching_branch",
    "routeRecordsUsing": "input_filters",
    "branches": [
      {
        "name": "Wholesale",
        "inputFilter": { "version": "1", "rules": ["equals", ["string", ["extract", "channel"]], "wholesale"] },
        "pageProcessors": [{ "type": "import", "_importId": "<wholesaleImportId>" }]
      },
      {
        "name": "Everything else",
        "pageProcessors": [{ "type": "import", "_importId": "<retailImportId>" }]
      }
    ]
  }]
}
```

On an existing flow, this replaces its top-level `pageProcessors` in the full document you send back; every other field goes back as read.

When a branching flow needs linear steps before the branch point (e.g., a lookup enrichment or AI classification that all branches depend on), use a **pass-through router**: a single-branch router with `nextRouterId` pointing to the branching router. Omit `routeRecordsTo` and `routeRecordsUsing` on the pass-through router -- including them makes it appear as a filter-based branch in the UI. Leaving both unset is the pass-through shape; the server fills in no default. Setting only one of the two is refused (422 `invalid_flow_router_config`), and so is a pass-through router with more than one branch (422 `invalid_flow_router_branch`).

The same shape rejoins branches: point every branch's `nextRouterId` at one pass-through router and put the shared steps in its branch. Don't repeat a step in each branch instead -- an import can be a step only once per flow, and a second entry fails with 422 `invalid_flow` ("already included as a pageProcessor").

### Abstract / Instance Flows

A template/inheritance model. An abstract flow (`isAbstract: true`) defines the complete graph but cannot execute. Instance flows (`_abstractFlowId`) inherit the graph and customize via an `overrides` object (connections, schedules, mappings, filters).

Use when the same flow structure is deployed across multiple regions, tenants, or environments with different connections or parameters.

## Quick Reference

### Flow Type Decision Matrix

| Pattern | Structure | Key fields | Read schema |
|---------|-----------|------------|-------------|
| Linear | Flat processor list | `pageGenerators[]`, `pageProcessors[]` | `request.yml`, `page-generator.yml`, `page-processor.yml` |
| Branching (routers) | Routers with conditional branches | `pageGenerators[]`, `routers[]` | + `router.yml`, `branch.yml` |
| Abstract / Instance | Template + per-instance overrides | `isAbstract: true` / `_abstractFlowId`, `overrides` | + `overrides-helper.yml`, `overrides.yml` |

### Minimum Required Fields

Every flow needs at minimum:
- `name` -- display name
- `_integrationId` -- parent integration. Without one the flow lands in the account's "Standalone flows" integration (or the create fails with 422 `standalone_flows_not_supported`)
- `disabled: true` -- always create disabled
- `pageGenerators[]` -- at least one entry with `_exportId`
- **Either** `pageProcessors[]` (linear) **or** `routers[]` (branching) -- never both

### Which Schemas to Read

**Always read:**
- [request.yml](references/schemas/request.yml) -- base flow fields
- [page-generator.yml](references/schemas/page-generator.yml) -- export sources, per-generator schedules, delta coordination
- [page-processor.yml](references/schemas/page-processor.yml) -- import/export steps with responseMapping and hooks

**Add for branching flows:**
- [router.yml](references/schemas/router.yml) -- routing strategy, record distribution mode
- [branch.yml](references/schemas/branch.yml) -- input filters, per-branch processors, chaining

**Add if response mapping is needed:**
- [response-mapping.yml](references/schemas/response-mapping.yml) -- extract/generate pairs for carrying data between steps

**All available schemas** (in [references/schemas/](references/schemas/)):

- **Base fields (all flows):** [request.yml](references/schemas/request.yml)
- **Response shape:** [response.yml](references/schemas/response.yml)
- **Page generators:** [page-generator.yml](references/schemas/page-generator.yml)
- **Page processors:** [page-processor.yml](references/schemas/page-processor.yml)
- **Response mapping:** [response-mapping.yml](references/schemas/response-mapping.yml)
- **Routers:** [router.yml](references/schemas/router.yml)
- **Branches:** [branch.yml](references/schemas/branch.yml)
- **Abstract flow helpers:** [overrides-helper.yml](references/schemas/overrides-helper.yml)
- **Instance overrides:** [overrides.yml](references/schemas/overrides.yml)
- **Cloning:** [clone-request.yml](references/schemas/clone-request.yml), [clone-response.yml](references/schemas/clone-response.yml)

## Related Skills

- **configuring-connections** ([Quick Reference](../configuring-connections/SKILL.md#quick-reference)) -- connection types and auth methods for page generators and processors
- **configuring-exports** ([Quick Reference](../configuring-exports/SKILL.md#quick-reference)) -- building exports used as page generators and lookup processors
- **configuring-imports** ([Quick Reference](../configuring-imports/SKILL.md#quick-reference)) -- building imports used as page processors
- **configuring-topics** ([How to Build an Event Stream](../configuring-topics/SKILL.md#how-to-build-an-event-stream)) -- Event Streams topics: one flow publishes records, listener flows consume them
- **writing-mappings** ([Mapper 2.0 Workflow](../writing-mappings/SKILL.md#mapper-20-workflow)) -- field mappings on imports and response mapping between steps
- **writing-scripts** ([Data Pipeline Hooks](../writing-scripts/SKILL.md#data-pipeline-hooks)) -- preSavePage, preMap, postMap, postSubmit, postResponseMap hooks
- **writing-handlebars** ([Quick Reference](../writing-handlebars/SKILL.md#quick-reference)) -- dynamic values in URIs, filters, delta tokens, SQL queries
- **troubleshooting-flows** ([Diagnostic Workflow](../troubleshooting-flows/SKILL.md#diagnostic-workflow)) -- diagnosing flow failures, errors, and performance issues
- **building-syncs** ([Sync or Flow?](../building-syncs/SKILL.md#sync-or-flow)) -- replicating many application tables into a data warehouse, which is a sync's job, not a flow's

<!-- TIER:2 -->

## How to Build a Flow

### 1. Plan the flow

Before creating anything, decide what kind of operation this is:

**Decision tree:**

- **Modifying an existing flow's step config** (export settings, import mappings, scripts) -- first find every flow that uses the step: read the account's flows with their steps and look for the step's `_id` in each one's page generators, page processors and branches (or list the step's dependents, where your surface can). An export or import can be a step in several flows, and an edit to it changes every one of them, so a change asked for one flow can break another. If another flow uses it, stop before any write: tell the user which flows share the step and let them choose -- change it for all of them, give this flow its own copy, or narrow only this flow with a filter on its own import or branch. Then work on the step directly, not the flow: change the export or import itself, or follow the relevant skill (configuring-exports, configuring-imports, writing-scripts, writing-mappings)
- **Modifying an existing flow's structure** (add/remove steps, change schedule, rename) -- read the flow, modify the structure, and write the complete document back. Don't rebuild from scratch. Only a few single fields (the name, enable/disable, the flow-level schedule and timezone) can be changed on their own -- your reference lists them. A page generator's own `schedule` isn't one of them and overrides the flow's, so read `pageGenerators[]` before changing when a flow runs (step 8)
- **Modifying an Integration App's flow** (`_connectorId` set) -- edit only what the app leaves open, such as import mappings, lookups, input filters, and response mappings. Its steps, each step's connection, the endpoints and hooks the app ships, and some data-shaping settings are locked, and a full update that changes a locked field still answers 200 and keeps the app's value -- read the flow or step back after every change. For anything else, use the app's settings or build a companion flow outside the app ([using-marketplace-templates > Changing an Installed Integration App](../using-marketplace-templates/SKILL.md#changing-an-installed-integration-app))
- **Building a new flow where every step is known** -- build directly, bottom-up (skip to step 2)
- **Any ambiguity about what steps are needed** -- design first. List every system, every data direction, every step before writing any JSON

**Design checklist (when ambiguity exists):**

- What source systems? What destination systems?
- What data moves between them, in which direction?
- How often? (cron schedule, webhook trigger, on-demand)
- What happens when a step fails? (`proceedOnFailure`, error notifications)
- Do downstream steps need data from upstream responses? (response mapping)
- Is this a one-off or a reusable template? (abstract/instance flow)
- Production or a sandbox? Each environment has its own connections and flows, reached with its own token or profile, and nothing crosses between them. Never set the deprecated `sandbox` field to move or classify a flow ([getting-started > Sandbox vs Production](../getting-started/SKILL.md#sandbox-vs-production))

### 2. Identify the integration

Every flow belongs to an integration (the container). Find or create the integration first: list the account's integrations and pick the one this flow belongs to.

### 3. Check for existing patterns

Before building from scratch, check what already exists in the account and marketplace:

- Search the account for similar resources by keyword
- Show what an existing resource uses and what uses it
- Find orphaned resources, offline connections, and untriggered flows
- Search the marketplace for pre-built integration templates, and preview a template before installing it

### 4. Build the connections, exports, and imports

Flows reference existing resources. Build bottom-up: connections first, then exports and imports that use those connections, then the flow that wires them together. List the account's connections, exports, and imports first to see what already exists.

For every step, match the adaptor to the target application -- raw HTTP is the fallback, not the default. Use the native adaptor when one exists (NetSuite, Salesforce, databases, FTP/S3); otherwise check the HTTP connector catalog for a pre-built connector (550+ apps) and build the connection from it; hand-write HTTP config from public API docs only when no connector exists or it doesn't cover the endpoint. See **configuring-exports** ([Check for a pre-built connector](../configuring-exports/SKILL.md#3-check-for-a-pre-built-connector)) and **configuring-imports** ([Check for a pre-built connector](../configuring-imports/SKILL.md#3-check-for-a-pre-built-connector)).

See `configuring-exports` and `configuring-imports` for how to build each resource.

A source that should read only what changed since the last run is a delta export: set `type: "delta"` on it, with `{{lastExportDateTime}}` in an HTTP or SQL request ([configuring-exports > Delta vs one-time vs full sync](../configuring-exports/SKILL.md#delta-vs-one-time-vs-full-sync)). On an export with no `type`, `{{lastExportDateTime}}` renders empty on every run, so the request goes out with a blank bound each time.

### 5. Choose the topology

| Scenario | Topology |
|----------|----------|
| All records follow the same path | Linear (`pageProcessors`) |
| Records need conditional routing by field values | Branching with input filters |
| Routing logic requires custom JavaScript | Branching with script router |
| Records should fan out to all matching paths | Branching with `all_matching_branches` |
| Same structure across multiple tenants/regions | Abstract + instance flows |

**Abstract/instance flows:** Abstract flows are reusable templates that cannot run directly. Instance flows inherit the abstract's structure and override specific fields (connections, filters, schedules). Use when the same integration pattern repeats across tenants or regions. Create with `isAbstract: true`. An abstract flow can't use top-level `pageProcessors` -- the platform rejects them with 422 `abstract_flow_invalid_fields` -- so put even a linear chain in `routers[]`, as one [pass-through router](#branching-flows) (a single branch, neither `routeRecordsTo` nor `routeRecordsUsing` set). An abstract flow can't reference another abstract flow or be a run-next target, and `isAbstract` can't be cleared while instances exist. Instance flows reference the abstract via `_abstractFlowId` and specify overrides -- they do NOT use the normal scaffolding process. `_integrationId` is NOT inherited and must be set explicitly on the instance.

Instances that keep the abstract flow's webhook listener share its URL, so one request runs every enabled instance. To give an instance its own URL, create a separate webhook export and swap it in on that instance with `overrides.exports: [{"_abstractId": "<abstract listener>", "_id": "<new export>"}]` -- exports are the only steps an instance can replace, and an entry with only `_abstractId` is refused with 422.

### 6. Design the step sequence

For each step, decide:
- **Type** -- `import` (write to destination) or `export` (lookup for enrichment). A Celigo Tool runs as an import step (`adaptorType: "ToolImport"`) that must bind every connection the Tool's steps use, or its run fails with `connection_not_overridden` ([configuring-imports > Stack and Tool Imports](../configuring-imports/SKILL.md#stack-and-tool-imports))
- **Response mapping** -- what does a downstream step need from this step's response? A response reaches the record only through the step's response mapping (or a `postResponseMap` hook); without one it's discarded after the call, even when its field names already match what the next step expects. Every lookup whose results are used downstream needs one; skip it only when nothing downstream reads this step's response (often a terminal import). An import's own mapping and its preMap/postMap hooks build only the request it sends: the next step gets the record as it arrived, plus what response mapping merges.
- **proceedOnFailure** -- should the pipeline continue if this step fails?
- **Hooks** -- does this step need a `postResponseMap` script?

### 7. Build the flow JSON

Reference the schemas listed in the Quick Reference above for exact field schemas. Every step in the document runs -- there's no comment or placeholder step -- so note planned work in the flow's `description` (up to 5,120 characters), not as a dummy step.

### 8. Configure scheduling

Pair `schedule` (6-field cron) with `timezone` (IANA). Omit both for listener/webhook/realtime flows. `timezone` defaults to UTC, which is usually wrong for human-facing schedules ("9 AM every weekday" should survive daylight saving).

- **Write local times as they are.** The schedule's hours are read in the flow's `timezone`, so set the user's zone and keep their hours. Never convert them to UTC: a converted schedule in a zone with daylight saving is an hour off for half the year, and paired with the local `timezone` it is shifted twice.
- **Day-of-week counts 0=Sunday to 6=Saturday**, so weekdays are `1-5` (or `MON-FRI`): `"? 5 8,17 ? * 1-5"` runs at 8:05 AM and 5:05 PM, Monday to Friday. `2-6` is Tuesday to Saturday.
- **Check the page generators first.** A page generator can carry its own `schedule`, which overrides the flow's for that generator (e.g. one source syncs hourly, another nightly, in the same flow); a generator without one inherits the flow's. Before changing when a flow runs, read its `pageGenerators[]`: if a generator has its own `schedule`, change it there, because a new flow-level schedule doesn't move it. A generator has no timezone of its own -- its schedule is read in the flow's `timezone`. The flow-level `schedule` and `timezone` can be changed on their own, but a generator's `schedule` can't: changing it is a full update of the flow.
- **Lists and step forms are both valid, and a save can move either five minutes later.** The platform stores the minute field 5 minutes later when it is 0, 15, 30 or 45, a list of only those minutes, a range from minute 0, or a `*/N` step above 5, and the stored schedule is what runs: `? 0 6 ? * *` (6:00) is stored as `? 5 6 ? * *` and starts at 6:05, `? 0,15,30,45 * ? * *` as `? 5,20,35,50 * ? * *`, `? */15 * ? * *` as `? 5-59/15 * ? * *`. Other minute fields are kept as sent, such as `? 5 0,4,8,12,16,20 ? * *` (every four hours at :05) and `? */5 * * * *`. Read `schedule` back after saving, and give the user the stored times.
- **A start during a run is skipped.** A scheduled start that comes while a run is still in progress is skipped, not queued. Never rewrite a working schedule into another format to fix missed runs.
- **Every write checks the schedule**, a disabled flow's included: fix or clear a rejected one -- disabling the flow doesn't get past the error.

### 9. Set the runtime controls

Flow-level and per-step switches that change production behavior. APIs and tools have none of these -- they are flow-only.

| Control | Where | Default | Flip it when |
|---|---|---|---|
| `proceedOnFailure` | per processor | `false` (a failed record stops there) | The step is non-critical and downstream steps still do meaningful work without it (a Slack notification late in the flow shouldn't block the sync). Keep `false` when downstream depends on this step's output. A lookup that finds nothing hasn't failed: the record continues with nothing merged whatever this is set to -- to stop it, make the lookup fail on no match ([configuring-exports > Lookup export vs separate scheduled export](../configuring-exports/SKILL.md#lookup-export-vs-separate-scheduled-export)) |
| `skipRetries` | per page generator (the export has its own, shown as "Do not store retry data") | `false` (failed records keep their retry data and can be retried) | Work is time-sensitive (retrying a stale webhook is meaningless) -- set it on that generator only. It isn't a duplicate fix -- make the write idempotent instead ([configuring-imports > Writing Exactly Once](../configuring-imports/SKILL.md#writing-exactly-once)) |
| `runPageGeneratorsInParallel` | flow | `false` (generators run sequentially) | Sources are independent and can take the load. Careful: parallel generators hitting the same API can blow rate limits that sequential runs respect |
| `autoResolveMatchingTraceKeys` | flow | `true` on every new flow: a new error for a record auto-resolves that record's older open errors on the step, a later success resolves them all, and errors classified `intermittent` retry automatically (up to four attempts, the first about 30 minutes later) | Rarely. Off, every failure of a record stays open until someone resolves it, and intermittent errors get no automatic retry. Repeated trace keys are normal (delta re-emits, retries) and never raise an error -- a `duplicate` classification means the destination already holds the record, so turning this off doesn't fix it |
| `logging.mode` | flow -- only a patch changes it: creates and full updates ignore `logging` | `accountLevel` (the account's logging setting) | Every run of this flow should keep a per-record log without a debug window. `basic` keeps each record's step status and each HTTP call's method, URL and status code (nothing while the account's logging preference is off); `detailed` adds the payloads and needs payload storage on the account and a plan whose `maxLogMode` allows it -- otherwise arm a time-boxed debug window ([troubleshooting-flows](../troubleshooting-flows/SKILL.md#6-end-to-end-debugging-with-execution-logs-silentlogic-bugs-production-incidents)) |

### 10. Configure chaining (if needed)

- `_runNextFlowIds` -- trigger other flows when this one completes. The classic use is multi-stage pipelines: "after the customer-master sync finishes, run the orders sync." When a requirement says "X has to happen, *then* Y", chain two focused flows rather than building one big one. A flow listed here can't be deleted until the reference is removed (422 `dependencies_not_deleted`), and an abstract flow can't be listed
- `_runNextExportIds` -- more granular: trigger specific exports inside other flows instead of the whole flow
- **Set the chain on the upstream flow, and add to its list.** `_runNextFlowIds` lives on the flow that runs first and is a list that may already name other flows: add the new id and keep the entries already there -- writing a one-item list unchains the others. It can't be changed on its own, so it's a full update of the upstream flow
- **What starts the next flow.** A run that completes starts it, even one that completed with record errors; a run that fails or is canceled doesn't
- **Chaining passes no records.** The next flow starts from its own sources. Hand records between flows through a store, and design that store as a ledger, not a queue -- see [configuring-lookup-caches > Deduplication Ledger](../configuring-lookup-caches/SKILL.md#deduplication-ledger)
- **A flow runs one instance at a time.** A run requested while it is queued or running is refused with `409 job...

© celigo · MIT · celigo/ai

Похожие скиллы

Все скиллы по теме «Автоматизация и no-code: n8n, Zapier, Make» →
data-pipeline claude-office-skills Скилл для сборки ETL-конвейеров: извлечение из API и баз, преобразование, загрузка в хранилища и таблицы. Пригодится, когда нужно регулярно сводить данные из нескольких источников. CX Codex +1 4 900установок ETL Pipeline Claude Office Skills Скилл для проектирования и автоматизации ETL-пайплайнов: извлечение из баз и API, трансформации, загрузка в хранилища. Пригодится, когда нужно собрать регулярный поток данных. CX Codex +1 4 800установок building-skills-from-patterns spencerpauly Скилл находит повторяющиеся цепочки действий и оформляет их в файлы SKILL.md. Он пригодится, когда ассистенту приходится трижды объяснять один и тот же рабочий сценарий. CX Codex +1 466установок building-with-ai-agents RefoundAI Скилл учит перейти от ручного кодинга к управлению несколькими ИИ-агентами сразу: постановка задач, параллельные ветки, автоматическое ревью. CX Codex +1 331установок notion-api intellectronica Скилл для взаимодействия с Notion API через REST-запросы. Даёт агенту полный доступ к страницам, базам данных, блокам и комментариям — читать, создавать, обновлять и удалять контент. CX Codex +1 94 900установок shopify-email-flows nexscope-ai Скилл для планирования цепочек писем в Shopify: приветствие, брошенная корзина, письма после покупки, возврат клиента. CX Codex +1 1 100установок

Из того же набора17

building-b2b Помогает агенту собирать B2B/EDI-интеграции в Celigo B2B Manager: онбординг партнёров, профили, файловые определения, мониторинг обмена. CX Codex +1 2 900установок configuring-filters Скилл для настройки фильтров Celigo на экспортах, импортах и ветках flow router. Помогает решить, какие записи идут дальше по пайплайну. CX Codex +1 2 900установок configuring-guardrails Скилл для настройки guardrails в Celigo: проверки PII, модерация контента и оценка записей через ИИ. Пригодится, когда интеграция пропускает чувствительные данные. CX Codex +1 2 900установок building-apis Скилл объясняет агенту, как собрать HTTP-эндпоинт в Celigo: внешняя система шлёт запрос, интеграция обрабатывает его и возвращает структурированный ответ. CX Codex +1 2 900установок writing-sql Пишет SQL-запросы для экспортов и импортов Celigo RDBMS и разбирает ошибки в rdbms.query. Пригодится, когда интеграция читает или пишет в Snowflake, Postgres, MySQL, SQL Server, Oracle, BigQuery или Redshift. CX Codex +1 2 900установок writing-mappings Помогает писать маппинги полей и трансформации в интеграциях Celigo: Mapper 2.0, Transformation 2.0, лукапы и response mapping. CX Codex +1 3 000установок configuring-imports Скилл для настройки импортов Celigo — шага, который записывает записи во внешние системы. Пригодится, когда собираешь интеграцию и нужно выбрать адаптер, настроить лукапы или upsert. CX Codex +1 2 900установок configuring-exports Скилл для настройки экспортов в Celigo: подключение к внешней системе, выбор адаптора, дельта-выгрузки, вебхуки и lookup-шаги. CX Codex +1 3 000установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой