This documentation is available to agents as Markdown at https://docs.synthesized.io/tdk/latest/user_guide/010_get_started/workflow.md. For the complete documentation index, see llms.txt.

Create a Workflow

A workflow reads from an input data source, transforms the data by masking, subsetting or generating it, and writes the result to an output data source. Every change and every run is recorded, so you can audit it.

Before you start

  • An input and an output data source, both added to the workflow’s project.

  • The output data source is set to Read & write, and its database is one you can overwrite. See Database permissions.

1. Define the workflow

  1. Open the project in the left sidebar and click Create new workflow. If you start from the Home page instead, you choose the project in the Define step.

    Project page with the Create new workflow button
  2. In the Define step, name the workflow and, if you like, add Tags to group and filter workflows later.

  3. Under Select your workflow type, choose where to start:

    Workflow type What it does Use it when

    Create empty workflow

    Starts with a blank configuration

    You write the configuration yourself, or paste one you already have

    Mask sensitive data

    Detects sensitive columns and masks them

    You want the platform to find personal data, such as names and emails, and mask only that

    Mask all data

    Masks every column

    No column may keep its original values

    Generate new data

    Creates synthetic data from the source’s structure

    You need data with no real records in it, or more rows than the source has

    Subsetting isn’t a separate type: you set it in the configuration of any workflow, with target_ratio and filters. See the subsetting guide.

    Define step: workflow name, tags and workflow type
  4. Click Next.

2. Connect the data sources

In the Connect step, choose the Input data source (where the data is read from) and the Output data source (where the result is written). Then click Create workflow.

Only the data sources added to the project are listed, and only Read & write ones can be the output. If the one you need is missing, add it to the project first.

Connect step: input and output data sources

3. Configure the transformation

The workflow starts with a default configuration, based on the type you chose. Two tabs show the same configuration:

Configuration tab Database view tab

Shows

The full configuration, as YAML

The input database’s tables and columns, with the transformer applied to each column

To change it

Edit the YAML using the configuration reference, then save

Pick a table on the left, then click a row to see or change its transformer

  • Configuration

  • Database view

Configuration tab with the workflow’s YAML
Database view tab with the transformer applied to each column

The guides explain the choices for masking, subsetting and generation, and the transformer reference lists every transformer.

4. Run it

Click Run. The platform connects to the input database, reads its model, applies your configuration, and writes the result to the output database.

While it runs you can see each stage and how long it takes. When the run is done, its status is COMPLETED, and you can download a report. If it is FAILED, the run’s log shows the error; see common issues.

5. Review runs and changes

  • The Run history tab lists the workflow’s runs and their status.

  • The Activity logs tab records every change to the workflow: when, what, and by whom.

Activity logs tab of a workflow

Next