# Create a Microflow

To create a **Microflow**, a user must first create a new application or open an existing application in **AppSpace**.\
Microflows are always created **within the context of an application** and are managed as part of the application components.

***

### Step 1: Create an Application in AppSpace

1. Log in to **AppSpace**
2. Click the **Create New App** button

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2F5zI33YLla1oNyQoBdgbU%2Fimage.png?alt=media&#x26;token=96c1fae8-c688-4400-b741-3fc153237c92" alt=""><figcaption></figcaption></figure>

***

#### Choose Application Type

When creating a new application, select the appropriate platform:

* **Web Application**
* **Mobile Application**

Enter the required application details and proceed.

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2Fb12sJGKkAg5go9Gu4u9F%2Fimage.png?alt=media&#x26;token=107f9539-70d7-4b51-bf6a-0e5a0b64eea7" alt=""><figcaption></figcaption></figure>

***

#### Create and Open the Application

1. Click **Create**
2. The application is created successfully
3. Click the application card to open it

AppSpace redirects the user to the **Application Components** page.

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FtO6ykt96kLLyF9vkfE5T%2Fimage.png?alt=media&#x26;token=4aabcee0-39b3-4537-a431-9c23d3e1ba85" alt=""><figcaption></figcaption></figure>

***

### Step 2: Create a Microflow

From the application home page:

* Click the **Create Flows** icon\
  **or**
* Open the **Component List** screen and click **Add New**

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FxtESMu1Bamxe57E57zd7%2Fimage.png?alt=media&#x26;token=0b9f2126-a065-45ce-a5ae-a0adb19ab1f3" alt=""><figcaption></figcaption></figure>

***

#### Microflow Creation Options

In the **Create Microflow** dialog:

* Enter Microflow details (name, description)
* Choose one of the following options:
  * **Create** – creates an empty Microflow
  * **Start Design** – creates the Microflow and opens the designer immediately

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FeMC2M5NULTLZr75bsZiu%2Fimage.png?alt=media&#x26;token=76f517bb-553d-4740-8653-e21f2144a750" alt=""><figcaption></figcaption></figure>

***

#### Create vs Start Design

* **Create**
  * Microflow is created
  * User is returned to the component list
  * Click the **Edit** icon later to start designing
* **Start Design**
  * Microflow is created
  * User is redirected directly to the **Microflow Designer**

***

### Step 3: Define Business Objects (BO)

If the user is creating a Microflow for the **first time**, the system redirects to the **Define Business Object** page.

Here, users define:

* **Input parameters**
* **Output parameters**

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FEty6BS7KW3YnV6xJdOZH%2Fimage.png?alt=media&#x26;token=fcb57d1a-bf1b-4334-97ea-5db427c2b9e8" alt=""><figcaption></figcaption></figure>

***

#### Add or Reuse Business Objects

Users have two options:

* **Add Existing Business Object**\
  Click the existing BO icon to reuse a predefined BO
* **Create New Business Object**\
  Click the **Add Parameter** icon and enter details

***

#### Add Parameters to Business Objects

After creating a Business Object, users can add individual parameters (fields) as required.

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2F4ARQ0161YKHHlUicVljL%2Fimage.png?alt=media&#x26;token=8e514af1-549e-4183-9baa-0320f5218763" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2F1aFyaYPaLx5ANO0pieov%2Fimage.png?alt=media&#x26;token=9bd5c4a8-73ac-4b16-aaf2-ca90aa6a3f15" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FM9QuBMSPP4HuoUG0WSia%2Fimage.png?alt=media&#x26;token=e5951ae8-105e-4b04-8ecc-9f2d50893518" alt=""><figcaption></figcaption></figure>

***

### Step 4: Design the Microflow

Once Business Objects are defined, the system displays the **Create Flow** page, where:

* The **Flow Diagram** canvas is available
* Users can start adding Activity Nodes
* Integration logic is visually modeled

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FJU169oz3cP2Gir9BWpyx%2Fimage.png?alt=media&#x26;token=29fc0095-5c32-496b-8cf7-2d8f2b5f03d9" alt=""><figcaption></figcaption></figure>

This marks the beginning of **Microflow design and integration development**.

***

### Summary

Creating a Microflow in ONEWEB involves the following steps:

1. Create or open an application in AppSpace
2. Create a new Microflow within the application
3. Define input and output Business Objects
4. Add parameters to Business Objects
5. Start designing the Microflow using the Flow Diagram

This structured process ensures that Microflows are **well‑defined, reusable, and ready for integration**, forming the foundation for building service‑oriented logic in ONEWEB.


---

# 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.onewebstack.com/building-apps/integrations/develop-integration-with-oneweb-microflow/start-with-microflow-in-oneweb/create-a-microflow.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.
