# Workflow Builder

A workflow refers to a series of steps or actions that are executed in a specific order to complete a task or achieve a particular goal. Spydra's workflow feature is designed to create a powerful Smart contract to automate work and manual tasks.

The element of workflow include:

* **Triggers**- Events or conditions that initiate the execution of a workflow on changes to a particular asset, token or a scheduled trigger.
* **Workflow Conditions-** Criteria used to determine branching or execution paths within a workflow based on boolean evaluations of variables or inputs.
* **Actions**- Specify the action to be automated for records that meet the set criteria.

Example:

In the below example, the workflow is triggered when an asset called bills is initiated and it updates the insurance asset also as claimed in the same transaction

<figure><img src="/files/zgCN1lbCx7ER9vQz6zTM" alt=""><figcaption></figcaption></figure>

See how to define a [Workflow](/how-to/private-network/workflow.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.spydra.app/products-overview/private-network/workflow-builder.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
