{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":4221,"path":"build-workflows/workflow-studio/getting-started-flow.md","title":"Getting started with flows","bundle":null,"doc_type":null,"release":"australia","body":"\n# Getting started with flows\n\nCreate a sample flow with a trigger and base system actions that requires an approval.\n\nWatch this 3:34-minute video for an introduction to using Workflow Studio.\n\n## Before you begin\n\nRole required: flow\\_designer\n\n## About this task\n\nA flow can include these components:\n\n-   Trigger: An activity that initiates the flow, such as a record created in a specified table or a scheduled job.\n-   Conditions: Statements that determine when or how an action runs. For example, run an action only if a field is over a certain value.\n-   Actions: Operations executed by the system, such as a field value updated, approval requested, or a value logged.\n\nTo understand basic flows, create an expense approval flow. This flow:\n\n1.  Runs when an Expenses record is created.\n2.  Uses the total amount to determine which action to run.\n3.  Approves the request if it is under the specified dollar amount.\n4.  Requires manager approval if it is over a specified dollar amount. Another approver can be manually added.\n\n## Procedure\n\n1.  Navigate to **All** &gt; **Process Automation** &gt; **Workflow studio**.\n\n2.  From the Workflow Studio Homepage, select **New** &gt; **Flow**.\n\n3.  Specify a name, description, and optionally specify additional properties for the flow.\n\n4.  Select **Build flow**.\n\n5.  Select **Add a trigger**.\n\n6.  From the list of triggers, select **Application** &gt; **Service catalog**.\n\n    The flow runs whenever a user requests a service catalog item.\n\n7.  Select **Done**.\n\n8.  Select **Add an Action, Flow logic, or Subflow**.\n\n9.  From Action, select **ServiceNow Core** &gt; **Send Email**.\n\n10. Configure the action.\n\n    1.  **Target Record**: On the Data pane, expand **Trigger - Service Catalog** and drag the **Requested Item Record** data pill.\n\n    2.  **To**: Expand the **Requested Item Record** data pill and drag the Email data pill.\n\n    3.  **Subject**: Add a subject for the email notification\n\n    4.  **Body**: Add the email body.\n\n    5.  Select **Done**.\n\n\n## What to do next\n\nTransform the Ask for Approval action into a reusable action using Workflow Studio. Actions enable flow designers to add complex actions to multiple flows with minimal configuration. See [Getting started with actions](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-studio/getting-started-action.md).\n\n"}}