> For the complete documentation index, see [llms.txt](https://docs.powerpointgeneratorapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.powerpointgeneratorapi.com/examples/shape/get-shape-by-name.md).

# Get shape by name

To find a given shape's name, follow these steps:

1. Open your template presentation in PowerPoint.
2. In the `Home` tab find `Arrange` and select `Selection Pane`.

{% hint style="warning" %}
PowerPoint does not enforce unique shape names - two shapes on the same slide can share a name. You can manually change the names yourself if needed.
{% endhint %}

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

3. The panel on the right will highlight the name of the shapes. Copy the shape names you wanted to populate and customise.&#x20;

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

Reference: [shapes](/json-template-syntax/shapes.md)

Download: [input.zip](https://drive.google.com/uc?export=download\&id=1prJurJ5B-J3Mfh_rDUMm0ZUrJwwAWTUw) | [output.pptx](https://drive.google.com/uc?export=download\&id=16TVZ1Yf765BuzFB8Ap6VDSYskC-WlLlU)

{% columns %}
{% column width="41.66666666666667%" %}

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

***

<figure><img src="/files/qLKcuwkLIuYVXYJBM1Ym" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column width="58.33333333333333%" %}
{% code lineNumbers="true" %}

```json
{
    "presentation": {
        "template": "template.pptx",
        "slides": [
            {
                "slide_index": 0,
                "shapes": [
                    {
                        "name": "Chart 5",
                        "data": [
                            ["Q1", "Q2", "Q3", "Q4"],
                            ["Product A", "Product B", "Product C", "Product D"],
                            [45, 32, 20, 18],
                            [55, 40, 30, 22],
                            [60, 48, 36, 28],
                            [72, 55, 42, 35]
                        ]
                    }
                ]
            }
        ]
    }
}

```

{% endcode %}
{% endcolumn %}
{% endcolumns %}
