# Operate on your records

Operating actions on your table records means that you will be able to change your [table records](/navigation/tables.md) depending on what happens inside the conversation between your user and the chatbot.

{% hint style="danger" %}
Please note that Tables cannot be exported at[ bot export](/navigation/settings/import-export.md) yet.
{% endhint %}

<figure><img src="/files/vmp9ANFJYOIT7l7fXqvr" alt=""><figcaption><p>Table operation inside an NPS flow.</p></figcaption></figure>

{% hint style="success" %}
Looking for a quick and easy bot template to play with Tables? The [Gym bot](https://docs.chatlayer.ai/tutorials/bot-templates/gym) is a representative use case.
{% endhint %}

## Add a Table operation to your flow

To add a Table operation in your flow:

1. Add an **Action** step to your block.
2. Select **Table operation.**

<figure><img src="/files/aPp2wvanktPkfO2tuZqW" alt="" width="375"><figcaption><p>Table operation inside of Action step</p></figcaption></figure>

3. Choose the desired **Table operation** from the options.

<figure><img src="/files/Cl2EVhltbVSKlM3ZKQey" alt="" width="375"><figcaption><p>Choose an operation to perform on your table. </p></figcaption></figure>

4. Depending on the operation that you chose, continue with the dedicated tutorial. There are 4 different kinds of operations that you can make on your table records:
   * [**Insert record**](/navigation/tables/operate-on-your-records/insert-record.md)**: u**se this operation to add new records to your table. It's perfect for the initial population of table data.
   * [**Update record**](/navigation/tables/operate-on-your-records/update-record.md)**: t**his operation allows you to modify existing data within your table. It's useful for keeping your table data current.
   * [**Retrieve record**](/navigation/tables/operate-on-your-records/retrieve-record.md)**: w**hen you need to fetch data from your table, use this operation. It enables you to access and use table data within your flow.
   * [**Delete record**](/navigation/tables/operate-on-your-records/delete-record.md)**: t**his operation should be used with caution, as it allows for the deletion of records from your table based on specific criteria.

***

{% hint style="success" %}
Looking for a quick and easy bot template to play with Tables? The [Gym bot](/start-quickly/bot-templates/gym.md) is a representative use case.
{% endhint %}


---

# 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.chatlayer.ai/navigation/tables/operate-on-your-records.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.
