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

# Keep records in sync across multiple bases

> Automatically replicate new or updated records to another base using Cross-Base Access

<Tip>We recommend building automation examples directly in AI chat. Just describe the workflow you want, and AI will handle the full setup for you, including the trigger, actions, script, and configuration.</Tip>

## Build with AI

Open the AI Chat in your table's right sidebar and tell AI what you want. For example, you can say:

*"When a new order is created in the Sales base, create a matching record in the Fulfillment base with the order ID, customer name, amount, and status set to Pending"*

AI will create the complete workflow automatically. You can review the generated script, test it with real data, and enable the workflow when ready.

## Manual setup

1. **Create a workflow** in the **Sales** base with trigger **When Record Created**.
2. Select your **Orders** table.
3. Click **Test**.
4. **Add an action** → **Create Record**.
5. Click **Cross-Base Access** next to the table selector.
6. Navigate to the **Fulfillment** base and select the **Orders** table.
7. Map fields:
   * Order ID → trigger's Order ID (via **+**)
   * Customer → trigger's Customer
   * Amount → trigger's Amount
   * Status → `Pending Fulfillment`
8. Click **Test**, then **enable**.

## Two-Way Sync

To sync updates in both directions:

1. Create a second workflow in the **Fulfillment** base.
2. Use **When Record Updated** → **Update Record** with Cross-Base Access pointing back to the Sales base.
3. Use a filter to avoid infinite loops — e.g. only trigger when specific fields change, and check that the value actually differs before updating.
