# Error troubleshooting

### **Flow sent multiple messages**

This may happen if multiple flows are triggering simultaneously. To check:

1. Go to the customer chat where the flow triggered twice.
2. Click *"Automation logs"* in the sidebar.
   1. ![](/files/XHjX98t4Sm2VHhBu3k1T)
3. Check if another flow was triggered. If so, pause that flow.
4. If only one flow appears, check if any **Basic Automation** (e.g., greeting message, out-of-hours message) are enabled. Disable any conflicting automation.

***

### **Flow immediately started again after finishing**

This is likely due to the *"Trigger every time"* frequency setting. To adjust:

1. Click the **Trigger** node in the flow.
2. Select one of the following options:
   * *"Trigger once every new conversation"*
     * This means the flow will run again for that specific customer only after the conversation is closed and re-opened again
   * *"Trigger once per contact"*
     * This means the flow will only ever run once for that specific customer, even if the conversation is closed and re-opened again at a later date

***

### **Flow did not run**

Several factors could prevent the flow from running:

* **Trigger Frequency:** If *"Trigger once per contact"* is enabled, the flow will not restart for returning customers. Adjust this in the **Trigger** node and choose:
  * *"Trigger once every new conversation"*
  * *"Trigger every time"*
* **Message Content Condition Issue:** If a **Message Content** condition follows the **Trigger** node, review its operators (*contains, equals, etc.*) to ensure it correctly matches expected messages.
* **Messaging Channel Not Selected:** Open the **Trigger** node and confirm that all relevant channels are selected.
* **Flow is Paused:** Go to the **Flows List** and check if the flow is **Paused** or **Enabled**. If paused, enable it to resume functionality.


---

# 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://help.zaapi.com/flow-builder/error-troubleshooting.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.
