Skip to content

Importing a Transaction

Importing turns a transaction into a TX shape: a definition of its structure, made of the APIs it calls, in which order, and the schemas of their payloads. From then on, every other transaction of the Profile that is similar enough is linked to the shape automatically. TX shapes are what Telemetry Templates associate with.

Import a transaction

  1. Find a transaction that represents the flow you want to model. The Unshaped Toggle and the DAG Size Slider help you find candidates.
  2. In its TX Shape column, select Import Tx. Hover the button for a reminder of what it does.

    Import Tx button in the TX Shape column

  3. The button shows Importing... while BizMetry builds the shape.

    A transaction being imported

While importing, BizMetry:

  1. builds the shape from the transaction's calls and names it after what the transaction does;
  2. links the other transactions of the Profile that have the same structure and similar enough payloads;
  3. reloads the list and the filters: the linked rows show the new shape instead of Import Tx, and the TX Shape filter offers it.

The outcome

A message at the bottom right reports it:

Message Meaning
Imported as name A new TX shape was created. The message adds how many other transactions were updated.
Already imported as name A shape with this structure already existed, and the transaction is now linked to it.
Not linked: same structure as name, but its payloads differ The transaction has the structure of an existing shape, but its payloads are not similar enough to it. The best match and its score are shown. The transaction stays unlinked.
Import failed: reason Nothing was created. The reason is the one returned by the platform.

The similarity a transaction needs to be linked to a shape is the Tx Shape Similarity Score Threshold in Organization Settings → Preferences → Inference.

After importing

  • The new shape starts Unpublished, at version 1.0. It becomes Published once every API collection it references is published.
  • Hover its name in the table for its status, description and the similarity of each transaction to it. See Reading a transaction's TX shape.
  • Rename or delete it from the table. See Renaming a TX shape and Deleting a TX shape.
  • Manage it, and see its details, in the Profile's Tx Shapes tab, and associate it with template versions from the template's TX Shapes tab.