# Replace Text

This can be helpful for correcting information, updating details, or dynamically adjusting the message based on new data.

<figure><img src="https://789614814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvCr7uCTpZRGEF8A48OOJ%2Fuploads%2F4bpVrXhQLvs53qDeE62w%2FScreenshot%202025-09-18%20160323.png?alt=media&#x26;token=1df36ca0-dd7c-41d5-812d-35a0d903790b" alt=""><figcaption></figcaption></figure>

## **How it Works**

1. **Identify the Message**: Locate the message or card that needs to be updated, typically by referencing the unique message ID or conversation context.
2. **Replace the Text**: Use the API to send a request to update the content. The new text will replace the existing message content while keeping the rest of the conversation flow intact.
3. **Dynamic Updates**: This is particularly useful for real-time updates, such as changing order status, modifying appointment times, or correcting any errors in the previously sent message.

<figure><img src="https://789614814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvCr7uCTpZRGEF8A48OOJ%2Fuploads%2Fnfygy00DlRECJpWEerqF%2FScreenshot%202024-10-11%20135315.png?alt=media&#x26;token=0828524f-6c83-4552-9d84-7e5d02990cd1" alt=""><figcaption></figcaption></figure>

## **Benefits**

* **Improves Accuracy**: Allows for quick corrections or updates to messages without interrupting the conversation flow.
* **Enhances Customer Experience**: By providing real-time updates, you can ensure customers receive the most up-to-date and accurate information.
* **Streamlines Communication**: Enables dynamic adjustments to messages without needing to start a new conversation or thread.

This feature helps maintain a seamless interaction while keeping the content accurate and relevant.
