> For the complete documentation index, see [llms.txt](https://docs.energyweb.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.energyweb.org/launchpad/ewx-ecosystem-offerings/smartflow/business-logics.md).

# Business Logics

### Business logics Basics

The Business logic is the file capturing the executable work logic that is stored in IPFS.&#x20;

### Creation

The number of Business logics you can create is dependent on your subscription. Make sure to select the right subscription level for your needs.

You can create a Business logic via the Create new menu or under the Business logic option of the Manage menu with the "+ Create New Business logic" button.

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

Under the creation flow, you can either use a template or start from scratch.

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

After choosing a name and description, you will be redirected to a Node-Red editor where you will be building your business logic that offers pre-defined actions. Using a template will mean that you have a pre-built flow that you can edit as needed.

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

Once you are done, you can either publish your Business logic or save it as a draft. Note that only published Business logics count towards your subscription restrictions.

### Management

You can manage your group and open the Node-Red editor at any time under the Manage menu > Business logic.

### Deletion

You can delete Business logics of all statuses at any time.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.energyweb.org/launchpad/ewx-ecosystem-offerings/smartflow/business-logics.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
