# Using Groups

## **Adding Groups**

You can select multiple nodes, see [instructions](/product-overview/designing-flows/flow-designer-guide/working-with-canvas.md#multi-nodes-selection), then press **G**, use the context menu, or select an action **Group Nodes** from the right panel. A new group will be created.

Collapse the group by clicking on the arrow icon in the header. Open back by clicking on arrows over the left upper group corner.&#x20;

## **Editing and Removing Groups**

**Rename**.&#x20;

In the right panel, select the Transform tab to rename the group and see how many nodes it contains.

**Add new nodes**.&#x20;

Drag the node over the group, the group canvas highlighted in blue, then drop the node, and it will be added to the group.

**Ungroup**.&#x20;

Select "Ungroup" in the context menu. Use it to remove grouping without removing nodes inside.

**Duplicate group**.&#x20;

Select "Duplicate" in the context menu. The group will be duplicated with all the nodes inside.

**Remove group.**&#x20;

Warning! group will be deleted within all the nodes inside it. Select "Delete" from the context menu.

**Change the background color**.&#x20;

Click on the grey circle over the group header and select a new color from the palette.


---

# 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.tomat.ai/product-overview/designing-flows/flow-designer-guide/using-groups.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.
