> For the complete documentation index, see [llms.txt](https://docs.bizmagnets.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bizmagnets.ai/bot-flows/logic/replace-text.md).

# Replace Text

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

<figure><img src="/files/tTNupSvx1XXaMFP6iTml" 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="/files/mfTp5UJ5Xhf51hcgVHJY" 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.
