> For the complete documentation index, see [llms.txt](https://sdk.logicdialog.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sdk.logicdialog.ai/reference/api-reference/blockpointer.md).

# BlockPointer

Using a BlockPointer you can route the conversation to different blocks, potentially to handle different questions or continue the next steps.

A `BlockPointer` points to an already existing Block using the Block Id, found in logicdialog.

Where possible this method should be used as it allows for block content to be edited easily without having to deploy changes to your code.

A block pointer is a simple object containing the ID of the block you wish to link to. In the example below, the ID of this block would be `5c62ead3ab358c3780bb60dc`.

<figure><img src="https://2453815736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3BzqkshDBchwzINvKSRB%2Fuploads%2FTegaSmjoBpvx7gPWQUnU%2FScreenshot%202023-02-16%20at%2011.02.46.png?alt=media&amp;token=4cd7d082-4ee7-416d-bfb4-2a13d12ef498" alt=""><figcaption></figcaption></figure>

To use a `BlockPointer`, the `pushBlockPointer` function in the `ResponseBuilder` is used, with a `BlockPointer` object, containing the id of a block. This block can be a basic block, or a function block.

{% tabs %}
{% tab title="Adding a BlockPointer" %}

```javascript
responseBuilder.pushBlockPointer({
  id: "60db2d02d19a13bc109c5bd4"
});
```

{% endtab %}
{% endtabs %}

For further reference on the `ResponseBuilder`, please see the API page.&#x20;

{% content-ref url="/pages/IlDf1AffmDN9Kzb09GRw" %}
[ResponseBuilder](/reference/api-reference/responsebuilder.md)
{% endcontent-ref %}
