---
updatedAt: 2026-11-13T07:40:51.000Z
agentTools:
  projectIndex: https://doc.superannotate.com/llms.txt
---

# 💡 Setup Automation

To set up an automation, you begin by creating a pipeline. This takes you to a canvas where you can lay out your automation flow. You can select from various event triggers, link them to different actions, and even create a chain of actions that are carried out in progression. You can have multiple chains of event triggers and actions in one pipeline.

To route execution based on values in a previous node's output, add a [Conditions](https://doc.superannotate.com/docs/orchestrate-logic#conditions) node to your pipeline.

<HTMLBlock>{`
<video width="100%" playsinline autoplay muted loop controls alt="Monitoring Agent Action">
  <source src="https://public-static-files.superannotate.com/documentation/orchestrate/create-a-pipeline.mp4" type="video/mp4">

  Your browser does not support the video tag.
</video>
`}</HTMLBlock>

To get started, go to the **Orchestrate** page from the left panel.

# Set up a pipeline

There are two ways to set up your pipeline:

* [Create one from scratch](https://doc.superannotate.com/docs/orch-setup-automation#create-a-pipeline-from-scratch)
* [Import a pipeline template](https://doc.superannotate.com/docs/orch-pipeline-templates#importing-a-template)

## Create a pipeline from scratch

1. In **Orchestrate**, click **+ New Pipeline**.
2. In the pop-up, type a name for your pipeline and click **Create**.
3. From the left panel, click and drag a trigger node (**Event**) onto the canvas.
4. From the left panel, click and drag an **Action** or **Agent** that should be triggered by the first node: **Send webhook**, **Send email**, **Custom actions**, or **Models**. You must have at least one [connected model](https://doc.superannotate.com/docs/agent-hub-overview).
5. You can configure each node’s properties in the right panel.
6. Connect two nodes by dragging a line from the border of one node to another.
7. Configure the connections between consecutive actions to only trigger the next node when the current one has either succeeded or failed. By default all connections will work on **Success**. If you want to create a connection that will trigger only if the action or agent fails, you need to click on the connection, then select **Failed** from the right panel dropdown.
8. Once you've configured the pipeline, click **Save**. The pipeline will then be enabled and will wait for the event trigger specified.

[Here](https://doc.superannotate.com/docs/action-payloads), you can view the payload that actions receive when they’re triggered by the previous node’s failure.

<Callout icon="📘" theme="info">
  ### Using custom actions while they are building

  - Custom actions can be added to a pipeline while their execution environment is still being built.
  - If a custom action hasn’t completed its first build, you can still drag it from the left panel onto the canvas.
  - An action whose build is in progress remains selectable and configurable. You can mount a **Secret**, customize its **Event Object**, duplicate the node, and save the pipeline.
  - When you save a pipeline containing one or more of these actions, you’ll be asked to confirm that you want to continue. If the build does not complete successfully, the corresponding node will fail when the pipeline is triggered.
</Callout>

## Import a pipeline template

You can [import a template](https://doc.superannotate.com/docs/orch-pipeline-templates#importing-a-template) from an existing pipeline and configure its resources to suit your needs by following the instructions provided.

# Pipeline editor

The **Pipeline Editor** is where you create trigger-based automations. At its core is the canvas, a central space where you design your automation by dragging events and actions from the left panel and connecting them. Each event and action comes with its own configurations, which can be set up in the right panel by clicking on each card individually.

## Version history

![Version history](https://files.readme.io/ba869fabee227d4d36a2d2af180cbf33de94a993dd1851210b3e4bc384025599-pipeline_version_history.png)

You may access a pipeline’s **Version History**, which allows you to see all the changes made to a pipeline, the users who made those changes, and when. Each version stores a complete snapshot of the pipeline configuration in JSON format. Previous versions are read-only and cannot be restored. The pipeline version JSON contains all general pipeline information, all event and action nodes present on the canvas, the connections between them, and any scopes defined in them.

By default, Version History opens the current version, which represents the last saved state of the pipeline canvas. You can compare it with an older version by selecting one from the left panel. Comparisons can be viewed in **Split** or **Unified** views.

Versions are created when a user:

* Creates a pipeline
* Saves any changes in the pipeline
* Duplicates a pipeline
* Renames a pipeline
* Enables or disables the pipeline

**Version History** may also show a state called **Auto-modified by external changes**. This indicates that the pipeline was updated automatically as a result of changes made outside the pipeline editor, rather than by a user directly editing the pipeline in the editor. For example, if a custom action is deleted from the team, any corresponding node and its connections will be removed from the pipeline canvas, creating an ‘Auto-modified by external changes’ version.

***

<HTMLBlock>{`
<!DOCTYPE html>
<html>
<head>
<style>
.button {
  background-color: transparent;
  border: 2px solid #ff5279;
  padding: 10px 24px;
  text-align: center;
  text-decoration: none !important;
  display: inline-block;
  font-size: 14px;
  margin: 2px 1px;
  transition-duration: 0.4s;
  cursor: pointer;
  width: 100%;
  color: black; /* Ensure default is black */
}

.button:hover {
  background-color: #ff5279;
  color: white !important;
}
</style>
</head>
<body>

<a href="https://doc.superannotate.com/docs/orchestrate-events"
   class="button"
   id="dynamicButton"
   target="_blank"
   rel="noopener noreferrer">
  Events
</a>

<script>
function isColorWhite(rgb) {
  const match = rgb.match(/\d+/g);
  if (!match || match.length < 3) return false;
  const [r, g, b] = match.map(Number);
  const threshold = 240;
  return r >= threshold && g >= threshold && b >= threshold;
}

function setButtonTextColor() {
  const button = document.getElementById("dynamicButton");
  button.style.backgroundColor = "transparent"; // reset background
  const bgColor = window.getComputedStyle(button).backgroundColor;
  button.style.color = isColorWhite(bgColor) ? "black" : "white";
}

// Initial run
setButtonTextColor();

// Re-evaluate after hover
document.getElementById("dynamicButton").addEventListener("mouseleave", setButtonTextColor);

// Optional: for dynamic themes
window.addEventListener("load", setButtonTextColor);
window.addEventListener("resize", setButtonTextColor);
</script>

</body>
</html>
`}</HTMLBlock>

<HTMLBlock>{`
<!DOCTYPE html>
<html>
<head>
<style>
.button {
  background-color: transparent;
  border: 2px solid #ff5279;
  padding: 10px 24px;
  text-align: center;
  text-decoration: none !important;
  display: inline-block;
  font-size: 14px;
  margin: 2px 1px;
  transition-duration: 0.4s;
  cursor: pointer;
  width: 100%;
  color: black; /* Ensure default is black */
}

.button:hover {
  background-color: #ff5279;
  color: white !important;
}
</style>
</head>
<body>

<a href="https://doc.superannotate.com/docs/orchestrate-actions"
   class="button"
   id="dynamicButton"
   target="_blank"
   rel="noopener noreferrer">
  Actions
</a>

<script>
function isColorWhite(rgb) {
  const match = rgb.match(/\d+/g);
  if (!match || match.length < 3) return false;
  const [r, g, b] = match.map(Number);
  const threshold = 240;
  return r >= threshold && g >= threshold && b >= threshold;
}

function setButtonTextColor() {
  const button = document.getElementById("dynamicButton");
  button.style.backgroundColor = "transparent"; // reset background
  const bgColor = window.getComputedStyle(button).backgroundColor;
  button.style.color = isColorWhite(bgColor) ? "black" : "white";
}

// Initial run
setButtonTextColor();

// Re-evaluate after hover
document.getElementById("dynamicButton").addEventListener("mouseleave", setButtonTextColor);

// Optional: for dynamic themes
window.addEventListener("load", setButtonTextColor);
window.addEventListener("resize", setButtonTextColor);
</script>

</body>
</html>
`}</HTMLBlock>

<HTMLBlock>{`
<!DOCTYPE html>
<html>
<head>
<style>
.button {
  background-color: transparent;
  border: 2px solid #ff5279;
  padding: 10px 24px;
  text-align: center;
  text-decoration: none !important;
  display: inline-block;
  font-size: 14px;
  margin: 2px 1px;
  transition-duration: 0.4s;
  cursor: pointer;
  width: 100%;
  color: black; /* Ensure default is black */
}

.button:hover {
  background-color: #ff5279;
  color: white !important;
}
</style>
</head>
<body>

<a href="https://doc.superannotate.com/docs/action-payloads"
   class="button"
   id="dynamicButton"
   target="_blank"
   rel="noopener noreferrer">
  Action payloads
</a>

<script>
function isColorWhite(rgb) {
  const match = rgb.match(/\d+/g);
  if (!match || match.length < 3) return false;
  const [r, g, b] = match.map(Number);
  const threshold = 240;
  return r >= threshold && g >= threshold && b >= threshold;
}

function setButtonTextColor() {
  const button = document.getElementById("dynamicButton");
  button.style.backgroundColor = "transparent"; // reset background
  const bgColor = window.getComputedStyle(button).backgroundColor;
  button.style.color = isColorWhite(bgColor) ? "black" : "white";
}

// Initial run
setButtonTextColor();

// Re-evaluate after hover
document.getElementById("dynamicButton").addEventListener("mouseleave", setButtonTextColor);

// Optional: for dynamic themes
window.addEventListener("load", setButtonTextColor);
window.addEventListener("resize", setButtonTextColor);
</script>

</body>
</html>
`}</HTMLBlock>

<HTMLBlock>{`
<!DOCTYPE html>
<html>
<head>
<style>
.button {
  background-color: transparent;
  border: 2px solid #ff5279;
  padding: 10px 24px;
  text-align: center;
  text-decoration: none !important;
  display: inline-block;
  font-size: 14px;
  margin: 2px 1px;
  transition-duration: 0.4s;
  cursor: pointer;
  width: 100%;
  color: black; /* Ensure default is black */
}

.button:hover {
  background-color: #ff5279;
  color: white !important;
}
</style>
</head>
<body>

<a href="https://doc.superannotate.com/docs/orchestrate-agents"
   class="button"
   id="dynamicButton"
   target="_blank"
   rel="noopener noreferrer">
  Agents
</a>

<script>
function isColorWhite(rgb) {
  const match = rgb.match(/\d+/g);
  if (!match || match.length < 3) return false;
  const [r, g, b] = match.map(Number);
  const threshold = 240;
  return r >= threshold && g >= threshold && b >= threshold;
}

function setButtonTextColor() {
  const button = document.getElementById("dynamicButton");
  button.style.backgroundColor = "transparent"; // reset background
  const bgColor = window.getComputedStyle(button).backgroundColor;
  button.style.color = isColorWhite(bgColor) ? "black" : "white";
}

// Initial run
setButtonTextColor();

// Re-evaluate after hover
document.getElementById("dynamicButton").addEventListener("mouseleave", setButtonTextColor);

// Optional: for dynamic themes
window.addEventListener("load", setButtonTextColor);
window.addEventListener("resize", setButtonTextColor);
</script>

</body>
</html>
`}</HTMLBlock>