You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<td style={{ paddingLeft: '40px' }}><b>Last Updated: December 2025</b></td>
10
+
</tr>
11
+
</table>
12
+
</h4>
13
+
5
14
Glific platform can be used to create polls. Send or scheudule the polls in advance to multiple groups.
6
15
7
16
### Pre-requisites
@@ -24,24 +33,40 @@ Glific platform can be used to create polls. Send or scheudule the polls in adva
24
33
25
34
### Create a flow to send the poll
26
35
1. Create a new flow
27
-
2. Use `Call a webhook` node. Select `Function` from the dropdown and type the following function name to send the poll `send_wa_group_poll`
36
+
2. Add a `call a webhook` node.
37
+
38
+
- By default, `FUNCTION` would be selected. Leave this as it is.
39
+
40
+
<imgwidth="446"height="372"alt="Screenshot 2025-12-03 at 12 45 20 PM"src="https://github.com/user-attachments/assets/7e55f3ac-0bf3-4634-8084-92ac9caa2001" />
41
+
42
+
- In the `FUNCTION` field, select the pre-defined function `send_wa_group_poll` from the dropdown and give the result name.
43
+
44
+
<imgwidth="586"height="487"alt="Screenshot 2025-12-03 at 12 46 01 PM"src="https://github.com/user-attachments/assets/ccf0745b-bdf1-4f62-8cf4-4e889c94cd98" />
28
45
29
-
<imgwidth="711"alt="Screenshot 2025-02-14 at 2 49 58 PM"src="https://github.com/user-attachments/assets/67334573-d4b4-456d-8f27-50249e6126a0" />
46
+
<imgwidth="632"height="529"alt="Screenshot 2025-12-03 at 12 46 54 PM"src="https://github.com/user-attachments/assets/39dd1da6-6d1d-4ab5-ab1f-eacd2e368e91" />
47
+
48
+
3. Add the parameters in the FUNCTION Body.
49
+
50
+
- Go to `FUNCTION Body` on top right corner. You would see the following.
51
+
52
+
<imgwidth="629"height="449"alt="Screenshot 2025-12-03 at 12 48 56 PM"src="https://github.com/user-attachments/assets/cb5dd8a6-fa4c-4e11-8c5f-7952baceb021" />
53
+
54
+
- Pass the following parameters.
30
55
31
-
Go to Function `FUNCTION body` and pass the following parameters
32
56
`{
33
57
"wa_group": "@wa_group",
34
58
"poll_uuid": ""
35
59
}`
60
+
36
61
<imgwidth="703"alt="Screenshot 2025-02-14 at 2 50 43 PM"src="https://github.com/user-attachments/assets/1972b5da-1e94-489d-af94-d3d53e2b0b02" />
37
62
38
-
- “poll_uuid”: "" from the polls list paging by selecting on `Copy UUID`.
39
-
- “wa_group”: “@wa_group” will remain as is.
63
+
-`“poll_uuid”: ""` from the polls list paging by selecting on `Copy UUID`.
64
+
-`“wa_group”: “@wa_group”` will remain as is.
40
65
41
-
3. This completes the flow
66
+
4. This completes the flow
42
67
<imgwidth="850"alt="Screenshot 2025-02-14 at 4 08 36 PM"src="https://github.com/user-attachments/assets/717abce9-faf1-496e-b051-d2831fd4fa7f" />
43
68
44
-
**4. Please note: No further `send message node` is needed to send the poll to WhatsApp group. The webhook success response sends the poll with the given poll uuid to the groups.**
69
+
**5. Please note: No further `send message node` is needed to send the poll to WhatsApp group. The webhook success response sends the poll with the given poll uuid to the groups.**
45
70
46
71
Here is a [SAMPLE FLOW](https://drive.google.com/file/d/13CyRD8Gmq0J1J_lICrwIq55TBbwHND90/view?usp=sharing). To use this flow, go to the link, download the csv, and upload this flow using `import a flow` in your Glific instance. Change the `poll_uuid` in the webhook function body to match the `poll_uuid` of the poll you have created in your Glific instace.
0 commit comments