> ## Documentation Index
> Fetch the complete documentation index at: https://www.activepieces.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Building Flows

> 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](https://mintcdn.com/activepieces/iL5rAezyhfVokrkv/images/actions-and-triggers.png?fit=max\&auto=format\&n=iL5rAezyhfVokrkv\&q=85\&s=afd84918c34ec13e73ac8f938237fedc)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.