---
title: "Building Flows"
icon: 'hammer'
description: "Flow consists of two parts, trigger and actions"
---
## Trigger

This is the flow's starting point. It determines the frequency of execution. There are various types of triggers available, such as Schedule Trigger, Webhook Trigger, or Event Trigger based on specific service.

<video src="https://cdn.activepieces.com/videos/docs/triggers.mp4" controls />

## Action

Actions come after the trigger and control what occurs when the flow is activated, like running code or communicating with other services.

Here is an example:

![Actions And Triggers](/images/actions-and-triggers.png "Actions And Triggers")

## Edit steps on the canvas

- **Add a step:** click the **+** between two steps, or inside a loop or a router branch, and pick a piece.
- **Move a step:** drag it onto a **+** where you want it, including one inside a loop or a branch.
- **Right-click a step** to **Duplicate**, **Copy**, **Skip** or **Delete** it, or to **Paste After** it.
- **Copy steps to another flow:** copy them, open the other flow, right-click the step they should follow and choose **Paste After**. The pasted steps keep their settings, and their names end with "Copy". Your browser may ask you to allow clipboard access.

Every change saves on its own. A step with a required field left empty shows **Incomplete**, and **Publish** stays disabled until you fill it in. Click **Complete N steps** above the flow to jump to the first incomplete step.
