> ## Documentation Index
> Fetch the complete documentation index at: https://help.treble.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Frequently Asked Questions

> Here are some of the most frequently asked questions and their answers about our Google Sheets integration.

### **How to save a different record for each conversation?**

* Add a column called `treble_session_id`. This allows each conversation to be saved as a separate record.

### **How does information reach the sheet?**

When a customer responds, the sheet automatically updates the column that matches the variable name.

* If the question is **open**, the text written by the user is saved.
* If the question is **closed**, the chosen option is saved.

> 💡 If a column with the same variable name doesn't exist, it won't be updated.

### **What if the contact is not in the sheet?**

If the customer's number **doesn't exist**, it will be added to the **first available empty row**.\
Make sure you always have empty rows at the end of the document.

### **Does it work in inbound conversations?**

Yes. As long as the sheet has the correct format and permissions, it also works for **inbound** incoming messages.

### **How should I write the `country_code`?**

It is accepted with or without the **+** sign:

Example: `+57` or `57`

### **Why is the value not saved in Sheets?**

The most common causes are:

1. **The user exists, but the column doesn't match.**\
   Verify that the column name is exactly the same as the variable.

2. **The user doesn't exist and there's no space.**\
   Google Sheets has an initial limit of **1000 rows**.\
   If you reach the limit, you need to manually add more rows.

> ⚠️ **Important:**\
> The `country_code` and `cellphone` columns must always exist.

### **Inbound variable**

* Don't include the `sheets_` prefix in the name.
* It only works for **incoming text messages**, not for files or media.

### **Final tips**

* Use **short and clear** column names.
* Keep your sheet organized (no empty rows between contacts).
* Verify permissions before testing the integration.
