Skip to content

Commit

Permalink
Update 01. Flows not working - Troubleshoot checklist.md (#129)
Browse files Browse the repository at this point in the history
* Update 01. Flows not working - Troubleshoot checklist.md

Updated with 1 image

* Update 01. Flows not working - Troubleshoot checklist.md

Updated all images- removed 2 images which were irrelevant
  • Loading branch information
KrishnaDwibhashi2 authored Mar 6, 2024
1 parent 6f1e8ca commit 25734e1
Showing 1 changed file with 12 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
> ### **2 minutes read                             &nbsp                             &nbsp                             &nbsp                    `Intermediate`**
### **2 minutes read                                                                                                              `Intermediate`**

---

Expand All @@ -10,36 +10,30 @@
1. **Flow should start with a Send a Message** - Flow should start with a message, so that it gives related message. Starting a flow with `Wait for response` action type will confuse if the flow has started or not.
1. **Ignore Keyword is checked or not? -** Check if `Ignore Keyword` is checked for the flow, which is currently executing for the contact. If Ignore Keyword is checked, then it will not allow to start another flow, if contact type any other keyword.
1. **Flow should be active** - Check if flow is inactive. Click on isActive check box and save to activate the flow.

<img width="491" alt="Screenshot 2024-03-06 at 1 14 28 PM" src="https://github.com/glific/docs/assets/122982753/ba79de26-da01-4154-878a-8d113675fd62"/>

![image](https://user-images.githubusercontent.com/32592458/220824518-d36eef6e-0a58-44fd-8de5-741fa618f1f2.png)

1. **Node** **placement**- There should be only single first node at the top in flow editor. All other node should be below that.
9. **Node** **placement**- There should be only single first node at the top in flow editor. All other node should be below that.

**Correct** **placement**

![image](https://user-images.githubusercontent.com/32592458/220824539-c8b92f3a-9a7d-43a9-9dcc-159a9211bed2.png)
<img width="562" alt="image" src="https://github.com/glific/docs/assets/122982753/50d876b0-b195-44a9-9bf8-f190582a46ba"/>

**Incorrect placement**

![image](https://user-images.githubusercontent.com/32592458/220824560-8cd4831a-9871-46b5-a664-24e8ed4bbdb2.png)
<img width="561" alt="image" src="https://github.com/glific/docs/assets/122982753/82037741-9502-450e-8146-889931816ef4"/>

10 . **Ignore keywords** - Check if contact is already in a flow, which has `ignore keywords`implemented. If contact tries to strat flow with the keyword, in this case, it will not start the flow.

11 . **OptedOut** - check if a contact is not opted out. An easy test is to ask the contact to type optin and send it to the BOT (**Note, Your optin flow should always have optin keyword set to it**). See if it starts working.

Also, make sure, that the default optin message from the Gupshup portal is disabled.

![image](https://user-images.githubusercontent.com/32592458/220824573-79eec9c5-d95c-49f3-9dcc-efd868d475cb.png)

##

![image](https://user-images.githubusercontent.com/32592458/220824585-eb9c0995-2bac-424a-b3be-1d4ab0d3d7f9.png)

12 . **Session Window -** Check if contacts are in the session window, to start a flow with them, if not make sure the flow is started with HSM (with an expected response). The same is true if the flow is started for a collection.

---

## 4. Errors while creating Flow
## Errors while creating Flow : This session will show you a few errors/ warnings you might get on Glific and reason for it.

<img width="925" alt="image5" src="https://user-images.githubusercontent.com/132430123/257415086-012cbfe4-26e6-4409-a0a6-5ffeb4a35c4c.png" />

Expand All @@ -61,18 +55,19 @@ Also, make sure, that the default optin message from the Gupshup portal is disab

9. `Missing translations` - This error appears when translations are not added to all nodes (where at least one node has it). It's crucial to fix this to avoid confusing multilingual messages, and the message points out which node lacks translation.

![image](https://github.com/glific/docs/assets/40158831/e1ba1383-2b6f-4c72-b3cc-0f55ed162c81)
<img width="443" alt="image" src="https://github.com/glific/docs/assets/122982753/b2244890-f01e-4ddd-89ea-fcaab0e5f283"/>

10. `Node Error Warning` - This error shows up if the node following an Interactive message isn't a `Wait for response`. The flow won't move forward for users without allowing them to respond after an Interactive message. Even though Glific automatically adds a `Wait for response` node after the Interactive message, manual removal of this can trigger the error.

![image](https://github.com/glific/docs/assets/40158831/b9cabd16-d3ab-45fc-b9a2-0c5b2581b1f1)
<img width="440" alt="image" src="https://github.com/glific/docs/assets/122982753/36ad6863-e3f5-4c07-a1a3-84863bb83318"/>

11. `Trigger warning` - This warning arises if the flow's first node is a 'Send message' without an HSM template. Without this, messages to users not in the 24-hour session window might fail. Therefore, the first message in a flow should be an HSM message.

![image](https://github.com/glific/docs/assets/40158831/fb38e408-867a-4b92-be3b-9436dd816f8c)
<img width="576" alt="image" src="https://github.com/glific/docs/assets/122982753/ffe050e6-8085-47e1-96e9-7ab15e7ca829"/>

12. `Media Template warning` - This warning indicates selecting a media attachment in an HSM template message but failing to attach an Image URL in the flow.
![image](https://github.com/glific/docs/assets/40158831/932dffc7-f47a-4b39-a8bd-c698bf73f835)

<img width="605" alt="image" src="https://github.com/glific/docs/assets/122982753/1393af27-b069-4d2c-b80f-61cbb6d45b7a"/>

---

Expand Down

0 comments on commit 25734e1

Please sign in to comment.